skysight-inc/HackerNews huggingface dataset:
No, it's usually done in a separate file containing all the routing (in most Python frameworks)

And no unreadable and overcomplicated XML for configuration, thank you very much
The comma first pattern is pretty common. I've seen it used in JavaScript (as well as JSON), SQL and Haskell; I'm sure there are others.

Some encourage this so you can comment out a line without having to add/remove commas. However, this isn't the case if you want to comment out the first line; so in effect, it just moves the problem from the bottom to the top of the list. Other proponents say it's easier to spot typos (i.e., missing commas). For example:

var something = {
foo: 'bar',
abc: '123'
quux: null,
xyz: 456
};

vs:

var something = {
foo: 'bar'
, abc: '123'
quux: null
, xyz: 456
};

In the second one, it's clearer that there's a comma missing.

Personally, I think it's ugly and, while I'm sure I've erroneously omitted commas before, they're caught by the parser. No example comes immediately to mind where missing a comma can be interpreted as something other than a parse error.
I'm not suitable for employment either.
I believe menta licenses fpga cores(LUT architectures). But FPGA's have so much that isn't LUT which is critical for performance.
> lets talk again when that java code has to do concurrency

For single-instance applications, sure. But for scalable systems, 90% of your concurrency is handled by whatever message broker you're using anyway. Tasks, Async processing, Blokcing Queues etc etc - they're all handled by your JMS provider.
Mark Cuban Illustrates He Has No Idea What Net Neutrality Is or Its Importance
The Remote Workers Guide to New London Coffee Shops
I flew an 747 last week to go to the store round the corner, didn't make sense either
Love the discussion. VC investors waking up all sweaty in the night, having their micromanagement self telling them "these kids are going to get us rich, but they better not use too much money doing it!". If you want to hedge your bets, buy index funds.
I 'm not so sure about that http://www.reddit.com/r/oculusnsfw
Chartist.js – Simple Responsive Charts
In theory; in practice most of the places where Chrome is advertised they wouldn't advertise a third-party product. (Like on the Google search engine homepage, for instance.) That said, I suppose they could be advertising a different internal product there, so there's certainly an opportunity cost regardless.
Awesome bigdata
You are correct, but I would claim that the type hinting in F# combined with pattern matching over algebraic datatypes makes dealing with a static type zoo much more enjoyable than in some other languages.

Both languages are very similar in way that they support lists, arrays and maps as first class citizens as fundamental types and provide expressive algorithms to operate over them 'out of the box' with more or less uniform syntax.

To me, as a novice, the main apparent practical difference between the two languages are the domains for which there is strong support and which have discoverable solutions. I.e. the platform and the community.
Matterhorn (Cervino) hiking as Street View style photo series
Rule of thumb is 100k for prototype in 2 months. 1million for a full product in 1 year.
In fact, Python just has a non-binary AST with regard to operators, i.e. the expression "a < b < c" is not parsed as CompOp([CompOp([a, b], <), c], <) but instead as CompOp([a, b, c], [<, <]). The same holds by the way for Boolean operators, "a and b and c" is represented as BoolOp([a, b, c], [and, and]). See https://docs.python.org/3/library/ast.html#abstract-grammar for details.
I like this. Duolingo does something similar for language practice. After you've completed lessons you can do a timed practice session where it will ask you to translate words you've already learnt. It counts down and the quicker you get it correct the more time gets added to your countdown.
Google should extend Right to be Forgotten worldwide, says EU data watchdog
Okay, based on the other replies here I sense a common theme. The Fry's in Wilsonville Oregon is in a former Incredible Universe location. No discernible theme to the decor, it's mostly a "cheap warehouse" vibe.

It's big, but some of the California Fry's stores I've been to were much bigger, and much better stocked.

But Fry's knows how to keep costs low. I'm pretty sure that for at least a decade after the takeover there were a number of trucks with Incredible Universe markings parked outside. No point in repainting!
Nodes have multiple children. In this case, you can split the <p>'s children into three: a "text node"; a <b> node; and another text node. You'd end up with something like this:

