News for hackers. Stuff that matters.

pieceofpeace

No, it is actually more secure than Lastpass because the site is opened by KeePass directly (in the browser he specifies).
Re:Vim After 11 Years on Tuesday February 19, 2013 @01:42PM (#5246161)
I have a repo with 3000+ files and I can't notice any delay searching with CtrlP. I have the following custom file listing command in my vimrc:

    let g:ctrlp_user_command = {
      \ 'types': {
        \ 1: ['.git/', 'cd %s && git ls-files'],
        \ 2: ['.hg/', 'hg --cwd %s locate -I .'],
        \ },
      \ 'fallback': 'find %s -type f'
      \ }
Re:Migrating from Ember.js to AngularJS on Tuesday February 05, 2013 @04:18AM (#5169859)
Best approach would be to use the 'ui-if' directive from angular-ui

  <ul>
    <li ng-repeat="name in names">{{name}}</li>
    <li ui-if="!names.length">There are no names in the list</li>
  </ul>
: http://angular-ui.github.com/#directives-if
http://www.exquisitetweets.com/tweets?eids=eqt3bK9L1E.equdE5...

"I would really love to know the contents of the CBP file on me. It's too bad that they refuse to disclose it via TRIPS or any other system."

> I don't think "cowardly" is the right way to put it.

Oh, is "apathetic" a more comfortable label ?

> The level of harassment you put up with is obscene, and that you continue to stick to your guns in the face of it is admirable. That said, it's not something that most people want in their lives.

That guy is getting harassed a lot because he is alone. I don't think the overloads up there have the courage to harass tens of thousands - do they ? Wide ranging support means less heroism will be required to get what people want. He is not fighting a personal battle, right ? It is better to fight smaller battles now and avoid the possibility of all out wars that we are seeing in Africa and the Middle-East.

> Dealing with the level of harassment you face imperils all of those goals. Unless someone is dedicated to a cause and willing to sacrifice a lot to serve it, it's unreasonable to ask them to invite that kind of drama into their lives.

So, that person won't even "want to meet or correspond with" them. Do they realize the stark contrast between Jake's priorities and theirs.

Re:Fighting to Shut Out the Real India on Friday April 08, 2011 @03:53PM (#2425354)
We (India) are prospering because we are united.

Pakistan and China are trying to help India 'break free' but I am sure they won't succeed.

Re:Sudoku Solving on Saturday March 26, 2011 @11:18AM (#2372250)
You are right that "the purpose of many the constraint techniques seem to be aimed at creating puzzles that are amenable to humans, not solving them"

I shared the link because I found his sudoku generator and the constraint methods interesting.

> That would be backtracking.

Let me quote the first para in full:

  The solver uses depth first and/or breadth first tree search
  with constraint propagation to prune the search for the next
  best move (forms of forward checking.) There are space/time
  tradeoffs between depth/breadth first search and the constraints
  used; sudoku(1) has options to control the combinations.
  The common characteristic for all constraints, here and elsewhere,
  is that they avoid trial and error. Its fine for a computer
  to guess and backtrack but a definite breach of puzzle manners
  to require a human to do so.
I could be wrong but, yes, it does use backtracking to find the constraint that can give a number for an empty cell but it never has to change a number it has put in a cell. That differs from the trial and error approach that moves forward by guessing values and checking if it leads to a valid solution.
Re:Sudoku Solving on Saturday March 26, 2011 @05:32AM (#2371730)
Glenn Flower has written an (open source) program that solves using constraint propagation only. It does solve some of the hardest Sudoku's.

He discusses the strategies used here: http://www2.research.att.com/~gsf/sudoku/

Re:Time-saving tips for Linux on Thursday March 24, 2011 @12:49AM (#2362907)
You can also do this:

  $ man man
Re:Jilted in the U.S., a Site Finds Love in India on Sunday February 20, 2011 @04:35AM (#2241520)
Dating is generally considered a 'dirty thing' outside metros. Urban India is mostly monolithic. The real differences are only seen in semi-urban and rural regions. And yes the sub-cultures are quite varied but that doesn't mean there is no pan-Indian identity to which you can market. Understanding the differences and similarities is the key if you want to reach the majority of the billion plus population.
Re:Don't waste your time by cd-ing in the terminal on Saturday February 19, 2011 @03:33AM (#2238738)
Ctrl-r is what I use too. Usually requires fewer keystrokes than other methods discussed here. And it works for all commands in shell history.
Re:Google Engineer bails out student in jail on Friday December 24, 2010 @01:22AM (#2036712)
[From: http://www.laweekly.com/2010-12-09/news/jeremy-marks-attempt...]

The first thing to understand is that Jeremy Marks touched no one during his "attempted lynching" of LAUSD campus police officer Erin Robles.

The second is that Marks' weapon was the camera in his cell phone.

The third is that Officer Robles' own actions helped turn an exceedingly minor wrongdoing — a student smoking at a bus stop — into a state prison case.

---

Edit to add: Jeremy wasn't smoking, just recording the cop (which is legal in his state)(wo)man-handling the smoker.

Re:Google To Microsoft On Office Vs. Docs: Oh Yeah? on Tuesday May 18, 2010 @04:24AM (#1356928)
That is not the point the Google spokesperson was trying to make.

The full quote: "It says a lot about Microsoft's approach to customer lock-in that the company touts its proprietary document formats, which only Microsoft software can render with true fidelity, as the reason to avoid using other products".

So they were complaining about MS making it hard to decode the Word format and making it tough to preserve format when importing.

Re:Ask PG: What's the deal with search on HN? on Saturday May 08, 2010 @02:16AM (#1329727)
> There are an infinite number of minor things that would be pretty good to do that would "just take a minute."

The search link is at least as relevant as the bookmarklet link and certainly more relevant than the webmynd and mixpanel links with images.

> Basically, points exacerbate the "someone is wrong on the Internet" trap.

While i am not sure about that, I suggest that voting for comments should be delayed like the temporarily hidden reply link, that may reduce some reflexive voting.

Do you prefer large corporations over FCC to "control the Internet"?
> acting like greedy assholes to the point that the regulators step in

Yes, simple risk/return analysis? And they were warned too.

"Don't harass the chicken that lays golden eggs too much."

Re:The Web Doesn't Suck. Browsers are Innovating. on Saturday May 01, 2010 @06:44AM (#1310396)
No, but innovation limited to single platform is violation of standards and used to rack profits from the lock-in. But cross-platform innovation can lead to easily adoptable new standards.

Older »