skysight-inc/HackerNews huggingface dataset:
Tried a Bluetooth keyboard? I have a cheap Chinese knock-off of an Apple keyboard and it works fine. In fact, when using my Motorola Xoom, I use the Bluetooth keyboard plenty when typing because a) typing on a screen is really slow and b) the onscreen keyboard isn't the most responsive in the universe, particularly when in a busy browser.
Short version: if all you need to do is to insert and check for existence (in this case, whether a node has already been explored), use a set, not a list. News at 11.
seen this before. whilst its great there are degrees of respect to have for C and C++.

the most productive code i have ever written generally involves me working around the constraints of the language to implement a paradigm which is missing at compile-time, or juggling macros and templates so that i can reduce boilerplate code down to a template with a macro to fill the gaps the template is too featureless to give me (vice versa, the template is there because macros aren't complete enough either).

its good to understand this deep language stuff though because you can understand why C/C++ are limited. for instance the C sequence points limit the compiler in its ability to perform optimisation, as do struct layout rules and many of the other weird and wonderful specifics...

what saddens me most though is that nobody has offered anything to improve C and C++ in these areas which matter most to me... its not even hard. just let the compiler order structs because most programmers don't understand struct layout rules.

its not a good thing that these things are so explicitly specified for the language - its gimping the compilers, which is limiting me. also it results in pointless interview questions about sequence points.. :P
This karma is just so ---. Sorry, dudes, I think some of you act like petty Hens sometimes. Watch--I get banned?
If only my Motorola Atrix was so strong.... sob weep
The glass was in a thousand pieces after hitting tarmac.
^ that's the one I use too
Video: A Timelapse of the Ageing Process
LOUIS VUITTON HANDBAGS OUTLET
THESE LOUIS VUITTON HANDBAGS OUTLET COULD BE UTILIZED REPEATEDLY ONCE MORE
It seems that stash is a good fit if you are also going to buy into Jira, Bamboo, and the other suite of products.

I'm working with a company that is using bitbucket, jira, and confluence at the moment. Once you get through the learning curve it works really well.
Same here with HD space being at a premium.

For anyone not yet using a hard drive analysis tool for discovering what's taking up all that space, DaisyDisk has served me well. For analysing Time Machine backups, BackupLoupe works well for identifying backup bloaters.
I could be wrong, but wouldn't it only be a violation to release the code after stripping off the license/copyright?
And with the number of users Bing has that's literally tens of dollars each and every year.
Even better is getting a programmer that knows enough about making X to not attempt to implement it.

Anyway the programming is such a multi-dimensional evaluation problem that you're just as wrong as you are right.

Think about it - there are so many things programmer SHOULD KNOW it isn't possible to know them all. Let's name them some of them - good architecture style, good API writing skills, good code writing style, good documentation style, company's internal workflow with all its nuances, compiler standards, compiler optimization, non-standard compiler behavior, version control system API, version control innards, database system, file system, low level operating system implementation, kernel innards, non-standard OS behavior, hardware knowledge, driver knowledge, non-standard hardware behavior, hardware compatibility, software-hardware compatibility, etc. (This doesn't cover assembler knowledge, binary represntation of important formats).

You simply have to choose to not learn everything about certain system to be good at other things.
You can fire a customer, you can't fire your boss
In general this is terrifyingly true, although this depends largely upon which business you're in. A market trader doesn't feel this in the same way that the boss of a graphic design studio might.
Bear in mind that Microsoft isn't exactly a well regarded player with the tech crowd. Many of us grew up watching our favourite technologies being assimilated and/or wiped out by them, so there is always going to be suspicion and resentment.
Great story.

Deep understanding of the language used will make you do a better job.

This reminds me of the story that I've run into once. The junior developer wanted to raise PHP's memory_limit parameter because his code crashed almost every time while writing big file content to the output. He didn't know what output buffering is and that he can turn it off and print the file directly to the output. :D
Rescueing a fail[ed|ing] project takes a very different skillset than managing one properly in the first place. Planning and executing is a hell of a lot easier than firefighting through a storm of finger-pointing and blame-shifting. Once things have gone wrong, most people involved lockdown and stop being helpful for fear of being seen as the one who made it go wrong. Managing that is a rare skill.

Ideally no one would risk projects going awry by employing "average" project managers and then having a single "rockstar" guy to sort out the mess if they do go wrong. It'd be far preferable to have brilliant project managers for every project. But pragmatically, that's never going to happen, so we need the "rockstar".
Yeah I'm stuck on os 10.6 because really nothing entices me in the next versions.