{
p: [
{ text: 'This is' },
{ b: { text: 'bold' }},
{ text: 'text.'}
]
}

Not that I don't agree with you -- my suggestion is pretty messy and doesn't even go into how we'd deal with tag attributes -- but it's doable.
square brackets are a reasonably common way to access data in an hash-like object. both Javascript (objects) and PHP (associative arrays) use/allow square brackets for this.
Olijfolie Manolakis is biologisch, puur en zacht. Super extra vierge olijfolie
The toolkit is gaining some attention, thanks guys!
I dislike the use of the word drone too. To me it means something that is autonomous. Most hobby quadcopters are not autonomous, although they could be with a sophisticated flight controller. So they can technically be autonomous but usually they are not. So "drone" is a generalisation. It's kind of like saying "I drove my vehicle" rather than "I drove my car".
Lackey: "Boss! Boss! Our system is a hopelessly complicated, over-engineered monstrosity! The "Hello World" tutorial is 20 pages! Our business is doomed!"

Boss: "Calm down Jenkins. Just write 'Enterprise' in front of everything, the suits will love it!"
Indeed somehow I managed to do better than 100% of people with a score of 432; I thought it was a reasonably good result but hardly worthy of 100%.
I'm not sure fpga's are the least efficient everywhere,aren't there micro+fpga chips(like xilinx zynq) used in high/medium volume embedded system ? and wouldn't better tools increase volumes, leading to lower costs ?
> I've head one should read a lisp function not from the top town or outside in, but rather from the most indented part first, and then work your way up and out to discover the definitions.

That's why the pipeline operator (->>) is common. Then you just read it from up to down.
A discussion about the implementation of the spec in jquery. It started on June 21

https://github.com/macek/jquery-serialize-object/issues/24
Aw... Was reading, clicked to page 5:

>Warning: mysql_connect(): Can't connect to MySQL server on '127.0.0.1' (111) in /var/www/spritesmods/connectdb.php on line 2

Edit: seems to work again!
Oh man, this is pretty big. Good as it was at the time, it's nice that ROS finally, finally gets the shell it's always deserved.

I wonder how well it will interact with Windows apps that deal with explorer.exe.
I recognize the difference between science and math, but the author, in the article, specificially says "scientific journal".
Forging JSON Web Token in JavaScript
"And if you're still running OS X Mavericks or below then why not try it out?"

In other words: "insecure" or "unstable" - choose one.

I'm all for upgrading to Yosemite, but this is a problem.
Good job
https://twitter.com/TehPUG/status/537911745323753472
Thanking the Prince of Mathematics: Carl Friedrich Gauss
I humbly disagree. JSON Pointer is a syntax for specifying a location in a JSON object. Multiple form items with JSON pointer strings as names would map to the equivalent of a number of add operations in a PATCH call that start with an empty object.
But bandwidth is a limited medium. It is fair IMO that those who use it a lot should pay more,
Rust is sacrificing a lot for the sake of memory safety without garbage collection. The whole language is in some ways an experiment as to whether modern language design can ameliorate the costs of doing that. But for the kind of problem where Go would even be in the running, you don't need to pay those costs - maybe OCaml (or even Haskell) would deliver the benefits you want, without the complexity costs?
Trying to fight against the deletionists on Wikipedia with their spurious claims is a barrier to entry.
But only one Tweet isn't really a proof.
I don't why the committer can't leave a message like:

> Formatting change. Use `wdiff` to confirm that changes are just stylistic

The reviewer runs `wdiff` and confirms that the commit is just a formatting change. If the language is not layout-aware, then he will know that none of the changes are "semantic". Now he can look over the changed lines themselves (not necessarily with `diff`; just looking at the changed lines themselves) and see if the change is worth it/in line with the project.

PS: Maybe there should be a "column diff", something that checks that one file uses the same alignment as another file. I'm not able to show it here since HN will truncate spaces between words ( ;) ), but the point is to check if two files uses the same alignment, for example that in

> var v = 12

