skysight-inc/HackerNews huggingface dataset:
"It is easy to notice that in Java, one might have implemented infinite number of for loops trying to do such lookups using iterators."

??

val list3 = list1 ::: list 2 // returns a new list of 6 elements

final list3 = new ArrayList(list1).addAll(list2);

list3.drop(2) //return a new list without first 2 elements

new ArrayList(list3.subList(2));

list3.filter(s => s > 4) //return a list with elements 5 and 6

new ArrayList(list3.subList(4));

Also the Java versions use standard convenience methods which seems preferable to language features since anyone can re-implement them, or add new ones. Plus the copy-on-mutate behaviour is optional.
Databases. Oracle, Microsoft, etc. have figured out a lot about how to make high-performance query execution engines and transactional storage systems and written about very little of it.

Research has caught up some, but it definitely lags.
Windows Phone 8 users cannot access Google Maps from the browser
Nice try friday troll !
I'm sorry but this is possibly one of the worst comments I've seen... There is a conservation of complexity that you just can't get rid of in an application. To suggest that Scala encourages small programs, you are also suggesting that Scala is only appropriate for small problems, and thus it isn't a scalable language.

See: http://c2.com/cgi/wiki?ConservationOfComplexity

Ultimately, the baseline requirements drive the minimal complexity of code. Sure a poor programmer can drive up the complexity with unnecessary constructs, but the converse is not true: a great programmer can drive to simplicity. For example, a flight control system for a 777 can never be reduced to a single file of 700 lines of code. It will likely always be 2000+ files, and have lots of inter-dependencies.

So I guess (run time safety issues of Scala aside) Scala is not an appropriate language for complex problems by your own words?
Well, I'd imagine something like a laptop hooking up to the target machine, over both USB and firewire (or something like it). The USB interface would act like a disk, holding an executable or two you'd like.

Walk over the process list in memory, and find one that's got good privileges but stays asleep. Patch its code to call mount (anywhere's fine, maybe in the heap, or if it's asleep in sys_read, in the destination buffer), alter the saved IP in the task table to the mount call, and (this may be the tricky part) move it to a CPU's ready-task list.

After mount, play the same trick to run an executable, and change it's UID to root. Hell it can just spin in a get UID/sleep() loop until it's ready. Then you've got all of root-userland to do what you need. That can include installing keyboard sniffers that save the last kilobyte or so, which is saved or transmitted when the right entry point into the encrypted-mount path is hit.
Persecuting.US - 1m US citizens sorted by political affiliation from Twitter API
This tool (inception) has been around for a long time ... I remember playing with it at Blackhat 2008.

Edit: May not have been inception, but something similar... I remember unlocking Windows XP laptops!
I've never even heard of this device. It sounds like a waste of money when a Nexus 7 is just $50 more. Did it even have a substantial number of sales?
Physical access always has been much harder to protect against than anything else.

If someone is trusted to get access to the actual device then it's pretty much game over. Do you check the keyboard cables for key-capture hardware? Do you check for all the other nefarious devices? Do you check your OS has not been tampered with?
Another post[1] on the same website suggests that DMA is also disabled for Thunderbolt when the machine is locked.

[1]: http://www.breaknenter.org/2012/02/adventures-with-daisy-in-...
As a user, scanning a 2D array of tiles feels like work. I think this might be part of the reason: if I don't remember how a particular app or page is laid out, I have to scan both ways and decide which way makes more sense.

Maybe a single convention could emerge per mobile platform, but across the entire web, I doubt it, and honestly, my biggest problem with 2D grids is that scanning every item systematically feel very unnatural, and I doubt I will ever break that habit. Decades of reading has led me to see me to see Roman text as coherent, directed strings, and lists also naturally elicit in-order scanning behavior for me, but 2D grids of squares or rectangles are used for things that require different scanning behavior. When I look at maps, board games, and color or fabric samples, for example, I tend to hop around looking for patterns among groups of tiles, combined with occasional breadth-first scanning outward from points. My first reaction to a 2D grid is never to systematically scan all individual items but to start jumping around impressionistically, and then to switch to a systematic scan if the impressionistic method fails. Naturally, switching provokes irritation, both at myself and at the situation.