I really wonder sometimes if Apple is not slowly dropping OS X in favor of iOS.
Absolutely. I've had a few of these bosses myself.
Doesn't that separate silicon handle switching, not routing?
In my case it's also about location. I am a Spaniard working in the Netherlands for a few years now, paying high rents and being far from family and friends. I could live in Greece (where my wife is from and where we have a fully paid house) but unfortunately there are almost no tech-related jobs there. As a web developer almost 100% of what I do on a daily basis could be done remotely. I wonder if remote work could be the solution for thousands of people like me who have to leave their countries just to find a job.
I'm not sure if I wouldn't be dissapointed to hear that they couldn't.
Try using hnsearch, it's little publicised but very useful! A search for math (it's the 'Dear Startups... ' link):
https://www.hnsearch.com/search#request/all&q=math&start=0
Largest DDoS ever against a Bitcoin Exchange: 100 Gbps
I don't think your comment and my comment fundamentally agree. There are two issues at play here:

1) Did he copy propriety GS code that he had no involvement with. A lot of people seem in this thread seem to think he didn't, but as far as I can tell from the indictment it's pretty explicit that he did and I don't think that it's disputed by either side.

2) Was his intention out of malice (intention to steal trade secrets), stupidity or something in between.

The first is the point I'm making without commenting on the second.
Can't wait for filtering technology that detects intelligence in comments. If intelligence found, display comment.

MS has made flops, but also products they've worked hard on and made good over time. All tech companies have shitty things happen in their product life. Even car manufacturers. First-gen Mitsubishi Outlander - not a great car. Avoid. 2nd gen Outlander and above (2006+), new engine, better design, better features... very good car.
That's correct. And that's how most of parallel processing frameworks do it anyway.
It's a bit more complicated, you can reverse-engineer if the company is not willing to give the protocol, for interoperability purpose only and you are not allowed to publish the raw information you obtained during the reverse, but only a new interoperable product.

Journalistic treatment has probably distorted the facts so someone should probably go read the actual decision.
A lot of ThinkPad models have fingerprint scanners. The software connected to it sucks big time, as pretty much all oob software shipped with ThinkPads, but the hardware is there, and locking/unlocking with fingers works pretty decently. I guess we'd have to wait for Apple to discover it and fanfare it as the latest greatest invention to get any mindshare adoption of it though.
AU's GST is 10% so it's a $493 'fuck you' Down Under.
To be fair, there's no reason you couldn't share pins with a web app, as long as you're logged into iCloud on the web. Of course, once you have the map kit so iPhoto can display maps, well, why NOT make an app out of it?
Show YN: Get my new Ruby/Chef Deployment book for free
If you ever wanted to learn how to deploy a Rails server manually or automatically using Chef solo this book is for you. This book is intended to be a quick reference to best practices with new Rails deployments.

My book is still going through proofreading-I decide to release anyway to make sure there were no technical problems.

Please let me know of any technical errors or ways to improve the book.

Coupon to get the book for free: HackerNews2014
https://leanpub.com/deployrailsbluebook

I love how social the Ruby and Rails community is. I hope this book helps give something back to all you wonderful people that contribute to make such great tools with Ruby.
> but also because its basically anti-IP.

And, most remarkably, according to the EU legislation which tends to hinder lobbyists, at least once in a blue moon.
I love having bosses. They deal with customers, go to meetings, handle negotiations, make sure deals get done and basically do everything else needed to leave me free to solve problems and hack. Why would I want to give all that up?
Curious to know whether the fact that OS X is no longer a revenue stream might mean that Apple are more inclined to open it (or at least parts of it) up.

As with a mobile OS, the services layer on top of the OS seems as important as the operating system itself. With so much of the value in owning a Mac being iLife, iWork, iCloud, maps, iTunes, the Appstore and so on, could Apple open up OS X in the way Android is open (by which I mean for inspection more than contribution and just the core, not the services)?

Seems against their culture but this takes away one of the big reasons why they wouldn't.
I'm glad as I never bought into the "Skeuomorphism is the devil" hyperbole and find iOS7 particularly unpleasant to look at.
A fun fact about sequence points. C++ has switched from "sequence points" to "sequenced before/sequenced after" relation. And it is not really "all" previous side-effects that are guaranteed to be visible after the sequence point but only those associated with the sequence point.