the next variable declaration, the numbers line up. I don't know if that is worth it, and the check would only be valid for some parts of the files.
Ahh Enterprise. Protip for anyone applying for an enterprise job: just copy-paste https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris... when they do the mandatory fizzbuzz test in the job interview. And then complain in the github issue tracker if you didn't get the job.
> As opposed to...? Online medical literature in general is noted to suck, even the specialist websites. Even paid professionals - my housemate returned from the doctor two days ago after a norovirus scare... and the doctor claimed the incubation period before symptoms was 2 weeks... when it's actually 1-2 days.

Now get some good quality evidence - something like a Cochrane review or NICE guidance - and try to edit those medical pages.
Is the 'virtual' in virtual dispatch interchangable with 'runtime' or does it imply something more?
Heh it works for IBM
Hey guys, JP here from Taxamo. Many thanks for linking to our content. The new rules affect all suppliers of digital services to customers in the EU, only B2C supplies are affected. We have developed an EU VAT compliance solution designed around these new rules: http://www.taxamo.com/#solution We have also created a knowledge base explaining the new rules and why they have been introduced: http://support.taxamo.com/
Whose rule of thumb?
> Google protocol buffers help, but don't come with a standard RPC mechanism.

Sounds like you want Thrift.
If you were looking at uncommented C with meaningless variable and function names, do you think you'd be faster? I think part of what makes it seem daunting is being familiar enough with the disassembly to read it quickly and easily.

If you already knew roughly how a HDD controller would need to work - what kind of I/O it would need to do, both at the controller end and the head movement end, couldn't you work backwards from there?

Reversing something like GC as needed in an SSD I can see as being harder, but again, wouldn't it largely be a matter of knowing that a certain number of parts of particular shapes - whether it's marking, tracing, copying / compacting, etc. - need to exist, and and finding them?

I think that if you really got stuck into the problem, it wouldn't take as long as you think. A lot of it is familiarity and fluency with the disassembly, I reckon.

(The closest I've gotten to this professionally was in reversing the Windows kernel and related user-side DLLs to debug a particularly thorny issue we had with the Delphi compiler, when I was at Borland. Not quite the same, but still a lot of staring at disassembly with not a huge amount of help. Ultimately, it only took a few hours of effort, in large part because there's so much tooling support, and things like messages and public symbols were available.)
After waking up this morning and seeing the replies to my comment, I realize my answer was not sufficiently nuanced/specific. My first paragraph was in response to the author's explanation on "scientific journal" peer review, which I think is incorrect. But that explanation, for math journals, is reasonable (as pointed out by jdoliner and n09n).

My comments on his papers potentially receiving more peer review was a distinct commment, which does not rely on my qubble with the author's definition of peer review for a "scientific journal". I should have made that more clear in my original comment.
othmanaba's
At http://www.europarl.europa.eu/meps/en/map.html you'll be able to find a representative to contact. For more detailed information you can have a look at http://www.europarl.europa.eu/aboutparliament/en/00b3f21266/...

Of course, although I believe they have to react, chances are you get a reply from one of their aides.
DJ Glove Demo
There's a better solution than zero rating on mobile plans: a very low bandwidth (4-8 KiB/s) unlimited connection once the full speed limit is reached. TIM does this in Italy and it doesn't care what sites you access in this low bandwidth regime.
Olijfolie Manolakis is van de allerbeste eersteklas kwaliteit en komt van Kreta
Seems I'm better with jtag cables than with mysql queries. I just did some judicious adding of indexes and now the site should be responsive again.
$10k a head is typically averaged across all your functions, engineering being higher and almost every other function under $10k
Amazon uses microservices because they need to at their scale. But there are maybe a few dozen companies that operate at that scale. 12 years isn't enough time to learn a lot when there are only a few people doing it, just as in e.g. spaceflight.
For your Android port? Sign me up! :)
I love my Lensbaby (an older one), but the effect is a bit different. There is no light leakage behind the lens like there'd be with freelensing. You sometimes get fun and weird artifacts from light sources just outside the frame, but a subtle streak over the image where light enters the camera behind the hand-held lens ... not so much.