I wonder if the experience is different for people who grew up reading Chinese.
I have a rant coming about these things too.

* I started out with Backbone. It seems ok as far as it goes, but a bit annoying in that there's enough "magic" and stuff going on that I don't quite understand it completely, but without enough magic to really make things simple and easy.

* Angular.js. Now this is more like it in terms of magic. Then, the other day, I decided to add a date picker to one of my forms. Uh oh: http://www.grobmeier.de/angular-js-binding-to-jquery-ui-date... - how many lines of code just to make it a date picker? I couldn't have written that code myself without several more days of banging my head. Wonder what'd happen if I really try and do something it doesn't agree with... So out the window with that for the time being.

Also: a lot of these tools have tutorials that don't really walk me through all of what I want to do, which initially involves a fairly straightforward "CRUD" type of application. I want to see how the framework deals with both 'make me a new one' and 'edit an existing one' forms, for instance. I found that very irritating about the Angular tutorial, which is otherwise very nicely put together.

Now I'm testing out jquery-pjax, and... so far I'm happier. It behaves more like a web application that I'm used to, sending around HTML, and staying out of my way. And, seeing as how all of these things require that the server do its job in any case, it has more of a "don't repeat yourself" feel to it: click on the button, and the server gives us some new data, without repeating the whole MVC cycle on both the client and server. I got the idea from this post: http://37signals.com/svn/posts/3112-how-basecamp-next-got-to...
At this point it's pretty clear that video DRM and digital purchase pricing exists as they do because they'd rather you didn't buy movies, but rented them when you wanted to watch them, or (preferably) rented the capability to watch them.
Robotic band jams
You are not paying for the content, you are paying for an alternate way to consume the content.
Pricing and convenience are definitely the two factors that will have the most impact on adoption. Being competitive won't stop all piracy, but as iTunes has proved with music, there's a big potential customer base just waiting to be given what they want.
When you say, "coders have solved for this issue", what do you mean?

Do you mean that the movie industry's coders have made DRM so un-intrusive that it's no longer an issue for consumers? Many would disagree with you there.

Do you mean that "pirate" coders have been able to circumvent all existing DRM techniques, so consumers can always get DRM-free movies if they seek them out? That may be true, but it's a continuing arms race with the movie industry, so it's not an ideal solution.
By some estimates industrial espionage against technology companies by China is second only to domestic security in terms of funding and manpower.

What estimates? That sounds frankly incredible.

Given that China's total population is far larger than the total population of engineers in the entire world, having the manpower devoted to industrial espionage being anywhere even close to that dedicated to domestic security would imply that there are more "chinese spies per engineer in the world" than there are "chinese police per chinese person".

If I do, in fact, have my own personal Chinese spy, I'd like to say "hi" and "i'm sorry I didn't get much coding done today."
Looking for the cliff notes version all the time makes life boring.

Not for me, I prefer doing stuff (like typing this inane comment right here) to hearing about trivial things others did. In this case, even the cliff's notes are kinda "meh".
How is

int*int*int*int*int

or even

int^5

better than a plain int[5]? To me, the use of mathematical operators * and ^ causes dissonance.
RPS is one of those games that is so nuanced and complex even though the rules are so simple.

I wonder if it's a game that a computer could reliably win (and not that one that cheats).
Has anyone else noticed how odd these benchmarks seem?

They run sunspider on different browsers in different OSes and use the results to compare processor performance per watt.

On the same OS, with the same browser, I can have higher variations on performance per watt with a single compiler flag (fastmath, -O2 vs -O3, etc). The same could be said by changing the kernel's scheduler. If we keep in mind that the browser, compiler and OS are all different for these tests, how can we accept the results as anything but noise from those differences?

