News for hackers. Stuff that matters.

atas

Re:Reverse Engineering MacOS High Sierra Supplemental Update on Monday October 09, 2017 @04:35AM (#15432295)
Yes, and that's why you have to be extra-careful with copy-pasting :-)
Re:Reverse Engineering MacOS High Sierra Supplemental Update on Monday October 09, 2017 @04:16AM (#15432238)
Simple technique for preventing bugs like this: don't copy-paste code. If you find yourself copy-pasting code think twice why you even have to do it (DRY principle) and be aware of the potential consequences. Even if some code has to be duplicate, I am forcing myself to just write it from scratch, exactly for this reason: do you really know that you have updated all your data? And yeah, unit tests would help in spotting this and other things. But aren't unit tests a duplication of your code, already?

UPDATE:

Maybe I should have stated my last question differently. I meant that in the context of checking that the data is correct, it would be the same as writing the duplicate code from scratch.

Re:Why the Brain Needs More Downtime (2013) on Friday August 18, 2017 @05:55AM (#15044848)
I have the heuristic that I leave decisions for the end of the day, based on what I have done. In fact, this is one of my goals per day, when things are unclear.
Re:Ask HN: Does anyone use online standup tools? on Tuesday August 15, 2017 @10:54AM (#15018735)
The habit of skipping them for whatever reason is also problematic. If you so easily skip them (as a team or as individual(s)), why have them in the first place?
Re:An Intro to Compilers on Tuesday August 15, 2017 @09:41AM (#15018065)
Greece. I learned a lot in the process having just an undergraduate degree at the time. The students didn't appreciate it much unfortunately (wasn't a university but a vocational school; don't ask why Tanenbaum was on the curriculum). Just one came to me after the exam (I had to pass them all anyway) and congratulated me of making it so hard for them (him).
Re:An Intro to Compilers on Monday August 14, 2017 @08:38AM (#15008190)
I did the same for Tanenbaum's operating systems book and for a post-secondary education course (around the same time and around the same age).
Re:Mastering Programming (2016) on Friday July 07, 2017 @10:11AM (#14718432)
I remember writing an essay like this for an assignment. The professor called it 'strange'. Even if I had made some valid points, there was no way to validate them as it lacked real flow. Just bullet points with messages I wanted to communicate but with no real value on their own (and some symbolic paragraphs in between). Good to see a post calling out the naked emperor. The same post had received a better reaction in the comments the last time.
Re:Resolutions for programmers on Tuesday February 05, 2013 @06:09AM (#5170094)
#1: I have to make up some time on that

#2: I am working on my diet. Yes, staying healthy is crucial for programmers. Because of the nature of the work you have to be mindful about that.

#3: Good suggestions

#4: I should be doing that. I am trying to "learn" about new languages, but you can't really learn unless you practice and this can only be achieved gradually.

#5: Yes

#6: Working on that. Similar to #4.

#7: I once had a project of reviewing the security of a web application, learned a lot, and appreciated the importance of being security-aware. It was really cool being paid to work full-time on practically gaining new and useful knowledge for a few months.

#8: I am kind of lazy for that. But, currently, I am mostly experimenting.

#9: Yes

#10: Started doing that before programming

#11: Yes

#12: Have been doing that. But what is 'complete'?

Re:The joys of having a Forever Project on Tuesday January 22, 2013 @04:11AM (#5096267)
Here's mine: http://www.pubsoccermanager.com/ It has gotten really slow in the last year, but I am planning to do something around it full time. Most obviously it would be a game, but I also have a couple of other ideas of how to monetize.
This too was my main objection to the article. How could a single hacker pose a threat to democracy? And is it really democracy?
Re:Anonymous hacks MIT after Aaron Swartz's suicide on Monday January 14, 2013 @09:24AM (#5054722)
In the literal sense of the word, the exact opposite.
Re:Google Effect on Thursday January 10, 2013 @04:29AM (#5036140)
Slightly irrelevant, but how valid would it be to be asked the SVN commands in an interview? Should I go an memorize the SVN manual just to succeed in interviews, although I use a graphical tool?
He forgot: "...all other things being equal", which would make his point practically useless.
Re:An ABC proof too tough even for mathematicians on Monday November 26, 2012 @04:24AM (#4831265)
"Release early release often" applies to Math as well. Wouldn't it be better for everyone if he hadn't been so secluded and published some of his work in the meantime?
Re:Woz: Microsoft might be more creative than Apple on Friday November 23, 2012 @03:34AM (#4821378)
Unfortunately, some people believe so...
Re:OOP Isn't a Fundamental Particle of Computing on Wednesday November 14, 2012 @01:24PM (#4784647)
> Corporate programmers in OOP-land often never get the architectural experience of writing systems (starting with small ones) from scratch. Instead, they spend their 40 hours maintaining and tweaking large monoliths other people wrote, and this is a big part of why they never improve.

You just described my 'career', sir.

Re:The Waiting Place on Tuesday November 06, 2012 @04:56AM (#4747789)
I have the same age as you. One year ago I was thinking of quitting my job to turn my hobby into a business. I thought of staying in my hometown (cheap but not start-up friendly and family and friends would just see me as 'unemployed'), but I took an offer instead for a more business-oriented role to move abroad. Then one day, as a visitor in a nearby country (cheap and start-up friendly, far away from anyone I know) I saw an advertisement on the street of apartments for sale and it struck me. I now have a plan of moving to this country with cheap cost of living after I finish with my current project.

I always thought of leaving my country as a good way to get me started (leaving next to family would just give me a delusion of security, would make me more complacent and/or I had to deal with discouragement), but cost of living would be a factor for staying anyway.

Why I am saying all this? From just visiting a country as a tourist, a plan came up. And if I hadn't taken that offer maybe I would have quit. Or maybe not. And I am still considering of applying for some jobs abroad in the meantime (more waiting). But at least a more solid long-term plan has formed in the background now.

Re:Outlawed by Amazon DRM on Wednesday October 24, 2012 @12:24PM (#4693619)
That's why we still need local storage.
Re:Free Flag Icons on Friday October 19, 2012 @10:26AM (#4673639)
You didn't have to give an email address, btw. So no point in giving a fake one anyway. But I think someone willing to bypass "registration" would not impulsively submit a fake address, but rather would have read the small print.
Re:Is it OK to hold credit card numbers in cookies, Santander? on Tuesday October 16, 2012 @04:05AM (#4658837)
A little bit off-topic, but in what way(s) is Natwest a "dismal failure of a bank"? I had a Natwest account a few years ago when I was in the UK, and I was happy with it at least in relation to the other bank I had an account with.
Re:Surprisingly undervalued books on Monday October 15, 2012 @09:33AM (#4654948)
'The Olduvai imperative'. Especially the introduction and the first couple of chapters.
This is just another sample case demonstrating how otherwise intelligent and competent people really need to be educated about web development security.
Re:Programming as a cure for A.D.D.? on Monday October 15, 2012 @05:51AM (#4654357)
Is this a real condition or just Americans inventing up diseases?
Re:Generate a panorama on Wednesday October 10, 2012 @10:01AM (#4636340)
The 'default' panorama was loaded relatively quickly. My hometown's panorama has been stuck at "21%" for the last 10 minutes...
Re:Chrome DevTools could do that? on Friday October 05, 2012 @04:51AM (#4616121)
Yes, on mine too.
Re:Show HN: Storylane - People sharing things that matter on Thursday October 04, 2012 @06:25AM (#4611656)
I also don't want to "sign up with Facebook".
Re:Thanks Mr. Jobs, But it Seems I Can Use a Linux Laptop Now on Thursday September 20, 2012 @03:43AM (#4547525)
Three major grammar mistakes. And nothing interesting.
Re:Xkcd: Click and Drag on Wednesday September 19, 2012 @06:56AM (#4543010)
Not really. I will continue at home.

Older »