Agree that it’s good to get the certainty of zero memory leaks (assuming there’s no associated bugs in apache) but it’s not that hard to write code that doesn’t cause memory leaks for stateful apps as long as you are able to follow certain simple principles and avoid bugs in the third party libs you use.
HN user
mekazu
I wonder if the author knows about `watch`. It seems like it might’ve saved some effort with a better outcome.
This is an great example of how you don’t need fancy graphics for good, playable and engaging games. The music combined with the sound effects works really well too and is very simple.
But they wouldn’t announce it until it’s pretty much ready.
Most good software that I can think of has the luxury of being delivered whenever it’s ready. It’s not estimation that improves the quality of the product but good cost/benefit analysis, although you can get one from the other.
Could use mv -iv for interactive and verbose if you want a rollback or commit alternative.
The real question is: why move files at all?
I use Perl similarly to awk if I need to use regex rather than white space delimited fields.
I think if you know Perl really well and can remember the command line arguments - particularly -E, -n, -I and -p - then it’s a good swap in substitute for grep, sed, awk, cut, bash, etc when whatever 5 min task you’re working on gets a tiny bit more complex.
Similarly a decent version perl 5 seems to be installed everywhere by default.
I’m curious to know if anyone would say the same about python or any other programs? I’m not particularly strong in short python scripting.
Therefore, this line actually says:
!didIMakeAMistake() || CIsWrongHere();
> If you understand how short-circuit evaluation works, you can understand that this will result in the following: if (!didIMakeAMistake())
CIsWrongHere();
Can someone explain this? I’d have thought that was right without the !Employees are valued by businesses more for their expertise than for their work. I’d rather have one dev who knows how to solve difficult problems than a hundred who don’t. Roughly.
I wonder why pg didn’t launch this article on a Tuesday.
Yeah if the last election result wasn’t a perfect demonstration of voter apathy and disengagement I don’t know what would be. Having said that, that’s just the majority - the rest of us are very engaged I promise! Just uselessly, impotently quiet.
National security is important, but so is whistleblowing, and the ability for journalists to protect their sources. There’s a trade off here between, and it’s worth looking at this from all angles to ensure that the AFP have the right intentions.
Sounds similar to P2PE.
I agree, and I like having those ‘oh wow, I can do that in bash? That’s dangerous, but awesome’ moments just by researching how to get stuff done. Really people don’t know what they’re getting themselves into when they start down the shell scripting path.
Yeah? I’m off to read some Jane Austen. Seeya!
Unit tests that don’t read or write to disk and don’t try thousands of repetitions of things should be bleeding fast, but the most useful integration tests that actually help find faults (usually with your assumptions about the associated APIs) often need interaction with your disk or database or external service and tend to take a bit more than a few seconds. I find you need both.
I kinda like the idea that Americans could be gradually migrated from Imperial to metric by osmosis over the course of a few thousand measurement based scientific articles.
Plastic is sometimes useful to preserve fresh food to some degree. Without plastic many goods wouldn’t be viable. Would be nice though if at least the necessary plastic was highly recycleable, as well as cost efficient etc.
Was anybody else thinking these tools would be great for general development and debugging purposes? Anything that uses the network or file system anyway. The fact that they can detect malware reads as just an aside to me.
Just remember the name XKCD is already taken.
If only when googling “sql on csv” this comments page would show up first.
Is this reddit now?
Many of the comments made here are < 140 chars. Others are more.
Nope, the company is called shifty jelly. They've still got other iOS apps though so it wouldn't surprise if they were taken down.
Would it be illegal to write say an excellent grepping or sorting tool that I really want someone to use as part of a criminal activity, even if it had heaps of other uses?
We know the greenhouse effect is real (just walk into a greenhouse and you'll know), so the only remaining question is whether CO2 causes a greenhouse effect in the earth's atmosphere. That should be reasonably easy to prove right? Sounds like basic chemistry (which I never did).
Keeping your fingers wet will also prevent the mechanism from working.
It can be difficult to verify the quality of code in GitHub. Even well know products that work really well can be implemented with awful code. I suspect the vast majority of projects on GitHub are experimental and unfinished. Using this feature would be very unlike a system like Stack Overflow where there are strong incentives to provide good answers.
Still, if the user is aware of these pitfalls then it could be quite useful. Perhaps it could be improved if GitHub provided some incentive for developers to showcase their better work as 'known good' examples and let the community vote on the quality, similar to the Stack Overflow model.
No idea but coding against unit tests, rather than testing every change on a running app, should help avoid that frustration.
I find if I'm struggling to come up with a word it's because I've lost the conversational flow of the sentence I'm writing, or of the point I'm trying to make. If I try to describe it out loud to an imaginary or, ideally, a real person, I'm usually then able to convey what I was trying to say, though usually by restructuring the form of the argument, rather than by conveniently finding the right word.
Often complex thoughts come to me not as fully constructed sentences. I might forget how I intended to finish a sentence by the time I'm three words in, lost in a forest of opportunities for converting the faint cognitive signal to an established element of prose.
I find I am better able to articulate a problem after I've explained it to a number of people on different occasions. The first person I explain it to won't have the foggiest what I'm talking about, probably because I'm constantly grasping for words, but to the fifth person the problem will seem trivial.