One striking example of this is that the new version of chrome on the nexus 10 could easily account for the performance difference in the kraken test. How can we use that data to compare the performance per watt of the processors?
I don't know. I don't use iptables. The last time I deployed Linux was for an Android Continuous Integration server since the SDK won't run on the BSD's.
Use the phonebook, or better yet, scrape it.
Which ones? (I'm not ready to call Twitter a success.)
Well it hasn't arrived YET

I'm very excited for mine. I don't anticipate wearing it everywhere, but for vacations it will be fantastic.
I'm a software developer by trade, and here is my opinion: Software should be treated as language, and thus not be patentable.
Lawyer taps Google Books, finds 18th century argument against death penalty
Oh, I should have known this would happen :) Thanks all!
I'm working on an app which uses Ember 1.0.0pre-2. Over the past few weeks I've been lazy / busy doing other things so the project was set aside for a bit. I came back to it yesterday, opened the guide page (http://emberjs.com/guides/) and noticed it had been updated. I was excited and immediately checked the Router section. The guide reflects a brand new router API, which from what I've read makes it much easier to control the state of your application.

The problem with Ember right now is the documentation doesn't align with the most recent public version, which will confuse the heck out of newcomers and frustrate people who are still learning Ember. You can however, check out master to get the new router implementation.

I'm personally making the jump to the bleeding edge for two reasons:
1. The old router API is very hard to grasp. A lot of unknowns as far as where domain code fits when building your application using the router.
2. I don't want to be stuck struggling to find documentation for an already difficult API to work with.

With all that said, Ember is worth taking a look at as far as an 'improved' MV* experience, but you have to be careful as it is in a state of flux.
I don't quite understand the 'polluting the html' argument. How is this worse than using a templating package like Moustache? Plus, it's Angular's mission to extend html with the framework. Says so right on the homepage.
Is this possible to change to the scrolling direction to up and down only? It would then feel more like reading a newspaper and also work well with HN's scoring system.
The second half of one, right?
I'd read it, and learn how Windows 8 app development works.

I'd potentially notice security issues and inform the author, if there are any.

I might notice performance issues and point those out.
It's still slightly problematic for me. To prevent the re-activation of DMA, I have to disable the Guest account. Unfortunately, this also disables the "Find My iPhone" application. I would like to have both. Is there a way to have the Guest account, but not let people log into it when the machine is locked?

EDIT: Got it. It reactivates the Guest user when you turn on the "Find My" feature, but you can deactivate Guest user afterwards.
You mean "They won't publicly say they dislike something their company likes" That's true, for some of them. Others I can still see them saying "patents are more trouble than they're worth because they're outspoken types.
Feed readers, Apple, Google and every other search engine. etc?
Yeah, knockout is great. And it's relatively(to angular) easy to understand what's going on.

Also, in my tests for an app(PhoneGap) I did recently, it seems much faster than angular(rendering seems to take half the time)
> Why did it take a dermatologist (which would put her in the ~90th percentile of intelligence) so long to realize she was repeating the same thing over and over and over, and that this could therefore be automated?

IANAL & IANAD, but I'd wager small sums of real money that there are tons of legal implications around a doctor explaining how to use a medicine vs handing it off to a machine or even a nurse or other medical practitioner. Think: "my doctor didn't properly explain how this medicine would interact with this other medicine and as a result I was harmed, now I feel that my doctor should be held liable." Were I a doctor, that would probably be the very first thought in my mind immediately following how to automate an otherwise time-consuming process.

There are also considerations about ease of access. To a technologically lay person, the perceived complication and costs around a professionally edited instructional video can seem insurmountable or not cost-effective.
MIPS and ARM are hardware, not software.
Let's not forget that Memeto automatically uploads all your images to the company's servers, with no apparent way to disable this "feature." Creepy.
> But because Android has more phones in the marketplace than iOS is it possibly now for developers to make Android 4.0 the minimum and still get a respected number of users?

There's no easy answer to that question because it depends on what your target use case actually is.

Remember that the goal of Android is to be a universal platform for hardware, which means that the target devices for Android are much more heterogeneous than iOS - and therefore the intended use case as well.

I use an out-of-date Android device as a portable music player and an up-to-date one as my regular phone. Even that's not that wildly different if you start imagining people running Android on their household appliances.

So, in my case, even though I technically still run Gingerbread, I'm fine with Android applications requiring 4.2+, since the only device that runs Gingerbread is essentially a single-purpose dedicated device. I imagine we'll start to see more of this behavior in the future.
No, it really isn't the problem at all - you are clearly misunderstanding me.

It is no one's job to encourage any gender specifically to join any specific discipline.
Women offer nothing over men when it comes to engineering discipines, and men offer nothing over women - they are EQUAL. Therefore focussing on gender as an attribute is pointless.
Any policy or approach that trys to encourage women specifically to join our disciline is unethical and sexist by it's very definition. This is what I'm talking about in relation to the article. The proposed solution is wrong and pointless to pursue - should we add a woman to every tech panel even if she has no business being on that panel intellectually? Adding a "woman's voice" would add nothing, solve nothing and merely perpetuate pointless gender wars.
From what I understand, a lot of the FPGA and vector calculus stuff that financial-services companies are doing is leaps and bounds ahead of the published materials. But I'm not under NDA in any related projects, so that's just hearsay.
and this is something I can upvote :)