Both interesting effects, though.
It makes diffs look nicer when you add and remove items
But what if there isn't a single cohesive team developing the website? There are no globally established practices for CSS name-spacing and there are multiple ways to do it (based on what tradeoffs you're willing to make).

See font-awesome for an example of what I mean by library (yes, they prefix everything with `fa-` which is fine until the bootstrap team comes up with a FizzActivity widget in bootstrap, which you wont be able to use together with fontawesome)

What happens if two developers namespace their class in the same way in JS? Well, with CommonJS this is pretty much impossible (import by path), and even without CommonJS there is no incentive to do it as you can easily pick a huge namespace without it affecting anyone. Just adding `var shortName = long.namespace.containing.shortName;` fixes the long name without that short name having effects anywhere else in the code or any of the inner functions (components) you may call, because... lexical scope.

And sure, we can hand-code everything in assembly too - after all thats what compilers do anyway. But that doesn't mean that the higher level language has all the problems that assembly has. A tool like this can do a lot of the job for you, by generating unique names and letting you refer to them via any (variable) name you like.
Steve Jobs Lives on at the Patent Office
I don't see why would you need to have a load balancer for the zipcode service; if the service truly scales linearly with the number of application servers, you can simply tie them together 1-on-1 with simple configuration.
do any server-side environments currently present an array/array-like structure from request parameters with duplicate names (and specifically without any kind of array indicator, like name[] in php requests for example)?
Fira Mono – Monospaced Font by Mozilla
Shazam, Swiftkey and Big Health share their experience with iOS8
Not sure. However, Nineteen Eighty-Four does mention computer-generated low-quality novels as part of the universe.
VCs don't care about burn rate. They care about founders who don't care about burn rate.
There is another answer pointed out multiple times throughout this thread which is "because name clashes happen if we want to write components in isolation from other teams". Its just that the "writing separate components" part never happens exactly because the infrastructure doesn't support it (except in situations of dire need like fontawesome), so there are "no problems" :)
Just to add on to the dogpile, even the Fry's in Indianapolis is in a building originally built for an Incredible Universe.
She was basically the first marketing hire at Twilio and everyone I've talked to from there had great things to say about her.
I'm with you completely. With the re-usable resources I have in my RC-model 'section' of my personal laboratory, I can fabricate any number of different flying machines - quadcopter included. The only reason thats possible is because the idea of re-using parts is and has been an essential part of the RC/Flying-thing hobby sphere, for almost a century now.

The old saying goes: Build -> Fly > Crash -> Goto Beginning (Build..)

In the RC/Flying-thing hobby sphere, we're sort of experiencing our own "Long September" with the entry of all these new pilots, who don't seem to have much field discipline, nor construction/re-construction skill of any worth. It is really disturbing to see it happen at some flight fields, but it is a matter of market and economy - and, somehow, general willingness to commit to the hobby rather than just consume it.

