Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morbidhawk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
morbidhawk
10y ago
I agree with this. For me, I'm using the language I'm currently using at work (C#) to learn them better. If I'm going to be tested (in tech interviews) in the language I know my bet is that it'd be better to know the C#
32.
▲
by
morbidhawk
10y ago
I agree 100%, I'm a lot happier with it for personal projects especially once I got the hang of it, and you get a lot of web tools that are baked into it nicely. The only concern going into it was knowing that I couldn't change&#x
33.
▲
by
morbidhawk
10y ago
I've tried GitLab before and wasn't too impressed. Gogs looks interesting, it looks like it might just be a single binary file like fossil which would be nice, all I had to do on windows is add the location of the single binary to
34.
▲
by
morbidhawk
10y ago
I'm in the process of moving all of my repositories hosted on GitHub to fossil scm instead. Unlike GitHub it is open source[1] and with a simple cgi script[2] I am able to host all of my repositories on my own web server. After knowing
35.
▲
by
morbidhawk
10y ago
> The interviewer can reject you because "They had a bad day" The only answer in your Quora link that has a lot of upvotes is by the author of CTCI and she is saying just the opposite, and instead of blaming the interviewer she
36.
▲
by
morbidhawk
10y ago
> code comments document the why, not the how While I do agree with this since thoroughly reading the code itself tells you the how I find comments that tell me what it does to be just as helpful as telling why it does it. I used to fall
37.
▲
by
morbidhawk
10y ago
I've always lost motivation sometime shortly after starting on a new side project.So what I've done lately is when I think of something I'll then determine if there is a way to get it built and usable by the end of the day, e
38.
▲
by
morbidhawk
10y ago
> It's astonishing how often this gets reinvented Wow, I'd only heard of libgit2 before. I can't believe how many git-related python packages there are. Yes git isn't a library, it's a program like you said, goo
39.
▲
by
morbidhawk
10y ago
> I never start anything from scratch, as I have about a dozen application skeletons ready for various specific purposes, plus similar libraries I wrote, plus a knowledge of several large commercial SDKs, and developer experience in sev
40.
▲
by
morbidhawk
10y ago
This looks like a very feasible approach, I didn't realize you could lock scrolling for side-by-side buffers. That's really awesome. I'll have to give this a try
41.
▲
Ask HN: How do you take notes alongside code?
4 points
by
morbidhawk
10y ago
|
2 comments
42.
▲
by
morbidhawk
10y ago
I have the same exact problem, most of my teammates that review my code either obsess about variable names or code that wasn't done the same way they would have written it. It's like my code is being skimmed to bikeshed about it a
43.
▲
by
morbidhawk
10y ago
> Name suggests boolean but type does not I've seen something similar with xUnit in C# where an Assert statement returns a value. `var single = Assert.Single(collection);` It does the assertion and returns the single item in the col
44.
▲
by
morbidhawk
10y ago
In addition to scope, I think language syntax plays a role and naming is thought of differently in JS vs C#. In C# you could have a method that takes in 2 points: Point p1 and Point p2 parameters. Since you can see the Type is Point in the
45.
▲
by
morbidhawk
10y ago
Looking at this month's bounty goal only at $2500, I don't think they are raising enough money to justify closing off a revenue stream. I don't have experience in the OSS space but I've seen similar complaints in app dev
46.
▲
by
morbidhawk
10y ago
I think there are definitely developers out there that give little to no respect to systems administrators. I've seen this ignorance even in college professors. In my first programming class in college I took a CS class that had both C
47.
▲
by
morbidhawk
10y ago
tldr; I'm pessimistic about this This is a hard problem I think. Sometimes news that is interesting and popular is also controversial or just click-bait BS, so you have an ethical vs. interesting news dichotomy. Day-old-news will proba
48.
▲
by
morbidhawk
10y ago
I like this idea, I've got a handful of side project ideas that I always go back and forth on having/losing steam on and I end up never finishing them. I also go back and forth on whether my side project should be open sourced or
49.
▲
by
morbidhawk
10y ago
I agree with the opinion that reading code is not like reading literature but I do find it useful to compare the 2 things. The book "The Psychology of Computer Programming" talks about how most good novelists actually read lots of
50.
▲
by
morbidhawk
10y ago
You've made some really good points about reading code in both of your posts. I'm fairly new to it, but I've started a daily habit of reading code everyday and I've realized this is an important skill I've omitted i
51.
▲
by
morbidhawk
10y ago
I do something similar when reading terminology used in code but for a different reason. I like to steal the good name ideas and I keep them in a mind map I can later look at for naming inspiration.
52.
▲
by
morbidhawk
10y ago
I've done this recently for a few of the open-source third-party frameworks we use. I'll print out the source code and relevant unit test code for a particular class I'm interested in learning about (or in the case of js code
53.
▲
by
morbidhawk
10y ago
Why is the second version so much better? To me I think it's just a preference of the person reading the code. That it is true is implied, being explicit that it evaluates to true might be more clear to him when he goes back and reads
54.
▲
by
morbidhawk
10y ago
I'm not sure about the performance differences, but there was a different reason that kept me away from switching to Unity. I've built a couple games in SpriteKit doing it entirely programmatically in code and realized Unity is no
55.
▲
by
morbidhawk
10y ago
Your advice here probably applies more to beginner programmers where the goal is to prevent them from just copying/pasting code and following bad practices. It's a good thing for them to learn to write things from scratch. I'
56.
▲
by
morbidhawk
10y ago
This is what I love about HN, occasionally the author of the software being discussed will randomly show up in the comment thread
57.
▲
by
morbidhawk
10y ago
I took a university course where we built an interpreter for MicroScheme. It was a difficult project but was also really awesome and rewarding. I'd like to go back and do it again without deadlines to really understand it better. I thi
58.
▲
by
morbidhawk
10y ago
Thanks for sharing your experience. My set of problems are different but I noticed my experience has been somewhat similar to yours. I'm working in therapy on acceptance and recognizing the internal shaming that came about because of m
59.
▲
by
morbidhawk
10y ago
I think the Socratic method is a much better teaching device. Dogma is the opposite of teaching you to think for yourself. Dogma says "Follow these principles and you'll write good code, don't question it!". Principles n
60.
▲
by
morbidhawk
10y ago
I do the same thing all the time and I'm trying to break this habit since it might be holding me back. I'm trying to realize that I can learn a lot from someone else's work and by diving in and learning the ins and outs and e
More ›