In 'foo(b++, a++ && (a+b));' the sequence point introduced by the '&&' only makes the 'a' see the effect 'a++' but the 'b' might not see the 'b++' (function args are not sequenced in C nor C++).
There are many reasons to be proud to be French, but since the French law is just an implementation of an EU directive this is hardly one of them.
BBM voice will be the real challenge.
I didn't have any trouble with the C examples, but with C++ it just puzzles me why people would want to use a language like that in the first place. What does it buy you except bigger head aches?
The author sounds a little self obsessed. People usually ask this sort of question in the hope the will find something in common, so they can relate to their new acquaintance, and have something further to talk about. In her case, with very diverse possibilities for answering this question, it is far more likely than normal that they will find some common interest, but she only seems interested in one side of the relationship.
European Commission: ACTA Is Dead, Long Live ACTA?
Iversity – Open Courses
You need to define what you mean by "big enough" and "affordable", considering there are now 1TB SSD for ~$500, which I personally consider both "big enough" and "affordable enough"
Oh, I did not say I was unhappy. I just said I'm not content with the status quo.

And what does an engineer (by heart) do when things are off? Fix them. For me this means strengthening alternatives. I just recently released a side project in the Ubuntu Software Center growing the ecosystem with it.

I can't make a living with this though (yet), so I'm doing a regular day job too and there is not much choice there sadly around here (Germany).

I also have a family, so I have a strong incentive to keep a stable baseline income.

I'm working in the direction of doing something nice with my own company where I can write the rules. It just takes some time and effort.
Sure, they say they delete it.
Hmm, I haven't paid for a Linux distribution since I started using it over ten years ago.
After a while the legs and to some degree arms go out of sync with the rest http://i.imgur.com/EMGqXA3.png
No, bitcoin has a global history of all the transactions and how much at what time was sent from what account to what other account. There is most definitly a way to track the money (ish).

However you (or anyone) can set up lots of accounts for free and unless you tell someone, people can't easily match up account to actual person.
That is the same with any language. An expert should not only know the language as defined by the standard or canonical implementation, but also the majority of implementations for the said language and consequent deviations from the official language semantics.

Ergo, no one is actually a real expert in a specific language.
My dad is 79 years of age. He could never adjust to the digital world.

Something as simple as checking a hotmail account was out of his reach.

With his iPad he is able to:

- keep on touch with my expat brother

- see pictures of his grand kids on FB and emails

- catch up woth long lost fire do on FB

- read magazines without his glasses

...in general: just take part in the modern world as opposed to being an outsider.

If you pity him then your pity is misplaced because he is massively grateful to have a tool that enables him to commune with his kids and grand kids and to commune with us online.
Yep, that pretty much sums it up. I was hoping for a more detailed analysis of situations and data structures... not just ONE specific scenario.
Hmm... it seems European law seems to fair a lot better then American law when it comes to attempted abuse by big companies.

I don't know if it's just because the judges are more sane but well done. I think I respect the french slightly more now :)
There is, you need to scroll horizontally- there's no text wrapping on <pre> lines.
There's no such thing in France, maybe you're mistaken with some Nordic countries?

Edit : I was talking about the traffic fines.

Source : I'm French, which may explain my broken English.
Frankly, I never understood why anyone should be proud because they happen to be of a certain nationality.
If you'd read any of the background on it rather than down voting me, you'd know!
The EU company sold skype to an american company. Now they don't care to protect it.
I don't buy this argument. In my experience OpenOffice has no problem interoperating with MS Office's formats, but MS Office is simply a far better program. The reason I use MS Office is that's it's better enough to warrant the price compared to the free OpenOffice, and not any other reason.
I've written a couple of C tools directly on top of libuv[1] to play with it. I've got to say, its a great little library. Its basically nodejs's entire cross-platform standard library & event loop exposed to C, without V8 and without npm. It performs well, the code is pretty high quality and the internal documentation is excellent. The external API docs aren't very good though - I found myself reading through nodejs a few times to figure out how I was expected to use some of the functions.

I'm quite curious to see how much performance you lose through libuv compared to using the lower level IO primitives directly (epoll, select and friends). I know redis doesn't use any high level event libraries, but I haven't seen any benchmarks.

[1] https://github.com/josephg/sharedb (Caveat: This was an experiment and libuv has probably changed in incompatible ways since I wrote this code)
Happened to me, too. With the exception I have FileVault enabled. Contacted Apple Support and looking forward to resolve this issue. Otherwise I'm stuck with Mountain Lion. Can anybody confirm this has something to do with FileVault, actually?
pkgsrc also works, supposedly. I'm currently using Macports on 10.6, but wondering whether I should stay on macports (known quantity, huge number of ports), switch to homebrew (hype, easy to write & push new packages, lower number of ports) or switch to pkgsrc/pkgin (cross-platform, good number of ports, but very low popularity & likely support)
It's like being proud of coincidence. Weird, but hey, why not?
I think the key benefit of bitcoin here is that you have a choice as to who holds your bitcoin for you, as opposed to there being only one option: storing your money with a bank. You can store bitcoin with an online wallet or on your home computer, and there are risks in both cases. E.g. if you are afraid of getting hacked, or accidentally destroying your own keys (common enough to be a real concern), you may determine that storing your bitcoin with a service like Coinbase is better for you personally in your specific context.

