Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
accatyyc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
accatyyc
9y ago
Or... you can just fix the warnings before commiting. We have no tolerance for warnings on pushed code, and this has seriously never been a problem. It’s just annoying to have to remove every unused variable/parameter when trying chang
62.
▲
by
accatyyc
9y ago
Why should it? I just don’t get the obsession. As long as no one commits any warnings (and it’s easy to have a no warning policy), then I don’t see why it should be enabled. Sometimes I just quickly wanna throw in an unsafe printf here and
63.
▲
by
accatyyc
9y ago
One might say complicated, I say feature rich! I think it's a shame that all focus is on Swift right now, because Objective-C has seen so many improvements in the last years, and it's now an incredible, mature language IMO. Wonder
64.
▲
by
accatyyc
9y ago
Agreed. This is just like when I tried to grok monads. So many articles trying to tell me how simple they are... yet still so many articles needed to explain it (and I'm none the wiser)
65.
▲
by
accatyyc
9y ago
One "creative" use is project setup. Sometimes, less technical colleagues need to run our application, and explaining git and recursive submodules takes a lot of time, so I usually create a Makefile with a "setup" target
66.
▲
by
accatyyc
9y ago
You can still do that. Just last week I hacked together a quite useable web page using simple HTML and a few <?php-snippets to make it useable :) Don't need JS for everything.
67.
▲
by
accatyyc
9y ago
To expand on my other answer in regards to this - I wouldn't say we have a glut of qualified applicants. It's pretty hard to find the great developers, and the reason we bin the generic ones is that we have never found a fit throu
68.
▲
by
accatyyc
9y ago
That's some good feedback! I will try to think about making sure that our job ads contain enough information about the role. Hadn't thought about that. Thanks!
69.
▲
by
accatyyc
9y ago
Depends on your point of view. In terms of amount of applications, no. Loads of people apply, but in terms of finding the right person, yes I think it's very hard. It takes a huge amount of time, and all the generic/automatic appl
70.
▲
by
accatyyc
9y ago
Regarding job applications: when hiring people the first applications we send to the bin are generic ones. I really despise them because we get so many of them. We spend so much of time reading applications that if an applicant can't h
71.
▲
by
accatyyc
9y ago
I code in C so can't speak for C++, but I imagine it works well for that too: irony-mode as a backend and company-mode as frontend. It pretty much gives the Xcode auto-complete experience, and I think it works great!
72.
▲
by
accatyyc
10y ago
What's worse... the refactor functionality for renaming used to be great, but when swift came along it stopped working for Objective-C as well...
73.
▲
by
accatyyc
10y ago
I'm in the "never use fixed size integers unless needed"-camp. For example, if you write code that's supposed to run on an 8-bit computer (something embedded) as well as your 64-bit desktop, it makes no sense to limit yo
74.
▲
by
accatyyc
10y ago
I really disagree that this is madness. It may be madness to someone not used to coding in C. But if you code a lot of C you _will_ know when to use which one of these, and you will know that they're immensely useful. For example, iter
75.
▲
by
accatyyc
10y ago
... and put all their keys and values in Redis. And use curl for testing their revolutionary REST-API!
76.
▲
by
accatyyc
10y ago
But what if your IDE simply adds the debugger buttons to the touch strip instead? They could even have the correct icons and update state as you debug. Seems even better to me.
77.
▲
by
accatyyc
10y ago
It says in the linked article that it will only be available in the phone apps for the moment.
78.
▲
by
accatyyc
10y ago
One example is that if you don't need a specific size, using the loosely defined types may be faster. For example, if you specify int32_t, but your program compiles for a 16-bit platform, then instructions operating on this variable ma
79.
▲
by
accatyyc
10y ago
It is the title of the blog post though, which is a Microsoft blog. I don't think clickbaiting was the intention of the poster.
80.
▲
by
accatyyc
10y ago
Not really. He suggests that if a function is called from multiple places, one should try to make it pure to avoid subtle bugs. If called from a single place it may be better to inline it. Citation: "I don’t think that purely functiona
81.
▲
by
accatyyc
10y ago
This would maybe be possible in C if the "functional" keyword was added (as suggested in the letter), and the compiler can be sure that the function doesn't use anything apart from its (const) arguments to generate a return v
82.
▲
by
accatyyc
10y ago
I'm not really sure I agree with communicating over the network in your GUI anyway. A git frontend shouldn't handle the connections, this is what libgit is for. Which would probably use curl or similar internally. Both of those ar
83.
▲
by
accatyyc
10y ago
C is simply the Correct Tool For the Job when writing cross-platform (native) UI's. It's simple, it's callable from almost any other language, and all OS GUI API's are already in C. There has been a lot of negativity
84.
▲
by
accatyyc
10y ago
How so? The likely reason is that a C lib is usable from many other environments. Look at ncurses for example. Heavily used from many languages, and written in C. Another reason is that the underlying tools used by this library are likely i
85.
▲
by
accatyyc
11y ago
Yes, but he means that "end users" of CocoaPods are actually developers. It's a package manager for libraries.
86.
▲
by
accatyyc
11y ago
Very cool idea! I could add a simpler variant of what you're suggesting by not allowing cursor movement past opened tiles. Thanks for the input :)
87.
▲
by
accatyyc
11y ago
Yeah, I think it could work. I at least got some "vim-flow" by playing nethack!
88.
▲
by
accatyyc
11y ago
I felt that I could maybe get better at Minesweeper with a keyboard interface, so I made this game with ncurses. The controls are inspired by nethack/vim (but arrow keys work as well). When developing it, I made the game logic into a l
89.
▲
Show HN: Terminal Mines
(github.com)
11 points
by
accatyyc
11y ago
|
5 comments
90.
▲
by
accatyyc
11y ago
But why does it matter? With your solution they'll have two "task files" to manage instead of one.
More ›