News for hackers. Stuff that matters.

neovintage

Re:Pros and Cons of Solo Development on Monday July 06, 2026 @02:58PM (#48808968)
I feel like your con about not making the right design choices isn't a con. Solo development doesn't mean throwing out the principles that help you learn. Prototyping and beta releases exist to validate design choices without needing a team to debate them. If your software has users they become the sounding board. You mentioned only asking your friends about your ideas. The best part about prototypes and betas is that you get to build something, use it, and see if you like it before committing. If the idea doesn't get traction, throw it away!
“Data Downtime” is very real and can have terrible impacts on understanding what’s happening to customers or your business. I like that this series is taking the simple approach of using SQL to help identify the problems. (Its also a good lesson on window functions) Run these queries on some kind of schedule and you’ve got a decent solution to monitor the situation. Granted there’s different levels of sophistication to monitor these problems with better tools as your data volumes grow. The bigger problem beyond downtime is how to recover from these situations. I’ve seen many databases architected in ways where you can’t recover said downtime. That’s where change data capture could really help but I think that’s beyond the scope of this series.
I'm sorry code search isn't working. I'm more than happy to help. If you reach out to me via my email I can see whats up. neovintage [at] github [dot] com.
Re:Apache Arrow 3.0 on Wednesday February 03, 2021 @03:26PM (#26018661)
The premise around arrow is that when you want share data with another system, or even on the same machine between processes, most of the compute time spent is in serializing and deserializing data. Arrow removes that step by defining a common columnar format that can be used in many different programming languages. Theres more to arrow than just the file format that makes working with data even easier like better over the wire transfers (arrow flight). How this would manifest for your customers using your applications? They'd like see speeds increase. Arrow makes a lot of sense when working with lots of data in analytical or data science use cases.
Re:Changes to Code Search Indexing on Thursday December 17, 2020 @02:43PM (#25459489)
Hey everyone. I had a lot of folks reach out to me about this change. We've heard y'all loud and clear that you want a better code search. The goal of this change was to balance performance and search relevance while we work on a new code search backend. The vast majority of folks shouldn't notice a change in their search results. The folks that will are those that are using code search to count things across all the repositories in GitHub. That's a use case that we don't expressly support as part of code search but we know folks are doing it anyway. My goal for publishing this was to be open about the change and for those folks that are using code search for analytics not have to guess at what happened.
Re:Changes to Code Search Indexing on Thursday December 17, 2020 @02:11PM (#25459097)
I apologize the changelog wasn't more clear. For repos like that, they continue to show up in search results. Every time they do, that resets the clock on when the repo ages out of the index. We tried to strike a balance between performance and having _all_ the code in the index.
Re:GitHub is experimenting with personal READMEs on Thursday May 28, 2020 @04:56PM (#23342492)
Agree with the improvement on code search results. Our team is working on it!
Re:An update on Redis Streams development on Thursday January 25, 2018 @03:24PM (#16234285)
I believe Redis has a great developer experience. It’s easy to get set up and use. When I see the work on Redis streams, I think its going bring a much better getting started experience for developers that want to start using evented architectures. This might be a turning point where we see more developers and applications utilizing those types of architectures. In the end, this might give Apache Kafka a run for its money, or not, who knows. I've tried using Apache Kafka and it can be a bear to set up given its dependencies and to administer.

Put another way, I think Kafka solved a problem for enterprises and was a tops down approach to the problem. Redis streams is a bottoms up approach to implementing evented architectures. Maybe there's room for both products in the market?

Re:DynamoDB to Postgres: Why and How on Wednesday June 21, 2017 @01:51PM (#14606200)
The really important part of this post is the section articulating why not Dynamo. It uncovers a big question I ask of all of my customers when they're trying to choose data stores at any point during the life of their application.

Do you know your query patterns for your application?

If you know how your application / product need to pull data from the data store, you way more information that will allow you to pick the right data store to fit the problem at hand.

When you don't have any prior query patterns to go off of, picking a relational database to start your application is a good choice. You need the flexibility to allow your schema to change over time. The schema and query patterns will eventually reach a point where changes don't happen all that often and then you can look to other datastores if you need to scale. Plus, are you really going to have THAT much data when you start?

Disclosure: I work on Heroku Postgres. Could be a little biased....

Re:Stripe Sigma on Thursday June 01, 2017 @04:15PM (#14464108)
Interesting offering. I wonder who they're targeting with this and the problem they're trying to solve.

* Is the expectation that everyone can write SQL?

* If the customer can write SQL and they're sufficiently large, won't they export the data into their own in-house data architectures to use the tools and processes they already have?

* Is data exporting that hard from stripe that they decided to offer a query tool instead?

I'm thinking they're going after the lower end of the customer base, the customers that may have medium to small transaction volumes. Plus those customers might not yet have any data warehousing to speak of.

If I was BareMetrics, I would be especially concerned because it will be a matter of time before Stripe has their own compelling offer that does almost everything it does and more. There have been other examples of building businesses around other companies APIs (granted theres always exceptions to the rule but I want to point out its a huge risk):

https://news.ycombinator.com/item?id=9512441

https://techcrunch.com/2012/10/14/why-you-shouldnt-build-a-b...

Thanks for the feedback! I'll see if we can get that in the guide.
I would recommend that you check out the Heroku CLI Style Guide: https://devcenter.heroku.com/articles/cli-style-guide

There are many different teams within Heroku that need to provide interactions for developers via CLI whether its for dynos or data services. The guide was a way to codify building a consistent interaction that all product managers and engineers could follow. Disclaimer: I work for heroku.

Re:Amazon Planning a Microsoft Office Killer on Monday April 03, 2017 @11:13AM (#14023331)
Anything proclaiming its going to "kill" some other business, likely isn't.

Google Docs is a great example of solving a problem that carved out a subsegment of Microsoft Office user base. I don't think any one solution is going to be the all encompassing one like Office has been.

Re:From Ruby to Crystal: A Quick Look on Friday March 24, 2017 @12:15PM (#13949931)
Outside of speed benefits as compared to ruby, one of the main things going for crystal is it's ability to use all of the robust tooling that already exists. This post mentions it in passing but Crystal gets the benefit of all the existing tooling without having to build it as part of delivering the language to developers. I think that's a huge win. I also think this is one reason why Crystal has grown fairly quickly. This could largely but due to the fact that it's built upon LLVM. Regardless, the community and documentation is pretty awesome. I can't wait to see what happens for the 1.0 release.
Re:Building a Command-Line Application with Crystal on Thursday March 23, 2017 @11:15PM (#13946320)
I've spent a number of years using ruby and I got super excited about the potential of Crystal about a year ago. The notion that I can use a Ruby-like syntax and ship a binary to deploy my web apps was killer. But, a year ago the language was a bit rough, and to some extent, it still is. The team behind it is open about their goals and it blows me away with how much changes on a daily basis for a team of their size. Hopefully, the crystal team can set out to complete what they set their sights on for 2017[1]. That would really round out the feature set for a 1.0 release.

I think what I like the most is the community is willing to help you out. Although, nowadays a strong community is what makes or breaks a language.

[1] https://crystal-lang.org/2016/12/29/crystal-new-year-resolut...

I would start with the Mode Analytics SQL tutorial. It's fairly robust and gets into advanced topics: https://community.modeanalytics.com/sql/tutorial/introductio...

That will get you pretty far but the advanced SQL topics will require the study of what the underlying database provides and how it works. Every database is different in terms of how it implements advanced features, if at all. For example, MySQL doesn't have window functions. For postgres related topics, the documentation is excellent, postgresguide.com gives a high level overview, or you can follow craig's blog (http://www.craigkerstiens.com/) that provides a gentle introduction to many of these topics as well.

Re:SWAPDB Redis command on Friday October 14, 2016 @11:39AM (#12708797)
Interesting. I can think of a number of scenarios where this makes sense if you're using Redis for caching and you don't have a proxy in your architecture.

Does redis cluster only support one database? If that's still the case, then this is probably not available for the larger redis deployments.

Re:Redis 3.2.0 is out on Friday May 06, 2016 @02:46PM (#11645868)
Redis has a great developer experience. It's super easy to spin up and to add to applications. There have been a few warts though when it comes to operational experience in production. I really miss things like administrative connections and tls for client connections that I get in the relational db world. Also, using redis in highly regulated environments is challenging because you have to meet all sorts of compliance requirements. As a result, I find myself jumping through a ton of hoops to get redis to work there. It'd be great if it "just worked" in that arena.

Older »