Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ceronman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
ceronman
7y ago
As a Java developer I'm really looking forward for Project Loom. I think it's a great approach that avoids the pitfalls of the two-colored functions approach. However, Project Loom doesn't fit into the "zero cost abstrac
92.
▲
Dart can now produce self-contained, native executables
(reddit.com)
18 points
by
ceronman
7y ago
|
2 comments
93.
▲
by
ceronman
7y ago
Not for me. Got a 4K thinkpad and text does look quite bad. On Windows UI, on Chrome, everywhere.
94.
▲
by
ceronman
7y ago
In Python's standard library there is the unittest.mock module [1] which allows you to patch functions and methods. For example: with patch('requests.get', fake.get): definition = find_definition('testword&
95.
▲
by
ceronman
7y ago
Use C. Standardized since the 80s, it has had only minor, backwards compatible revisions in 99 and 11. According to the TIOBE index, it's the second most popular language in the world. It works on almost any platform imaginable and it
96.
▲
by
ceronman
7y ago
I recently tried Firefox again and I liked a lot. Only drawback for me at the moment is the lack of hardware video decoding on Linux. I hope it arrives soon.
97.
▲
by
ceronman
7y ago
I'm writing this from my recently bought Thinkpad X1C7 after moving from a 2015 MPB. Here are some notes about my experience so far: The hardware is fantastic. Build quality is great, the keyboard is great, the screen is great, the sel
98.
▲
by
ceronman
7y ago
For a mono-repo setup I find Bazel much better than those two. If you have few hundred projects or more, Maven is a pretty bad choice. Gradle is slightly better, but still much slower than Bazel. But it's not just speed, Bazel does do
99.
▲
by
ceronman
7y ago
I've worked with both and while Bazel definetely has a learning curve, mostly because is very different than Maven and Gradle, I actually find it considerably simpler than those two. Maven dependency management is really complex, and I
100.
▲
by
ceronman
7y ago
From a functional perspective, this of course doesn't make any sense. But from an imperative perspective it does. A common use for closures in imperative languages is to have custom control structures similar to `if`, `for`, `while`, e
101.
▲
by
ceronman
7y ago
"70% of all Microsoft patches are for memory-related bugs". This says a lot. I'm sure Microsoft has very smart and competent engineers, yet they still get all these bugs. It's because manual memory management is really,
102.
▲
by
ceronman
7y ago
I've been trying to find out which countries are eligible to receive payments, but I haven't found any information. Most likely I expect this to be like Kickstarter where basically only developers living in certain developed count
103.
▲
Remote Python Development in Visual Studio Code
(code.visualstudio.com)
2 points
by
ceronman
7y ago
|
0 comments
104.
▲
by
ceronman
7y ago
My point was about the the fact that by declaring your dependencies explicitly, Bazel allows you to compile only the things you depend on, not everything in the monorepo. And once you have built your dependencies once, you don't have t
105.
▲
by
ceronman
7y ago
There is available tooling to help you with that, not only has to be discipline. A monorepo oriented build tool such as Bazel will make sure that you don't compile more than needed. This is extremely efficient. In fact, in my company w
106.
▲
by
ceronman
7y ago
I also struggle with this. The best advice I've found is a 9 years old blog post by Derek Yu [1]: "Treat finishing things as a skill rather than a step in the process". We all have different skills, we can be good at programm
107.
▲
Why Operators Are Useful
(neopythonic.blogspot.com)
2 points
by
ceronman
8y ago
|
0 comments
108.
▲
by
ceronman
8y ago
That's interesting. In my experience, one of the major advantages of a monorepo is precisely CI. In fact, only after we tried a Monorepo we finally experienced true CI. An example to illustrate this: You have a library X that depends o
109.
▲
by
ceronman
8y ago
> - developers that don't think specifying types is helpful are still early in their careers (those who suffered in the dungeons of Java get some slack) Developers who believe specifying types doesn't have any drawbacks are sti
110.
▲
by
ceronman
8y ago
> "extensive" unit testing is a poor man's type checker Wow! No! If this is what you feel, you might have been doing unit testing wrong the whole time! Unit testing is a powerful technique that is useful regardless of your
111.
▲
by
ceronman
8y ago
I love how Reagent works and I do think it makes interactive applications simpler and easier to reason about. That said, I think FP still has one disadvantage which is performance. This is because the underlying computer is 100% imperative
112.
▲
by
ceronman
8y ago
I work at a large organization (2000+ devs). We have used both a Monorepo and Polyrepo. After some extensive experience with both models my conclusion is that the Monorepo is by far a superior model, specially for a large organization. Of c
113.
▲
by
ceronman
8y ago
A star pattern still has most of the downsides of the multirepo approach. Specifically, it has the problem of needing a parallel version control (e.g. SemVer) on top of your individual repositories. This creates fragmentation, where differe
114.
▲
by
ceronman
8y ago
It's actually the other way around. The cost of dealing with all the downsides multiple version control systems is way higher than investing in tooling for the Mono-Repo. This is mentioned in articles by Facebook and Google.
115.
▲
by
ceronman
8y ago
"There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup
116.
▲
by
ceronman
8y ago
To better understand why this project is trying to re-implement the compiler frontend, I really recommend this video from Anders Hejlsberg (creator of C# and TypeScript) explaining how modern compiler construction oriented towards IDE works
117.
▲
Ask HN: Do you use terminal based GUI applications?
1 points
by
ceronman
8y ago
|
2 comments
118.
▲
by
ceronman
8y ago
This is the same principle of the Clean Architecture. I like how Brandon Rhodes explain how to apply it in Python: https://www.youtube.com/watch?v=DJtef410XaM
119.
▲
Design a new better C API for Python
(pythoncapi.readthedocs.io)
1 points
by
ceronman
8y ago
|
0 comments
120.
▲
by
ceronman
8y ago
I don't know if the author is experienced or not. But something I do know, is that the more experience I get, the more I fear dependencies and the more I value simplicity. HN is a simple website. I'm glad that they decided to keep
More ›