although neither article supports your line of reasoning ("violence -> venting frustration -> less crime"), all of them mention the lack of time as a reason for crime drop.
> I'd say 'simple' is almost the penultimate goal

penultimate = second most important ("next to last")
Not very useful really

Open machine and plug unglued USB connector to the motherboard. It is probably not that difficult to unglue the connector with a heat gun and some pliers or something.
So is caffeine actually easier to measure than coliform bacteria detection? It'd be cool if this resulted in better ocean water safety reports.
@bonch (your comment is 'dead')

The idiosyncracies that you have to get into when you want to write a proper client for humans, and what you actually have to worry about if your aim is just writing tools that use IRC (internal deployment bots, or whatnot) are miles apart. The vast majority of users will only be interested in the second.

Just follow the RFCs for the features that you need, and ignore everything else.

Anyway, IRC is plainly simple if you look at it's competition. I can use IRC with netcat without any significant effort; there are not a lot of other things I can say that about.
Ok. If that's the case, I take back my comment.

It's not clear from the article though. Usually updates are clearly noted in an article with brackets and italics and the original content is left untouched.
> a system with many web browsers on it.

Try multiple systems (multiple operating systems), with combinatorially many possibilities for the interesections of {operating system, browser type, browser version, screen size, resolution}.
It's complicated to go through all the allegations of risk, which are almost all unsupported by serious studies. The birth defects are absolutely a huge risk, but the allegations of depression etc are unfounded. Most dermatologists agree that those studies were supported by accutane competitors, and that fair studies show the drug actually reduces depression (by removing the stressing factor of acne).

Because most doctors are not focused on tech. There are probably a lot of smart things you could do that have nothing to do with tech that you just wouldn't think about.

The video doesn't replace everything. It covers the bases and then sometimes a small number of questions remain. She used to get a ton of interrupting questions - she knows the common questions and touches on all of them in the video. Sometimes one-off questions remain.
Here Comes the Next Microsoft Office
are you referring to the "The fastest scripting language on Earth" tagline? i saw that as a way to say "look, this is a compiled language that you can use as a scripting language" with a touch of whimsical humour.
Chicago's CIO doesn't believe in 'good enough'
Well, you'd have to build your own binaries from source, and then ship those.
It won't entirely match the SDK, the SDK has non-open source components.
Well, if they work on version n+1 internally and secretly it's highly unlikely a patch for version n will have any value.

