Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vilya
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
vilya
16y ago
> Given that IDEs are the primary tools of programmers, and unlike Photoshop users our primary skill is to build software itself, why are IDEs not the most advanced pieces of software that exist? I guess it depends what you call advance
272.
▲
by
vilya
16y ago
> However, the inline method/function definition that the OP mentions is something I have also wanted. Eclipse actually does this. If you hover your mouse over a function name, it will pop up a tooltip showing you the code for the funct
273.
▲
by
vilya
16y ago
Using gcc compiler intrinsics (which should compile to a single assembly instruction where possible): bool isPowerOf2(unsigned int n) { return __builtin_popcount(n) == 1; }
274.
▲
by
vilya
16y ago
One thing to add to the points about documentation: if you as a developer either don't write it or do a half-assed job of it, then you won't be able to just hand it off to the systems guy - you're going to end up doing 2nd/3rd/whatever line
275.
▲
by
vilya
16y ago
> If you do, please try to answer this simple question: what single application of widespread importance benefits on a game-changing scale from running on multiple cores? Computer vision and machine learning both benefit a lot from mult
276.
▲
by
vilya
16y ago
To be honest I've never tried. I use a standard UK keyboard at work and I've got a vague feeling that there'd be too much cognitive dissonance for me to learn a new layout without the right labels on the keys.
277.
▲
by
vilya
16y ago
Sorry, I should have said: I'm talking about the UK models. The standard layout for UK keyboards has a dedicated # key right next to the return key: http://en.wikipedia.org/wiki/Keyboard_layout#United_Kingdom Mac keyboards for the UK - al
278.
▲
by
vilya
16y ago
I agree, but you forgot to mention the killer issue (for me): there's no '#' key. Having to press Alt+3 for a '#' gets annoying pretty quickly when you're coding. It's even worse if you're running Linux on the MacBook. You have to fiddle wi
279.
▲
by
vilya
16y ago
You can use repeat counts with the cursor movement commands. For example, 40h will move your cursor 40 characters to the right; or 5w will move it forward 5 words. Alternatively you can use the search commands, '/' (forward search) or '?' (
280.
▲
by
vilya
16y ago
> What happened to elegance, efficiency, and modular, maintainable design? Each app having it's own copy of the libraries it needs is actually MORE maintainable. It's not uncommon for a newer version of a library to introduce a change w
281.
▲
by
vilya
16y ago
Without homework, how does one develop good study habits? As someone who went to an independent school which didn't assign homework, I believe I was disadvantaged by NOT having to acquire those skills and had to expend disproportionately mo
282.
▲
by
vilya
16y ago
I disagree with almost every sentence in your post, but there's one bit in particular I wanted to focus on: > The big advantage of printf as a debug technique is that it doesn't work unless you understand what you're doing. This isn't t
283.
▲
by
vilya
16y ago
If you're saying tests are an alternative to using a debugger, then I disagree. Tests are very useful, but they fulfill a different need to debuggers. In fact the two work well together: stepping through a failing test case with a debugger
284.
▲
by
vilya
16y ago
I'm amazed and a bit saddened whenever I hear sentiments like this. These days more than ever. The thing is, every single bit of code you write depends on something else that you DIDN'T write. Everything. No exceptions. And the thing about
285.
▲
by
vilya
16y ago
The problem is context. A formula means nothing without it. Identifying the correct context (or even just the most likely one) for a formula is Not Easy. Different fields within maths, engineering & physics frequently reuse names and sy
286.
▲
Beyond Programmable Shading
(bps10.idav.ucdavis.edu)
2 points
by
vilya
16y ago
|
0 comments
287.
▲
by
vilya
16y ago
This is a great idea. The article just talks about taking notes on books, but it's just as worthwhile for movies, podcasts, lectures, presentations, etc. I've generally found that taking notes during something like a lecture or presentation
288.
▲
by
vilya
16y ago
Let me start by saying that I actually think Monocle is nice work given the language mechanisms that Python provides and this is intended as constructive criticism. What I meant by "makes it hard" is that it creates two different calling co
289.
▲
by
vilya
16y ago
The problem is that if the interface learns and adjusts to you, it prevents you from learning the interface...
290.
▲
by
vilya
16y ago
Monocle seems nice enough, but the reliance on python's yield statement makes it difficult to cleanly decompose your logic into functions. You can do it, but you have to wrap each function call in a loop which re-yields each of the values f
291.
▲
by
vilya
16y ago
> Can someone check the quality of what they receive from a developer without being a developer? That's the QA team right there. And the ones I work with are very good at it!
292.
▲
by
vilya
16y ago
User interfaces can't take all of the blame, because there's only so much they can do - people have to want to learn as well. What other complex tool would you expect to pick up and use without any training?
293.
▲
by
vilya
16y ago
Perfect? I wonder if the author tried installing it on a MacBook Pro. WiFi won't work without the proprietary BroadComm drivers. But jockey (the program which detects which drivers you need and installs them for you) won't work without an i
294.
▲
by
vilya
17y ago
The author decries meaningless achievements without ever saying what he considers to be meaningful. This is nothing more than a load of badly thought through opinions that the author attempts to pass off as insights.
295.
▲
by
vilya
17y ago
Isn't that exactly what "Second Life" is?
296.
▲
by
vilya
17y ago
Absolutely untrue. The X server is an orthogonal issue to UI design. The real problem is that a lot of Linux apps still have GUIs designed by programmers rather than UI designers.
297.
▲
by
vilya
17y ago
For a relatively constrained device like an Android handset, I'd have thought it would be better to compile the bytecodes into an optimised native executable at installation time?
298.
▲
by
vilya
17y ago
Python's float type is a double.
299.
▲
by
vilya
17y ago
Different teams, different talents, maybe? Are you saying the user interface people should just stop working until the developers have done their bit?
300.
▲
by
vilya
17y ago
This freedom to innovate without risk is part of what makes universities valuable. There are already plenty of companies that innovate under market conditions. It's important to also have a place where more blue-sky research, of the sort th
More ›