The advantage of bitcoin is being able to have that option, not that it's always necessarily better to store bitcoin on your own.
http://portscan.me/ will execute an nmap scan on the request address and print it back. Even works fine with curl.
It's an interesting area. I've worked with Microsoft tools and technologies since 1986, right through to today. LINQ and the Entity Framework are two technologies I avoid because they push me into a design paradigm that doesn't work for me. Try encrypting an object before saving it to a database. And then try saving that object to SQL Server and a service end point, using the same data access layer. Try loading 500k records using LINQ on a netbook.

Sure, on Windows Phone I'm forced to use LINQ, and I've written some really crazy code to hide it from my app, but at least my app is fast.
I think the EU directive has been much influenced by the CNIL and the preexisting french laws. The CNIL (http://en.wikipedia.org/wiki/CNIL) was very influencial 20 years ago. It has lost most of its power now, but its main results remain.
What's the business incentive for keeping the keys and lying about it?
No chance this will happen. All their software and services only have one purpose, to help sell more hardware. Thats where their money comes from.
I disagree with the idea that wherever the majority lies it's automatically the center.
Like Google Webdesigner?
http://www.google.com/webdesigner/
"Strangely, most US politicians are doing little to encourage their use, and some are actively discouraging it."

Because they are friends with people in the oil industry?
It's not only about being thin, but making it light as well. Making it thicker and same weight and/or heavier is noticeable to more potential customers than even more CPU performance.
There seems to be a persistent myth that for-profit businesses are legally required to maximize profit, which is really not the case. It's perfectly possible for a company to have non-profit-maximizing strategies, especially in the short term. The founder might have some personal ethics regarding how a business ought to be run, or they might want to project a certain brand image, or they might be interested in maintaining a positive/motivating work environment even if doing so costs some clients or requires paying employees above-market, etc. As you note, fiduciary duties are much more specific. For example, screwing over minority shareholders in certain ways would be a breach of fiduciary duty; accepting investment under false pretenses may be as well. Simply running a company in a suboptimally profitable way, because it's how you prefer to run the company, is not. There are other mechanisms in place for handling disagreements over those kinds of things, such as investors demanding seats on the board in return for their investment, in which case they could vote to overrule your decisions (or replace you entirely, given enough seats).

To take a high-profile example, Chik-fil-A chooses not to open any of its stores on Sundays, because the owner believes the Sabbath should be a day off work. This may or may not maximize profits, but it's not an illegal choice even if it doesn't.
True. I may be the best driver in Slovenia, but when I want to drive to Manhattan, I will have a bad time (pun intended). I will learn to drive there faster than somebody who is also bad in Slovenia, but I will still need my time.
Thanks, I was not aware that this was corrected in a later edition.
When Ubuntu's new dekstop system came out a few years ago (when I last used Linux - I think it was named Unity), it really slowed down my rythm. Part of it was that it generally slowed down the system (but maybe the hardware was a little too old/slow for it anyways), part of it was that it was unintuitive and thus slowed down my workflow. Mac doesn't do that - multitouch really helps here, though, so the comparision might be unfair (since multitouch requires really good hardware touchpad first).
When the service guy in a former job quit, the databases at the customers' production servers started to be corrupted. It appeared that he had manually logged into the database at every single customer regularly and fixed the problem on site. I don't know if had told the responsible developers (I worked on a different product), but after it was apparent that the system was not stable.
I don't understand it personally I hate Apple. :P
IPad air vs. Nokia 2520 vs. others
Ask HN: What do you think about the full-screen mode in OS X Mavericks
Apple now supports individual desktops per display, but applications cannot be stretched across and multiple desktops are per display.

Better or Worse?
Right! In fact I believe the above code invokes undefined behavior, because b may be accessed for a reason other than to determine its new value, without an intervening sequence point.

Put another way, the compiler can arbitrarily interleave the subexpressions within separate arguments:

foo( a() && b(), c() && d() );

The compiler is free to invoke these functions in the order a(), c(), d(), b() if it pleases.
School is free until high school in France, and university can be considered as free as well, because it is extremely cheap compared to the USA/Canada/UK for example, and because there is plenty of help to students with low resources.