Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
331.
▲
by
krab
6y ago
I worked on a codebase in Django that started in > 5s (after removing all side effects and moving optional stuff to be lazily loaded). Incremental reload would be useful, for sure. Even with times in the range of multiple seconds, the re
332.
▲
by
krab
6y ago
If you're careful global state is useful. It provides a sort of tele-interface - tunneling a value from the top level scope to the bottom where it is used. Imagine a larger CLI application. You get all of the command line flags at once
333.
▲
by
krab
6y ago
Gladly, if it doesn't influence latency much and it is presented intelligently in terms of my high level code.
334.
▲
by
krab
6y ago
Time flies. Python is almost 30 years old now.
335.
▲
by
krab
6y ago
I was looking for a modern "Frontpage-like" editor last year. I wanted something that runs locally, doesn't require a subscription and produces files I can convert to HTML templates for server side rendering. I bought Pinegro
336.
▲
by
krab
6y ago
I think that's what we see with a variety of JVM languages and to some extent with LLVM.
337.
▲
by
krab
6y ago
That's why I prefer renting servers. The company manages networking gear, guarantees having spare parts and someone on call to replace things. If your requirements aren't too exotic, you can get the server in place in a day. Compa
338.
▲
by
krab
6y ago
Python. The performance lacks somewhat and the debugging tools are not as mature as JVM's. But the libraries, frameworks, and overall development productivity are great.
339.
▲
by
krab
6y ago
In my experience, it is usually passed to the client with some training. Often, the client wants to order the servers and any saas by himself, you only specify what to order or you get an account within their cloud provider.
340.
▲
by
krab
6y ago
Transactions and rollback is the dry run. The problem is that if you keep the transaction open for too long, you will block other updates to the same data.
341.
▲
by
krab
6y ago
The distillation is powered completely by the solar heat. You can also use quite low tech transportation because you do it only once in a while.
342.
▲
by
krab
6y ago
The if-then predictor is called an expert system and it is a kind of model. Combining multiple models is called ensemble model. Here, this is how the idea can sound smart, not like cheating. ;-) On a more serious note - as always, it depend
343.
▲
by
krab
6y ago
Iptables magic is essential to how a lot of container networking stuff is implemented, though.
344.
▲
by
krab
6y ago
Think about a machine in a factory. You have to maintain it and it doesn't generate revenue by itself. It generates the product you then have to sell. The machine is still an asset.
345.
▲
by
krab
6y ago
I saw a wrapper around these buttons that loads them grayed out (just placeholder images). Only when you interact with them, they are actually loaded. This way, only the users who actually want to use the buttons are tracked.
346.
▲
by
krab
6y ago
Why would you remove concrete and masonry every 20 years? I don't have much experience with wooden houses, so I don't know if it's the case there. But in brick houses renovation often means fixing what's broken and addin
347.
▲
by
krab
6y ago
Nice. Does it also have the mostly autogenerated admin component? Django has a set of views where you can manage users and their permissions, plus any data of yours. You mostly just specify what classes and what fields are visible in the ad
348.
▲
by
krab
6y ago
It seems so: > we instead use sound to replicate a fence line with a pulse used during the initial training period to help a cow understand the meaning of sound
349.
▲
by
krab
6y ago
> Nobody has ever needed to rollback. I did a rollback several times, but not a DB schema rollback. The potential to lose data is too big. I try to write code and migrations that support rolling back at least one deployment without rolli
350.
▲
by
krab
6y ago
No GUI but the migrations are created automatically once you define the models. Have a look at http://forestadmin.com . It's a fully GUI admin component. I found it when looking for Django alternatives when developing in Jav
351.
▲
by
krab
6y ago
See my sibling comment about Django. You can spend a day to build this. And maybe a few hours later for small fixes for corner cases found in production. And then explain to your colleagues. Or you can spend a few hours to learn a tool that
352.
▲
by
krab
6y ago
I realized only a while ago how very powerful Django is - when I was choosing technology for a new client's project. Just for context - over the last 13 years, I developed professionally in PHP, Java, Scala and Python, together with so
353.
▲
by
krab
6y ago
Scala seems quite close. It has a lot of features. But it's flexible enough that it doesn't "hurt" as much as writing production code in Haskell.
354.
▲
by
krab
6y ago
In practice, it doesn't matter. Your share would be so tiny that voting with your wallet is equivalent. After all, people usually renew their phones every few years.
355.
▲
Announcing the HashiCorp Linux Repository
(hashicorp.com)
1 points
by
krab
6y ago
|
0 comments
356.
▲
by
krab
6y ago
Post-commit review worked quite well when I worked on a product with quarterly release cycle. The master had to stay green (or blue, actually) and all commits should have been reviewed before release. Each feature had its own short lived br
357.
▲
by
krab
6y ago
Oh, thanks for it. On my computer, I usually commit using `git gui` (and CLI for everything else). Mostly because I can see the full changes I'm commiting. Now, I can do it with vim for the occasional commit from some server.
358.
▲
by
krab
6y ago
> in both 1 & 2, I only see money pits... This sounds like so much overhead... That's the point. The overhead is high but the other options to employ extra developers bring even more overhead. And the company wants extra develop
359.
▲
by
krab
6y ago
> you're not going to "solve" the problem by fixing all the broken power seats you test; you're going to go figure out where in your manufacturing process/supply chain things are going wrong I think the point is
360.
▲
by
krab
6y ago
What I liked the most was when a GUI would emit the CLI commands for my actions. It breaks the discoverability barrier significantly. You learn in the GUI but you can switch gradually to the CLI with aliases, functions and loops.
More ›