For the cost of one ShinyCatalog-friendly disposable drone, (Parrot, I'm looking at you.. DJI too..), you can get yourself a full set of electronics and parts and other components, and use it to build yourself a fleet of different flying machines.

In short: crashing is part of the hobby. By parts you can crash easily; learn to build, too! building is a big part of the hobby - or at least, should be.
> 1. Am I the only one that really loves that `print` is a statement and not a function? Call me lazy, but I don't mind not having to type additional parentheses.

If you think the parentheses are bad, why wouldn't you prefer a language like Ruby where you can omit them generally? Leaving them out for just one special construct seems so insufficient as a cure.
Now I feel like a huge grouch. Thanks for taking it well.
haha.. in #1, the easter egg "not a chance" :) :)
Yes, RTL level of abstraction is a way too low, even for most of the ASIC things. Yes, we need higher level HDLs (more abstract than the said Chisel and Bluespec). I'm working on it, stay tuned.

But what I cannot get from this article is what is exactly wrong with the current FPGAs design? They've got DSP slices (i.e., ALU macros), they've got block RAMs and all the routing facilities one can imagine. For the dataflow stuff it's more than enough.

Of course it would have been much better if the vendors published the detailed datasheets for all the available cells and the interconnect, for the bitfile formats, etc. - to make it possible for the alternative, open source toolchains to appear. Yes, their existing toolchains are, well, clumsy. But it is still quite possible to abstract away from the peculiarities of these toolchains.
That's a Pythonization of C's conditional operator.

foo = qux == NULL ? bar : baz;

Of course, C does not do list comprehensions.
Ada is a modern language that allows for very low level code and is about as fast as C.
Maven is awful but the community has adapted and now we have good build tools like gradle.
Inside the Dynomak: A Fusion Technology Cheaper Than Coal
Yet another article that conflates a design patent (akin to a trademark) with a utility patent (for an invention.)

I'm starting to believe this is on purpose so people will be fowled into thinking you can get a utility patent on a "glass cube" or "rounded rect".
Hhaha, an informative and humorous article. I love the Office Space reference!
When I turned squares on I hit a wall at 23^2 etc. I can do it, but it's 10 seconds just to do that calc. Basically anything bigger than 14.

For the rest it was more about staring at the numpad (which I never use) and typing in my answer. If I typo'd I lost several seconds as I'd not have a finger on backspace :(
Bargain! I'd like cures for cancer and malaria, an interstellar space program, an app that builds other apps without coding, and an O(1) solution to the travelling salesman problem. kthxbye!
This is a straight up political article. And unfortunately, it misses the mark when it comes to technology.

The only reason there is an issue is the government grants monopolies.

If the government didn't artificially limit competition, cable and wireless companies wouldn't be able to traffic shape because their competition would use it as a selling point.
I commend their dedication, but I don't quite understand why they do it. Is it fun to develop? What do the developers get from it?

I understand what the Linux kernel developers get (it touches the lives of almost every living human being) or the BSD folks do (it's a exquisitely well built OS) or the Haiku ones (it's a really cool OS), but reimplementing Windows, with all the cruft needed to be binary compatible is an exercise the joys of which completely elude me.
print-as-a-function has a few nice qualities, like the ability to pass it around as an argument to things so you can do (stupid example):

map(print, range(10))

It can also take some kwargs that allow you to do things that are a bit clunky with the print statement.

Which is the more intuitive of the following?:

print(errmsg, file=sys.stderr)

print >>sys.stderr, errmsg

(I didn't even know about the latter until I found it in someone's code and looked it up) Also, suppressing line endings:

print "cats",

or

print("cats", end='')

My lazy-brain prefers the statement. My sensible/code-review brain prefers the function.
okay.. now so.. what is the crucial step in this whole thing?

is it generating random numbers with random operators i between them and evaluating whether the solution given by the user is correct and count the number of correct responses??

By crucial step i meant the logic on how he calculates the percentage of people below.. how it changes when the operators used are changed.(is it dependent on operators in the first place? ) and when the range is changed? etc..
ضف وجهك
Scientists predict green energy revolution after new graphene discoveries
Show HN: DeSVG – style SVGs with CSS easily
Sincerely, Transforming Code into Beautiful, Idiomatic Python – by Raymond Hettinger... http://youtu.be/OSGv2VnC0go
Whhats wrong with 7.?
What about [alt]+arrow?
In general, Ruby's syntax (or rather, semantics) is ambiguous (you don't know if a statement without parentheses is calling a function or just accessing a value). I prefer unambiguous syntax.

However, Python's `print` statement is (1) well-known, (2) very useful (for prototyping, debugging, in REPL), and (3) shouldn't in general be present in production code (logging should be used instead). Therefore, omitting parentheses would help ease debugging and exploring (REPL prototyping), while not making code more ambiguous in general. Yes, it's a special case, but `print` is also has very special, very specific use-case.
To me this is not an intuitive leap (and does appear off-topic at first blush), but on further rumination does indeed present an important insight into the root cause of the Eich debacle.