In order for patches to be relevant, they should be on the HEAD of the project where most developers are working, not the old, released, finished, version.
I can't find the article now, but heavy coffee drinkers often have lower BP immediately after drinking coffee. And cutting coffee doesn't necessarily lower ones BP.
Over time, yes. Your statement about physical access == compromise is missing that crucial detail. There's no reason why someone should be able to access all your data just because they have physical access to your device for a short period.

If you really want to do the analogy thing, the DMA vulnerability would be the equivalent of a safe with a door where no key is needed in the back. It would not be a very good safe.

Just sayin'.
CMU Software Engineering Institute (http://www.sei.cmu.edu/) - Pittsburgh, PA

Dev team looking for:

* A Frontend Web Developer

* Senior & Intermediate Web Developers

* A Dev with some linux kernel Fu

Things that are important to us:

- Polyglot tendencies and a willingness to learn new tools/languages
- Solid coding skills, and a proven track record
- Ability and desire to work at all levels of the stack
- Ability to multitask, and keep organized with multiple projects at once
- Great writing & presentation skills
- Ability to interact with customers

Things that are helpful:

- Security experience
- Experience with distributed systems
- Virtualization experience
- Comfort in linux environments

We currently have projects in Python/Django, Java/Spring, .NET, C++, and have a little Node sprinkled in. Always something new to learn, so you have to love the game. It's a great crew to work with - we have some really smart devs here. We're at a university, so its a pretty comfortable, academic environment - and ideal if you are interested in going back to school for a graduate degree. Our active development projects take more than two hands to count, so multitasking is necessary, but its hard to become bored.

Posts are making their way onto our job site now. Email me (at my HN username at sei.cmu.edu) with a resume if you are interested. I can put recommendations in for promising candidates. Sorry, no telecommute.
> How exactly would this work? Would the movie studios ask you nicely to remove the file from your computer after three days?

Isn't that exactly what stores do that rent out movies on physical media?
Turkish government agency spoofed Google certificate “accidentally”
Marionette (a framework built on backbone) offers a nice solution. It still keeps things pretty light but does a lot of the groundwork you would normally have to do with backbone for you. Eg cleaning up event bindings, provides a region/view manager and an application wide event bus.
> Long-running irssi in tmux. Throw a shellscript onto your desktop that pulls up a terminal with ssh, and runs tmux when you click it (should be just 1 line).

Which doesn't resolve issue 1 (since the server is not available outside of 127.0.0.1 on the ssh host), or issue 3 since it can't see what happened when I was offline (though the bouncer idea is a good one, if fundamentally flawed in that it requires its own full time connection to the IRC server). My computer travels with me, and can not maintain a full time connection to the internet.

> There are of course encryption plugins for all the major IRC clients, but if you think you need one you are almost certainly Doing It Wrong(tm).

Why? Not everyone in the company needs access to client data. Why would I not want encryption options? The marketing folks don't need to know the internal hostnames of a client. The sales folks don't need a copy of customer chats while troubleshooting an issue.

> not sure why you would want one

Seems like a trip into OS holy war territory that I have no desire to get into.
> "A fix may be as simple as changing the two greys"

You're drawn to 1. the contrast between the colors and 2. the visually-emphasized smaller box pulled 'on top' of the larger box of text.

Wwapping the greys would do nothing for the net contrast. If anything it'd exacerbate the effect by making the block of text darker and less noticeable. Lessening the difference between the two greys would cause them to blend more and take out some of the 'pop'.

But I think 2. is the bigger problem. You'd want to put the 'score' inside the larger box to de-emphasize that element.
Yes, clearly I am nobel. I look past gender in nearly everything.

Everyone else should as well.

I am highly intolerant of anyone who talks like the examples you give. Those people need to be discouraged and ostracized.

But abstaining from all male panels is not the way to combat sexism.
api.jQuery.com redesign