News for hackers. Stuff that matters.

username42

Re:Low-cost 3D printers and crowdfunding suicide on Monday August 11, 2014 @07:54AM (#8162876)
I think printing houses is the app killer.
Re:Xkcd comics which can illustrate programming questions on Thursday July 10, 2014 @07:14AM (#8014539)
'GOTO considered harmful' is practically biblical law amongst many programmers, but it's worth remembering that he made that statement in the context of an argument with Donald Knuth. Knuth won: ( http://web.archive.org/web/20070927094626/http://pplab.snu.a... See also http://web.archive.org/web/20051128093253/http://kerneltrap.... about goto

Good uses of goto are very rare with current programming languages. The only cases where I have found good uses were with languages that did not have exception handling and in each cases, there was some deficiencies in the specifications and the code containing the goto has disappeared with the corrected specifications. Maybe this was luck.

I still think it is ridiculous to hate goto.

Re:Ask HN: How best to learn software design principles? on Tuesday July 08, 2014 @09:02AM (#8004307)
Teach them. Whatever the subject, when you have to teach it to someone, your level of understanding increase. If you can find a public ready to listen to you, teach the subjects you want to master.
Re:Why use www? on Monday June 30, 2014 @04:59AM (#7964249)
Do the redirect always the other way. People understand when the www appears that you have done something to help them.
Re:An Awk Primer on Monday June 30, 2014 @04:54AM (#7964239)
I think there is no use to master bash, sed and awk. When you have a task that becomes tricky (beyond entry level) in sed, it is often easy in awk. When you have a task that becomes tricky in bash or awk, switch to a more powerful scripting language like perl/python/ruby/?. I love perl, but I feel it is getting outdated. I try to improve my programming speed in python but I am still far from my speed in perl.
In fact I wonder why they do not have the problem yet.
I love the slide where plan9 is compared to Linux (37 syscalls, 148,787 lines of code).

For me, the missing tools would be a good up to date browser (google chrome or firefox) and something like virtualbox for virtual machines. I think the browser can not work correctly without good video drivers. Libre Office would be a bonus.

Re:How Apple Cheats on Wednesday May 28, 2014 @10:14AM (#7809993)
> Apple has no dominant position in smartphones

Where do you live ? Inform yourself (https://www.comscore.com/Insights/Press_Releases/2014/3/comS...). Apple has 41.6% when the second one, Samsung has 26.7%

Re:How Apple Cheats on Wednesday May 28, 2014 @10:06AM (#7809937)
Well, I have lost 7 karma points because I agree with an article.
Re:How Apple Cheats on Wednesday May 28, 2014 @08:36AM (#7809569)
Please, do not joke about my english. This article is about the iphone that has features that are blocked by Apple. If you own the phone, you remove the block and use the feature. Take the example of a car where there would be a huge stone on the middle back sit. You can not use the middle back sit without removing the stone, but the seller of the car prohibits to remove the stone.
Re:How Apple Cheats on Wednesday May 28, 2014 @05:51AM (#7809111)
I agree that stuff like this is expected but I am still shocked. I think that this kind of revelations means you never really own the iphone you have bought. It is more like a leasing. The only way to own what you buy is to switch to open alternatives.
Re:A Hacker’s Guide to Git on Tuesday May 27, 2014 @05:31AM (#7803633)
I like very much this introduction to git. Most of the other tutorials considers git as a magic black box. Here, it explains what is performed internally by most of the commands, without going into tiny useless details. This is probably not a good tutorial for build management processes and not enough to rewrite git, but it fits perfectly well my "hacker" mind. Thank you very much.
Re:Evolution of chess: Popularity of openings over time on Tuesday May 27, 2014 @03:45AM (#7803362)
Yes, that is the reason many good chess players switch to the game of go. For example Jan Bogaerts in belgium was about 2350 ELO before switching to go.
Re:Script-injected "async scripts" considered harmful on Wednesday May 21, 2014 @09:20AM (#7778012)
"X considered harmful" articles are harmful articles.
excellent proxy
Re:Now you can browse our unix swag store via terminal on Monday May 19, 2014 @11:29AM (#7767893)
down again ?
Re:Why Yahoo Keeps Killing Everything It Buys on Friday May 16, 2014 @07:03AM (#7754851)
RIM should have sticked to keyboard based phones and use their energy on developping the application market. I do not disagree with you, but I think they could not develop their application market because all their energy was devoted to their paradigm change.
A datepicker seems missing.
Re:Why Yahoo Keeps Killing Everything It Buys on Thursday May 15, 2014 @07:04AM (#7748748)
Mayer seems to view Yahoo primarily as a place where you can find all sorts of stuff on one giant app. “Once the user’s in that app experience, the easiest thing to do is stay in that app experience,”.

I think this is a very insightful analysis. I think there are people that like the "yahoo" way of presenting applications. It may look old fashion to others, but there is a market. If it was not the case, yahoo would already be dead. If yahoo changes its mind to do the same as others, they would lose their soul and die. We have similar experience with RIM that left professional phones with keyboard to become an Apple follower. RIM is (almost) dead.

Re:Babun – A new Windows shell on Wednesday May 14, 2014 @05:26AM (#7742888)
VirtualBox with a shared directory is also a way to have all the niceties of unix without installing MinGW or Cygwin.
Re:Ack is a grep-like tool, optimised for programmers on Wednesday May 07, 2014 @12:19PM (#7711002)
Why did they choose the same name as minix compiler ack (http://tack.sourceforge.net/) ?
Re:Portable VirtualBox: run any OS from a USB stick on Wednesday May 07, 2014 @07:12AM (#7709537)
Something like http://blog.laptopmag.com/usb-stick-contains-dual-core-compu... would be more realistic. With USB3, you could even avoid hdmi port and turn your computer into a dumb "keyboard, screen, storage, network". Is it possible to have full access to a USB peripheral without administrator rights ?
Re:Why engineers make great CEOs on Wednesday May 07, 2014 @06:10AM (#7709396)
I think that becoming an Apple follower was the misstep of RIM. RIM was the leader on the market of professional phones with keyboard. I am a geek, I need a phone with good keyboard and good battery life (big touch screens have a negative impact on battery).
Re:Is that photo legit? Izitru offers an answer on Tuesday May 06, 2014 @07:32AM (#7703790)
If I want to tamper a picture, I would use izitru to check the quality of my work.
At that time, the main idea of OO was binding data and operations. Ada 83 does not provide polymorphism, nor inheritance, but provides many levels of encapsulation: package, generic package, generic types. Since Ada 95, child packages and tagged types (object with polymorphism and inheritance) have been added.

Even in Ada 2005, the general advice given to Ada developers is to use objects only when they need polymorphism. Ada is a marvellous language that is far richer than just objects and classes.

or fix the clock skew ?
Re:One YouTube account's 77,000 mysterious videos on Friday May 02, 2014 @11:26AM (#7686245)
maybe he is using youtube as a hardrive backup.
When I did the test, it was garbage. Since your answer, I have repeated my test with results similar to yours.
Just tested with a random scanned page (http://www.hpl.hp.com/research/info_theory/ShannonWeb/fullsi...) the result is almost garbage. It seems as bad as most OCR software I have encountered. This was to be expected as it is based on ocrad.
Re:Why Chinese Is So Damn Hard (1992) on Tuesday April 22, 2014 @10:00AM (#7627649)
I thought that it was quite regular. I have two little girl 8 and 10 yo. I can ensure you they are learning tons of exceptions I did not realise.

Older »