skysight-inc/HackerNews huggingface dataset:
It sure it possible. Seems like the perfect case for the multiprovide() module (CTRL+F on wiki for more info, and also the in-source documentation http://code.google.com/p/badvpn/source/browse/trunk/ncd/modu... ).

process lan {
# Set device.
var("eth0") dev;

# Wait for device, set it up, and wait for network cable.
net.backend.waitdevice(dev);
net.up(dev);
net.backend.waitlink(dev);

# Start doing DHCP and waiting for timeout. This spawns two additional
# processes to run concurrently (see their code below).
process_manager() mgr;
mgr->start("dhcp", "conf_dhcp_template", {dev});
mgr->start("static", "conf_static_template", {dev});

# Wait for either multiprovide("LAN-DHCP") or multiprovide("LAN-STATIC"),
# but always prefer LAN-DHCP. Even if we've already grabbed LAN-STATIC
# and LAN-DHCP comes up, we backtrack and switch to LAN-DHCP.
multidepend({"LAN-DHCP", "LAN-STATIC"}) conf_dep;

# We can reach objects as seen from multiprovide() by going
# through our multidepend() statement.
println("got ", conf_dep.result_type);
rprintln("lost ", conf_dep.result_type);

# Check IP address - make sure it's not local.
ip_in_network(conf_dep.addr, "127.0.0.0", "8") test_local;
ifnot(test_local);

# Assign IP address.
net.ipv4.addr(dev, conf_dep.addr, conf_dep.addr_prefix);

# Add default route.
net.ipv4.route("0.0.0.0", "0", conf_dep.gateway, "20", dev);

# Configure DNS servers.
net.dns(conf_dep.dns_servers, "20");
}

template conf_dhcp_template {
# First argument is device name.
var(_arg0) dev;

# Do DHCP.
net.ipv4.dhcp(dev) dhcp;

# Expose results.
var("dhcp") result_type;
var(dhcp.addr) addr;
var(dhcp.prefix) addr_prefix;
var(dhcp.gateway) gateway;
var(dhcp.dns_servers) dns_servers;

multiprovide("LAN-DHCP");
}

template conf_static_template {
# First argument is device name.
var(_arg0) dev;

# Wait 5 seconds.
sleep("5000", "0");

# Expose results.
var("static") result_type;
var("192.168.111.230") addr;
var("24") addr_prefix;
var("192.168.111.1") gateway;
var({"192.168.111.14"}) dns_servers;

multiprovide("LAN-STATIC");
}
My question here is OOT, can Nexus 7 be used with bluetooth keyboard with its original OS?
They could add a snarky comment to it as well saying only some countries thought the watch design was the same, and Apple's watch was cooler anyway.
Isn't it intuitive to you that music you have just been shared or have just bought is the music you are both (a) unfamiliar with and (b) most likely to want to listen to in the near future. My experience has been that being unfamiliar with music will make it difficult to search for, and that after being shared or buying something I go through a patch of listening to this music more frequently.

Either way, I don't think I am one of two people, and I think the tone of your last comment was very poor. As a rule: think first, then post.
Yeah, because that old trick still works.

Assange is still chill-banging. Sipping Aguardiente. Schmoozing Ecuadorian diplomats. Yelling shit about the commander-in-chief out from the balcony to the glassy-eyed press [1].

As for Mr. DotCom, don't hold your breath. NZ is still busy kissing his arse [2].

[1] http://www.heraldsun.com.au/news/world/julian-assange-labels...

[2] http://rt.com/news/zealand-apologize-dotcom-spy-108/
My point is that I don't understand what your point is when you keep talking about the pseudonyms.
Facebook vs. Pinterest from a visual content marketers perspective
Good software isn't like a real-world monument; people don't spend effort to go back and revisit it later and gawk at it. Good software either gets championed by someone, or it fades forever into obscurity. (I wrote a really amazing hack years ago ... in COBOL. Maybe you've heard of me?)

Likewise, the people that are contributing to BSD right now are doing so because they believe in what they are working on. Although some of them are true cross-platform developers, many others would never make the switch. It would be agony trying to work in Linux if you're, say, Theo de Raadt. Seriously, I wonder if that might be his own personal version of hell.

I use a lot of both -- Debian, an Arch-like thing, OpenBSD, FreeBSD, and have for years. The only reason that I know that iptables has serious shortcomings is because I've used pf. If I had never used the BSDs, I would have no idea what I was missing out on. If I had twenty more hours in a day, I might even be tempted to make iptables more pf-like.

pf is kind of my go-to for BSD cheerleading, but it shines in other core areas too. For instance, Linux is really only just now getting stuff that looks like a distributed or cluster file system; but BSD has had this for quite a while already. Heck, one of the best options for a while in this area was HAMMER, developed by one guy for his personal BSD. And if you wanted something a little bit more mainstream, FreeBSD has supported ZFS for a long time -- Linux is still catching up there. Or, there was the new malloc that OpenBSD developed a few years ago, that ended up revealing old memory-related bugs in all kinds of software (e.g. http://undeadly.org/cgi?action=article&sid=2008070815522...).

There's simply no way that all those people would be doing the same kind of work in the sort of environment that Linux is fostering right now.
Like where exactly?
Which version? And are you talking about a hard dependency or a recommendation / something optional?

Here:

pacman -Si systemd
Repository : core
Name : systemd
Version : 195-2
URL : http://www.freedesktop.org/wiki/Software/systemd
Licenses : GPL2 LGPL2.1 MIT
Groups : None
Provides : libsystemd=195 systemd-tools=195 udev=195
Depends On : acl bash dbus-core glib2 kbd kmod hwids libcap
libgcrypt pam util-linux xz
Optional Deps : initscripts: legacy support for /etc/rc.conf
python: systemd library bindings
python2-cairo: systemd-analyze
python2-dbus: systemd-analyze
systemd-sysvcompat: symlink package to provide sysvinit
binaries
cryptsetup: required for encrypted block devices
quota-tools: kernel-level quota management
Awesome, thank you. I think I'll be trying this out tomorrow.
That's crazy. I had to open it up in TOR to see the actual site. Could it be my ISP?
I was originally referring to fixing old typos (like spelling in documentation) that were in the repo forever.

This, from what I understand this will take effect only if you introduced a typo recently and then you rebase so that the typo-containing commit is included in the rebase. Nevertheless, it sounds interesting.
TV clearly sucks at the moment.

Why can't I watch any movie ever made at the touch of a button/tablet?

Why can't I watch any series produced in the U.S. (or anywhere) as soon as it's available from U.K. (or any non-US country)?

Why do [in the UK] do Sky & Virgin control much of what you can watch?

Why do I have to manually choose what to watch, shouldn't the TV know what type of thing I like?

I've missed the 5 episodes of a series, why does the next episode only catch me up on one?

and so on.

Not sure about cameras, the main problem with discrete cameras is that it's too hard to upload the photos on the move, but that's changing quite quickly now with WiFi and/or Android cameras. Essentially Apple have a solution to that anyway, which is to just use your iPhone which many are happy with.
Haiku Alpha 4 Released
Imagine Facebook without real names and you'll see my point.
The Internet is not a black box. Look inside.
Unmetered non-US servers with monthly payments are not that rare commodity nowadays.. well, especially when compared to gold bar crapping camelids :)
Dude, totally awesome video, thanks! Loved the idea of using Graigslist for assumption validation too.
Windows 8, Step 0 - Turn on continuous backups via File History
Can Social Media Help You Get A Job?
VLC gives you the option of increasing the volume upto 400 %. But its often the case that this damages the speakers (especially the tiny inbuilt speakers on some of the cheaper laptops). I dont know how this is but I've plenty of anecdotal evidence that this happens. So I think you guys should caution the users against using it too much .
100 eCommerce Tech Startups
It seems I missed the part where you asked about detecting new connections. That's possible too :) http://code.google.com/p/badvpn/wiki/NCD#Handling_events_wit...

But then be careful with your dependency names, because they are global. You can prefix them with the interface name, e.g.: concat(dev, "-DHCP") dhcp_name; .
The more hilarious bit is only seen by viewing the source...

http://static.kim.com/mega/release/css/index.css?v=8

http://static.kim.com/mega/release/js/main.js?v=8

I wonder how long the "kim.com" domain will last?
Unicode and your application (1 of n)
You don't go to StackExchange to hang out - you go there
to ask answer/ask questions. It's like Wikipedia.

Maybe I'm missing some portion of Quora then, but that's exactly how I use Quora. I've never found any indication on Quora that I can do anything other than ask and answer questions.

Whenever people tell you to look into something that
appears curious - try it for 2 weeks and make your own
judgement.

That's what I've been trying to do, I've even gone out of my way to ask questions on Quora just so I can understand the experience, my problem seems to be that how you're describing it (as some form of community?) does not match how I've experienced it.

Perhaps there is a feature or section of the site I'm not aware of? As I mentioned, some sort of example on Quora or Quora being this fascinating and valuable community experience would be great, because I just can't find it.
The DMCA Safe Harbor works fine for companies that aren't PURPOSEFULLY attempting to violate copyright. Just don't make the mistake of getting caught berating employees for taking down infringing material, don't get caught figuring out what users upload the best pirated material so you can reward them, don't get caught ordering employees to work on improving the quality of pirated files on your site, and you won't have the problems Mr. Dotcom (who did all the aforementioned things) had with staying under the Safe Harbor.
Optical Camouflage Technology Allows You to "See-Through" a Car's Backseat
Are you implying that finding unmetered fixed monthly payments is hard? Because it's not.

Unmetered != unlimited.

There's still going to be a maximum capacity for the connection, and for unmetered connections that's the basis used to price it.
Australian wins $208k from Google for defamation
СКАЧАТЬ БЕСПЛАТНО фильм: "Стрелец неприкаянный"(1993)DVDRip
Depends on your DNS; which, yes, most likely depends on your ISP.

You could try OpenDNS or "8.8.8.8" or something.

If you choose to change, please be aware of the implications.
This reminds me of when I was helping a friend with a maths problem. He would say, "Is it this?", and I would say "No", and he would keep guessing. I suppose most people just don't think to ask why.
Last I heard Assange was still stuck in Ecuador's London embassy, which is what your linked article seems to imply too. Not exactly as rosy a situation as you're implying.
Names are just a way to tie you to an identity, if you can rely on someone to always be under the same name you can treat it just as if it were their real name (even if it isn't). I run a large forum (a community) and a huge number of people have formed value relations through it and they exist under pseudonyms.

For me personally most people that know of me know me by my username (citricsquid) and wouldn't be able to tell you my real name, so if I appear on a website as "Samuel Ryan" they're not going to have a clue who I am and would gain a lot more value if I was displayed under the identity they know me as (citricsquid).

The reason Facebook uses real names is just because it's how people are known in real life, Facebook exists as an extension of real life and so using real names is the sensible decision that provides most value to users.
On the Superfluousness of std::move
sysvinit does not require shell scripts, does it? You could put binary programs into /etc/init.d just as well.
Math Puzzle: Scheduling Problem
You left out the bit where I said that complaining from the sidelines is pointless. At the moment NetworkManager exists, I focussed on that, not some theoretical situation.
I would love to see a group of hackers get together to create a real (i.e. not a weak ARM device) computer and operating system, for profit, but open source. It seems like people have mostly given up on this notion, as if its impossible to create a competing device. In the 70s/80s, a few people launched brands like Apple, Microsoft, and Amiga; I know things are harder now but it is far from impossible.

Why for profit? So that people have both an incentive and means to work on the product fulltime.
> Actually, with all the disdain for GNOME 3 and Unity (that I can't fully understand), I think the BSDs actually have a window of opportunity.

I agree, but none of the BSD projects has the developer resources to take advantage of that opportunity right now. It would be a massive undertaking, and, unlike many other aspects of OS development, would require very serious long-term commitments. That's what makes this new screw-you attitude in Linux upstream so frustrating for the BSDs; it's taking groups of developers that are already stretched really thin, and it's placing even greater demands on them, and for pretty silly reasons in some cases. You really can't blame the BSD developers for feeling sabotaged.

So I think it's more likely that another desktop environment project that still has sane developers, like xfce, will end up getting some more activity while being easier to install on the BSDs (and consequently better supported there).

> It doesn't exactly help that there are four major BSDs

Yeah, the fallout between NetBSD and Theo was unfortunate. Each of the BSDs has a specific focus now that doesn't really fit with the others; I'd bet on them all evaporating rather than merging.
OpenMP 15th year Birthday at SuperComputing 12
I don't understand what is wrong with shell scripts. I mean after all, UNIX is designed to be put together using small programs wired together with scripts.

What systemd does is replace that elegance with a monolithic black box.
No languages strictly need an IDE. I don't really work with Java so I can't comment with how well you'd get it integrated in VIM. There are a few tips here that could help [0].

[0] http://stackoverflow.com/questions/253170/tips-for-using-vim...
Startup Funding-Getting Angels to Like You
What about MPD? Most of the describe features/requirements are already there.
I believe infidelity is the leading cause of divorce in the US. I'm sure the typical money problems also rank high.
Open Source is a Must for India
Apple Reportedly Swallows 20% Price Hike For Samsung-Supplied Mobile Processors
No. It's a convenient superclass that allows beans that are themselves factories to create proxy objects. It just so happens that these proxies are singletons.

Basically it's been deprecated, but its used for AOP interceptors. It gets a lot of flack, but there was a reasonable reason for the Spring developers to have created this class.

Oh, and the original documentation is pretty comical. But the latest documentation makes it very clear what it does:

http://static.springsource.org/spring/docs/current/javadoc-a...
The NZ courts have been quite good in the MegaUpload case. However the NZ government has shown that its happy to essentially overrule decisions of the courts if it doesn't like the decision.

Although Kim has become a bit of a celebrity in NZ now, he's even looking at funding a program to bring free fibre optic to NZ. ( http://www.stuff.co.nz/technology/digital-living/7904696/Dot... ) So the government may not do something too hasty as it would cause a large amount of public backlash.
Scientists successfully cloaked an object perfectly for the first time
Feeding DC (when clipping) to a speaker is never healthy for it. But clipping has many sources. The internal amplifier being one of them.
Building a Naive Bayes Classifier in the Browser using Map-Reduce
YouTube Pulling Plug On 60% Of Original Content Channels
India and Open Source Software
What nonsavory forums have more pageviews or uniques than Reddit? And are you seriously saying that "normal people" don't use Reddit? Where is traffic coming from?
Killer features for me in a music player are global keyboard hotkeys that I can use from inside other programs (or games), and a playlist queue that will continue playing randomly inside the same playlist after it finished playing the songs I've queued.

Foobar2000 is the player on Windows that I'm still in love with. You can run Foobar on MacOS using Wine, and there's plugins that will use the foobar's http control service to add global hotkeys on Mac.
Maybe his backup plan is a blog about his life.
Different Forms of Polymorphism
I use systemd without having installed a httpd. Now theres an error somwhere in your post.
Apple was in a position where they could make demands on publishers, so they demanded to strip off DRM and away they went. It was nice gesture, although you're still using iTunes media files but still, they exerted their power for The Greater Good (we can argue about why Apple would do that, but it was good for us all).

If anyone can exert pressure on book publishers to ditch DRM, it's Amazon, but why would they? Aside from The Greater Good they've got themselves a nice little vendor lock in, and unlike Apple who was making money hand over fist with the iPod and using the iTunes store to help get consumers to start building digital libraries, Amazon isn't making staggering amounts of money on the Kindle and they really need people to stick on the platform.

Seems like a few publishers have seen sense regarding DRM (Tor and Angry Robot are the first two who spring to mind), so maybe they'll eventually wise up and start dropping the DRM requirement.
> Don't put so much stock in an online dating algorithm.

I wouldn't put so much stock in someone like eHarmony, but OkCupid--sure! Those guys use math!

disclaimer: I work for OkCupid Labs.
Awesome! Didn't know about those, thanks for the tip.
Ask HN: Why don't you work less?
Simple question.

Why don't you only work 6 or 9 months of the year? Or 4 days a week[1]?

In your newfound time you could work on personal/charity projects or add some more to the "life" part of work-life balance, or do anything else you wish.

I think it would be harder to find a 4-day-week job, but taking 3 or 6 months off per year should be doable in this profession due to the nature of the work and very high earnings.

[1] http://news.ycombinator.com/item?id=3883268
Just how big is the bottom line ot Samsung for supplying Apple procs?
Genuine question : not knowing coffeescript (if that's indeed the problem), do you find it hard to understand what it represents in pure js ?
The maturity of systemd is at the root of the problem here. I switched (even for ArchLinux standards) relatively early and since then I could see how things changed continuously. There are two factors here: I appreciate active development of software and I would like things to stay compatible with previous releases at a minor cost to "progress". It is hard to get both in such a complex design space. Most of the problems are hard to predict and only come up as soon as there is active use of the system and if you never go public, there will never be active use.

Overall, jumping on the systemd bandwagon was done prematurely (at least by ArchLinux) and I think the large software packages should just give it another few months before migrating. systemd solves a lot of problems now and developers want problems to go as away before they become a feature or to pervasive to the codebase, but a little restraint might to a lot of good here.

There has to come a point where systemd announces feature completeness and stable interfaces so everybody can use it as a standard and then everybody can go for broad use and acceptance. I would hope that this gives the smaller players a chance to catch-up and much needed safety when investing resources into their own implementations.
That may be some low retribution instinct but I don't want people like Madoff in the society.
New Website of Camcada.com in testing phase :)
Please check out the new design of our website !

Thank you very much for any feed-back.

Have a great day,

Elena Shubik
CEO of Camcada
Giants In Tiny Pants
Show HN: Dine Smartly - business model canvas
Note that the standard form of payment in Poland is wire transfer. There are gateways for it, like przelewy24.pl or payu.pl.

Nobody pays online with a credit card.
I think this Class looks okay, but it's definitely still lacking an AbstractProxyInstanceFactoryDecorator.
You're wrong in your assumptions. Mageia did not have systemd support. We do now though, but we had to do that ourselves.
To get systemd right for Mageia one person got involved with systemd and has sent various improvements upstream. Fixing bugs, etc, because nothing is perfect.

In any case, my point is that almost everyone at GNOME uses all kinds of different Linux distributions, so everyone is aware of that.

That GNOME is not packaged on *BSD: Why should that be troublesome if there is no involvement from them? In any case, we do get involvement from OpenBSD, just very little in comparison.

For GNOME, various distributions send patches because a released tarball does not work in their environment. This is often done in the two days between tarball creation deadline and the actual GNOME release. This does not happen too often btw, but this is not limited to any specific distribution.

What I am trying to say is: to make something work you have to work together. If you expect something perfect, I find it logical it turns out as a disappointment.
Yes. Android support bluetooth keyboards.
Years ago, when my SO and I calculated our compatibility using OKCupid, there was a way to run a report on items that decreased compatibility. We didn't have many, but it was helpful to talk about the few things we did disagree on. I wonder if they were able to do something similar before their marriage; maybe it would have helped.

We didn't meet on a dating website, but my current partner and I have done pretty much this. We sat down, and talked, and had a very frank, logical discussion of the things we disagree on, to try and weed out any red-flag issues before they became issues. It transpired that politically, we're quite different - but we both think it's pretty boring to be with someone who feels the same as you on every issue, all the time. I think it was good to do that - to talk thoroughly through things in a calm way, before they turn up in a completely unrelated fight.
Honestly I don't know why the author didn't go with the client/server model. Running a music player as a daemon and having a client that connects is awesome, and allows things like remote control (android apps, etc) to happen much more easily.

In fact, why they didn't just use MPD escapes me.
I just went from five days to three days a week in my job in industry in order to work as a researcher the other two days. I had to take a pay cut to do so, and I was lucky that my company was happy for me to do this.

So far, it's working out great - I do the research work from home, occasionally commuting to uni, and it's great to have the balance of academia and real life work.
Industry Certifications for Students?