News for hackers. Stuff that matters.

Mpdreamz

There has been an alpha of fiddler on mono for some time now: http://fiddler.wikidot.com/mono, rejoice!
Re:EditorConfig on Thursday October 16, 2014 @03:14AM (#8463755)
.editorconfig supports domain specific properties: https://github.com/editorconfig/editorconfig/wiki/EditorConf.... Its encouraged that other extensions/tooling take a dependency on .editorconfig to introduce their own configuration.
"mixing relevance and popularity is nothing short of impossible in Elasticsearch. Either you sort by relevance or by using a popularity attribute, you cannot mix both."

This is a false statement,

http://www.elasticsearch.org/guide/reference/query-dsl/custo...

This combined with scripts give you unlimited possibilities to alter you score based on whatever you please. The syntax is a bit wonky in the current version perhaps but awesomeness is on the way:

https://github.com/elasticsearch/elasticsearch/issues/3423

"Unfortunately Elasticsearch fuzzy matching does not work out of the box, is complex to customize, and does not provide the ability to highlight prefixes."

There are more ways to catch typo's then fuzzy and levensteins, ngrams for instance. Elasticsearch allows you to do both but yes its true you have to know your way around analyzers/tokenizers and mapping a little bit to get the best results in elasticsearch. If you use the ngrams approach highlighting also works alot better.

"This sorting configuration might seem pretty explicit, but it is in fact quite dangerous as it conflicts with the boost on fields. To better understand the problem, let’s look at the query ‘the rains’:"

Its true sorting trumps boosting, but given the assumption you cannot alter _score this whole section seems contrived.

In the instant search section they use elasticsearch's querstring query to search for `world w*` this is indeed a very slow way since it will generate a wildcard query in the background they probably should have written the query using a phrase prefix query.

Re:HTML5 Piano on Sunday August 25, 2013 @01:59AM (#6271081)
Self promotion: https://github.com/Mpdreamz/html5-piano

Same concept but allows you to pick chords.

I let the html5piano.com domain expire but its still up on Azure:

http://html5piano.azurewebsites.net/

Magic strings can be avoided by always using a viewmodel ,using the lamda overloads on HtmlHelper (@Html.*) also T4MVC is a godsend strongly typing routes, url lookups, viewnames, filenames.

Most of these have been around since MVC 1.0.

Hope these pointers will keep you magic string free :)

Re:Things I didn’t know about the WebKit inspector on Saturday August 11, 2012 @08:00AM (#4369931)
the difference is that CTRL+SHIFT+F works from every tab in the chrome inspector and searches globally i often just copy paste the line i want to debug from my editor in there be it a function or declaration within a function.
Re:Things I didn’t know about the WebKit inspector on Friday August 10, 2012 @03:34PM (#4367833)
CTRL+SHIFT+F searches through all the scripts. I use this primarily to navigate through code i.e CTRL+SHIFT+F "function showDialog("
Re:Elastic Search - Incorporated on Monday July 16, 2012 @03:43PM (#4252183)
Cool, get the guys rumbling to contact me very interested in their opinions.
Re:Elastic Search - Incorporated on Monday July 16, 2012 @02:16PM (#4251836)
Are you guys still using NEST?
Re:Show HN: HTML5 Piano - with its own data URI synth on Saturday May 19, 2012 @08:54AM (#3995828)
I created html5piano.com with pretty much the same end goal of using browser generated sounds versus static audiofiles but got sidetracked with implementing chords and sequencer and then moved on. Great to see it implemented using data uri's!
Re:Gassée: Thank God Apple chose NeXT over my BeOS on Saturday November 12, 2011 @07:08AM (#3227678)
Didn't apple choose NeXT largely in part of beOS notoriously hard to skin nature?
Re:"Breaking Bad" and its Philosophical Context - Part 1 on Wednesday October 26, 2011 @11:44AM (#3159036)
A question unanswered is wheter Walter actually has changed at all. Had he had to make life or death decisions before the diagnosis would he truely have acted differently?

Quite often Walter's actions are motivated purely by narcisistic reasons a tendency he showed even at the start of the show.

Re:"Breaking Bad" and its Philosophical Context - Part 1 on Wednesday October 26, 2011 @11:31AM (#3158991)
The feeling i get with parts is that it'll be ramblings of an unsaturated chain of thoughts. If its one big piece i asume careful thought went into the structuring and each section has been revisited once if not twice.

This not directed at you personally in any way and of course my personal bias. No evil intent was assumed :)

Re:"Breaking Bad" and its Philosophical Context - Part 1 on Wednesday October 26, 2011 @02:50AM (#3157481)
I really wonder why you felt the need to cut this up in parts. I think i would have enjoyed reading your post untill part 8 in one go. I'm noticing a trend that long pieces have to be served in bitesize chunks lately either through pagination or several independant blog post. Presuming that all these part will try to get the same point across one big post versus many small ones would do that point more justice. Anyhow i hope part 2 will get on my radar when its posted.
Re:The Semantic Grid System: Page Layout For Tomorrow on Tuesday August 23, 2011 @11:32AM (#2916978)
I've used semantic.gs during the beta test period and love the fact I tell my html it's grid based using css and not the other way around. Declaring grids in HTML always felt like doing table based layouts but even more obfuscated.
Fiddler can do the same for you on windows.
Re:Piano emulator in HTML5 on Sunday July 31, 2011 @01:38PM (#2828935)
Thank you, I'm using 12.0.742.122 myself but i doubt its chrome rather this thing not being memory profiled at all just yet.
Re:Piano emulator in HTML5 on Sunday July 31, 2011 @01:34PM (#2828917)
Thank you for catching this :) just committed the fix for this.
Title is missleading. Nosql is an umbrella term for keyvalue-, document-, object-, graph-, column- etcetera- databases. The API's these provide are probably using a paradigm most natural to the actual habitat the data lives in already. Is this "no sql for nosql" really a problem that needs solving or merely a flakey abstraction thats super interesting to implement?

Unql seems to only focus on json based document stores so it might actually make a decent abstraction.

Too easy to dismiss as impractical and i hope these guys pull off something amqazing if only for json document stores.

Re:Only in Germany: An API with opening hours on Friday June 24, 2011 @12:32PM (#2692831)
The netherlands' chamber of commerce API shuts down at night too, which is why a free alternative had to be created (openkvk.nl) to proof there shouldnt be a need for the shutdown.
Re:GitHub now has view modes for image diffs. on Tuesday March 22, 2011 @03:38AM (#2353505)
Although i love github and this is yet another brilliant feature, we should give props where due as this as been built into tortoisediff for a while and i am sure many before it.

http://tortoisesvn.tigris.org/TortoiseIDiff.html http://imagediff.tigris.org/

Another use case would be to setup business rules or even get a workflow going. If i add this document it matches the queries a,b,c so i can do steps x,y and/or z afterwards.

Percolators is a truely perculiar feauture indeed :)

Re:Nude.js | Nudity detection with JavaScript and HTMLCanvas on Sunday November 21, 2010 @04:58AM (#1926810)
Wonder what came first, the clever wordplay or the actual feature. Really cool stuff though.

Older »