News for hackers. Stuff that matters.

oolongCat

HN and GO(lang) has ruined me. Every-time I see "Go" my brain tries to think Golang.
Atleast on reddit someone reading the comments on there (usually the top) will be able to figureout that the story is fake.
Everytime something important happens I notice reddit is a better source of getting an aggregate of information than twitter or (sometimes) news outlets.

Relevant reddit thread for this incident.

https://www.reddit.com/r/worldnews/comments/5e6jzt/73_magnit...

Also, /u/TheEarthquakeGuy should be posting soon.

Re:Increasing Attacker Cost Using Immutable Infrastructure on Sunday November 20, 2016 @04:07AM (#12998003)
So I am confused, how does any of this increase attacker cost? Cant you do the same thing at the OS level already? Wouldn't making the dir read only do the same thing?

If your data gets stolen and your website defaced what's the use of immutability? I mean you can always run a diff tool against the current code on the server with the code you have on your repo right?

Re:Autopilot Full Self-Driving Demonstration [video] on Saturday November 19, 2016 @07:14AM (#12993140)
I really hope Tesla would do a demo on the roads of India. If a car can self drive there I would have no trouble purchasing one. Indian drivers are some of the most resourceful drivers I have seen on my visits there, yes its complete chaos, but how they navigate through all that, while utilizing every bit of the road is, just amazing.

p.s I really enjoyed the choice of music on that video.

Can someone explain what happened to google. I mean, it was once a company so many of us looked up to and now little by little its becoming the "evil" in their own mantra "don't be evil".
Re:Whatsapp: Video Calling on Tuesday November 15, 2016 @07:39AM (#12957489)
I think the point is not "having something to hide". I think the point is more like how much information we are letting corporations and governments have about us.

For instance, something that really gets on my nerves is when I search for something on amazon and when I am reading a blog post about something completely unrelated to my amazon search, I see an advert related to my search.

This is just really annoying, its not like I want to hide the fact I am looking for a new TV its just that its really annoying and its an invasion of my privacy. Its just like having a helpful but nosy neighbor who gets the mail for you.

Also, just like you said, if someone has something to hide they will find alternatives to hide it, but why inconvenience us, the law abiding citizens, why invade whats our own business?

Re:700 megapixels served in under 700 miliseconds on Thursday November 10, 2016 @04:28AM (#12918941)
I think this is something that should be present everywhere. Especially when serving customers from countries with unreasonable data caps enforced by ISPs.

I have seen some times load up 5-6 MB files when a 100-200kb image would have done the job.

If us developers could have an easy way to do this, I think it would really make the internet a lot faster.

Whenever I need to find resources for anything programming related I google

"awesome WHAT_I_NEED"

find the awesome git repo and follow the links,

if I find anything interesting I search for the link on hn and reddit and try to see if there are any discussions based on the link.

profit??

Re:Canada's Start-up Visa on Wednesday November 09, 2016 @01:53AM (#12906852)
While I am not a trump supporter OP's comment really makes sense.

And the funniest thing here is people should be celebrating this win becuase the way I see it, this is a win for democracy. The DNC took away the win from someone who the people wanted, they worked against the people and put someone up who the people did not trust or agree with. And at the end of the day the person the people trusted more won.

I might not agree with trump on everything especially his racist comments, but I do agree with an underdog powered by the people.

I think the big deal here is, a political one, more than a technical one. While google is the reason we have go and google basically pays for go, people are afraid that go might lose its simplicity in order to cater to google's wishes.
Re:Help Your Users Vote on Monday October 31, 2016 @06:47PM (#12841658)
This is just asking people to spam their users. If someone lives in a truly democratic nation then they have the right to choose not vote, yes it surely would be nice to have everyone make a valid vote. Sometimes you just do not want to vote because you have to choose between two horrible choices and it doesn't matter at the end of the day because you seriously do not agree with either of the two choices.

Southpark did an amazing episode on this exact issue once. ( https://en.wikipedia.org/wiki/Douche_and_Turd )

Re:Macbook Pro Touch Bar runs watchOS on Friday October 28, 2016 @10:21AM (#12816109)
I am duel booting ubuntu 16.04 and Windows 8 on my asus ROG-G501VW

Fantastic laptop with some amazing specs. The price was just right. https://www.asus.com/ROG-Republic-Of-Gamers/ROG-G501VW/

The only problem I have with it is the battery life. I am using this for around 5 months now, and the battery life when running Ubuntu is 2-3 hours only. I installed ubuntu on the ssd and windows on the hdd.

I can play almost any game on this one (of course not many on ultra).

Re:Macbook Pro Touch Bar runs watchOS on Friday October 28, 2016 @10:14AM (#12816032)
Good god that sounds like a nightmare. Its already a pain to use touch-pads on some laptop models where if you rest your wrist on it it will detect it wrong.

And to make matters even worse imagine installing drivers for an os not supported by the manufacturer.

Re:Web Bloat Score Calculator on Tuesday October 25, 2016 @07:44AM (#12787050)
1.Open dev tools

2.run a JS CPU profile.

3. :)

Re:Web Bloat Score Calculator on Tuesday October 25, 2016 @07:42AM (#12787039)
Once had a customer who did the same. His reason at the time was that his customers see boxes otherwise. This was one of my first projects and I was still in school then. Didn't know anything about unicode, plus unicode was not that popular then.

I guess, may be your customer has the same problem.

Re:GitHub censored my research data on Saturday October 15, 2016 @05:34AM (#12713384)
It's not a question if its easy to do or not. Yes I prefer an encrypted connection over one that is not.

BUT! the point here is the op claims this is a shady practice to provide https to their paying customers.

A shady practice is if they take your personal information and sell it to another without telling you. Shady is when companies lie to their customers.

And this situation is not.

Re:GitHub censored my research data on Saturday October 15, 2016 @01:39AM (#12712891)
I am sorry, but I fail to see how offering https support as a premium feature could be considered "shady".
Re:Show HN: Your Social Media Fingerprint (maybe NSFW) on Wednesday October 12, 2016 @08:51PM (#12697565)
You can actually have privacy badger black all of this if you play around with the settings.

I mean I think its too much to ask for a tool to be able to block everything right without a little human assistance.

Re:Choose Firefox Now, or Later You Won't Get a Choice on Tuesday October 11, 2016 @06:10PM (#12688940)
Normally on HN when someone links the previous threads its not to scream "repost", but to make it easier for others to find previous discussions.

Do take a look at the links posted in the parent comment, you will actually find some really interesting conversations.

Because the whole "gamergate" thing was not about attacking female gamers. If I recall correctly they were after people who were villainizing video games.
What's with CNN attacking 4chan so much these days? Funny how a media channel that used to do actual reporting has gone down to this level. I bet 4chan and its users are really happy with the free publicity.
Honestly, Follow any of the mainstream languages you will be alright.

When I began programming I had this exact question myself, and deep down the actual question was "what language is the easiest to learn and is there a language that will not make me quit because its too frustrating?".

I think becoming a programmer means you have to be able to handle a lot of disappointment, and you should be able to deal with the fact that you have to constantly learn (you asking this question on HN means you are going on the right path, it means have that explorer inside you). You will have to deal with frustrations and to do something over and over again until you have perfected it. (this is why I think a lot of us see programming as an art)

So learn any programming language, build the smallest thing you can imagine, start with a hello world, make a calculator, make a text based game, etc etc and keep going until you are fed up of programming and want to take up farming instead.

And one more thing, please don't think memorizing syntax is going to make you a great programmer, great programmers program, they make things and they make more things. Make things and never stop.

All the best.

Re:Vim Anti-Patterns on Wednesday October 05, 2016 @01:36PM (#12645943)
and so does v2ec
Re:Vim Anti-Patterns on Wednesday October 05, 2016 @12:17PM (#12645200)
Instead of

  c2w
I prefer

  v2ec
selecting with v helps me avoid making mistakes.
Re:How it feels to learn JavaScript in 2016 on Tuesday October 04, 2016 @09:25AM (#12635279)
In my experience the whole complex JavaScript comes when you try to build the entire thing using JavaScript.

If you are developing a web app, restrict JS to the client side only, get something like react to do it.

On the server side I stick with Go(lang). This separation helps me and my team think of these two separate problems, well.. separately. Isomorphic this isomorphic that is when things start to go all in sane.

tldr; JS for front-end. Go for back-end.

Older »