Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lgunsch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
lgunsch
10y ago
Interesting link! I type Colemak and pretty much gave up on Vim after trying to remap so many keys. This project didn't exist back when I gave up on learning Vim.
122.
▲
by
lgunsch
10y ago
Similar for me too, I got tedonitis. I immediately switched to Colemak, fixed my hand posture, and I've been great ever since. As a side effect, I can type significantly faster too.
123.
▲
by
lgunsch
10y ago
I have heard reports of people being able to know both layouts. There is a section in the Colemak website regarding it. Although, you will have to re-learn qwerty after you learn another layout.
124.
▲
by
lgunsch
10y ago
I gives a name and expected properties to common data structures, or unspoken unnamed types. Many times when a dict is used, it's expected to have certain attributes, and may have expected ways of interacting with those attributes. Nam
125.
▲
by
lgunsch
10y ago
i3 window manager - it has a fantastic optimized workflow that I love. I also pair it with a nice mechanical keyboard that has Cherry MX blue switches. Arch Linux - I don't have to re-install or distro-upgrade my laptop every 6 months,
126.
▲
by
lgunsch
10y ago
> TDD is a process where you write empty shims for your code and tests for it first, failing because there is no implementation, and then you write your code that passes the tests. This is not how TDD works, and I can definitely see how
127.
▲
by
lgunsch
10y ago
I came here to say exactly this. Those two benefits far outweigh state corruption. The law of Demeter is a good guide to a better API, which ends up being more effective.
128.
▲
by
lgunsch
10y ago
Been to a few nieghborhoods in Calgary like that, I can definitely confirm.
129.
▲
by
lgunsch
10y ago
When you get/send mail the NW is implied if you leave it off, although there are small brand new nieghborhoods in the SW quadrant now that the city is running out of room.
130.
▲
by
lgunsch
10y ago
I live in Edmonton, AB, and it somewhat follows a grid system. Although, a bunch of newer nieghborhoods have not continued to follow it. The roads all have numbers in a predictable pattern. This is very helpful for navigation, as just givin
131.
▲
by
lgunsch
10y ago
The new Lifeguard feature looks really neat. False monitoring alarms are a big issue. If they happen a lot you begin to not trust a real alarm and ignore them - the boy who cried wolf as the cliche goes.
132.
▲
by
lgunsch
10y ago
Yes, I have definitely experienced this. At the company I work at we have dozens of super tiny services that could have been replaced with a single class, or module in a code-base. Each of the dozens of microservices gets it's very own
133.
▲
by
lgunsch
10y ago
I'm curious what makes you think that. At the end his bio says he has 12 years of experience, and from his blog seems to know a thing or two.
134.
▲
by
lgunsch
10y ago
Why would you not be able to scale a monolith? You can apply the same principles to it: "[Stick] a load balancer in front of a micro service and scaling based on measured load"? A microservices allows you to scale up very particu
135.
▲
by
lgunsch
10y ago
Kent Beck talks about Triangulation in Test Driven Development by Example as just a tool to break out when you are stuck. He doesn't recommend it for every situation, but recommends it when you hit a road-block and need to back off and
136.
▲
by
lgunsch
10y ago
TDD is designed for exactly the opposite. If you have a really good understanding of problem and solution from experience, then just go ahead and do it. Kent Beck talks about this in his book "Test Driven Development by Example".
137.
▲
by
lgunsch
10y ago
I have totally experienced this. I've done TDD nearly exclusively for 4 years now, and I've learned a lot of bad patterns, and a lot of good patterns. Now, if I ever just play around without tests, I find myself using the same pat
138.
▲
by
lgunsch
10y ago
I find that code that uses dictionaries a lot ends up with mysterious unnamed types used in various places throughout the system disguised as dictionaries. They have required fields, and must interacted with using business logic that is not
139.
▲
by
lgunsch
10y ago
Aside from using TDD for years, a few incredibly helpful tips I remember daily out of the book titled Test Driven Development: By Example , by Kent Beck: Test lists - plan out a feature/system by listing out its tests. I do this in th
140.
▲
by
lgunsch
10y ago
Until you can load up Go code on a microcontroller, or build an OS kernel in it, it is not going to replace C in many circles. Go is also garbage collected, which rules it out for being low by some definitions of "low level". Low
141.
▲
by
lgunsch
10y ago
Okay, I just discovered all jokes are bad on HN. It would have been nice to discover that sooner.
142.
▲
by
lgunsch
10y ago
Why is a straightforward joke being down voted? Obviously I'm not really saying to not use any other languages. The wiki page on Brainfuck even says itself "is not intended for practical use, but to challenge and amuse programmers
143.
▲
by
lgunsch
10y ago
Everyone else can now go and put away their toy languages!
144.
▲
by
lgunsch
10y ago
I would agree with that definition has become the new interpretation of "best practices". However, in my 5 year career I have seen the majority of solutions under-engineered. That is much more of an issue these days than over-engi
145.
▲
by
lgunsch
10y ago
100% agree! I always try and remember the Single-Responsibility-Principle.
146.
▲
by
lgunsch
10y ago
I written python for the last 4 years, and I've never had typo problems of that nature. I find the plural form to be so idiomatic it is expected and easier to understand.
147.
▲
by
lgunsch
11y ago
Ah, okay. I didn't realize that. I was trying to point out there are everyday valid use cases for JIT that don't involve the JVM. I've used Rust's regex engine before, it's very promising. It's really neat how
148.
▲
by
lgunsch
11y ago
I wouldn't be so hard on JIT. JIT algorithms can massively speed up solutions to particular problems. For example, grep uses libpcre, which is one of the fastest regex engines around, and it uses JIT compilation.
149.
▲
by
lgunsch
11y ago
This will hopefully be a more useful critique of your idea. This wouldn't be practical unless it could be optimized "to the nines" to be very fast. The previous Linux scheduler ran in O(1), the new Completely Fair Scheduler r
150.
▲
by
lgunsch
11y ago
You cannot use Go in kernel programming at all without a monumental amount of work. You'd need your own implementation of the language. Go originally did have a runtime that did not require systemcalls and could run on bare hardware,
More ›