skysight-inc/HackerNews huggingface dataset:
Too many of the Ethereum devs had way too much of their currency tied up in the DAO. It's a classic conflict of interest. Don't forget that Ethereum had a significant premine as well (which is very shady in its own right), so the early devs and adopters have a lot of ETH to throw around.
regarding the shootings, "gun free zones" are actually "safe for terror zones" and should be referred to as such.
Ask HN: Free/Pro/Enterprise build management
Hi HN,

I’ve inherited 3 separate git repos for an Enterprise, Professional and free version of a WordPress plugin. The free version has a subset of pro functionality which has a subset of the enterprise version. Generally, changes in one version need to be reflected in the other 2 so I’m looking for a DRYer solution.

I imagine it’s not wise to deliver all the enterprise code with feature turned off to the free users, so I’m investigating a solution for building the versions with only the relevant code for that specific project.

The different scenarios I’ve come across that I need to manage are

1. A file exists only in the enterprise version, but does not need to be in pro or free version
2. A file exists in the enterprise and pro version, but does not need to be in free version
3. A file exists in all 3 versions, but is not the same (eg the readme file must have different information)

Right now I’m just hacking the build process together with Rake and a list of files. It seems like this problem has probably been solved before though. So HN, have you encounter this, are you aware of any tooling for this, or do you have advice about how to solve this.

Thanks
>wi-fi

How does the wifi work? How does the internet work? By electricity, and buildings that run using electricity. My router can run from a battery, but if my ISP isn't working, or if the fibre cabinet is out of power....
I'm not sure why that is, but michael.lawson is the author of the tool.
Getting a drivers license in Germany requires a lot more training (and money) than in the US. The people who do get licenses in Germany are generally better prepared. As a result, they get into less accidents.

https://en.wikipedia.org/wiki/Driving_licence_in_Germany
The power of brand and nostalgia. But the author is right on saying we could see a lot more location based games coming soon.

What do they say? Location, location, location.
I'm talking about energy costs and environmental damage, not the dollar price. Contrary to popular opinion, the retail price rarely if ever captures the environmental impact of a product.
anyone know what the privacy policy on this? i am guessing they(clouchdrop) can read/write your dropbox/s3?
About the same distinction as I'd draw between an integer and a pointer to an integer.
Depressing as hearing people in the British Empire wondering why Indians don't like freedom.

Ironically, anyone who googles "Rojava" or "north kurdistan democracy" will discover people far ahead of the western powers in terms of democracy. Absolutely fundamental to understanding Turkey.

Furthermore, anyone can read things like: (https://en.wikipedia.org/wiki/1953_Iranian_coup_d%27%C3%A9ta...), or about US support of Saudi Arabia's dictatorship, etc. What's their real problem? Living on top of the oil.

Truly basic things, easier than anything in software.
My phone rarely crashes too, but the point is it tends to crash at the worst moments (perhaps all moments are the worst moments, when you are reliant on technology).

Using strong passwords and an auto-completing app like keepass, this is simply not an issue. I can log in from another device.

Also, reliance on mobile devices means reliance on some corporation's cellular network. Putting the control of your vital access into the hands of people who you know are not your friends and who would love to take more than just your money is never a good idea, in my opinion. When their system crashes you can't just reboot your phone to fix the problem, you can't do anything.. in fact. You have to sit and stew in the hell of your creation until their system magically comes back online. Not worth it.
In that plastic bag bans with the same basic parameters were applied in a few cities before spreading, in this particular case there was a kid of A/B testing before they were applied to everyone (actually, still pretty fast from everyone).

The argument upthread is that one household's behavior wasn't what the law intended, which is hardly a compelling counterargument.
Anyone have any thoughts on an idea I've been pondering for a while: Prolog as the type system for dependant typing?

The type systems I've seen for dependantly typed languages have mostly tried to use traditional formal logic syntax, with resulting usability issues and frequently a mismatch with the programming language.

For example, ATS is based on ML syntax, but the typing frequently results in functions of the form:

fun foo =
let _ = ...
x = ...
_ = ...
in
()

So, why not use a programming language for type-level programming?
This might make a better story if it were written up as a blog post and submitted as a link.

Good luck.
Pakistani here, my understanding is that these videos re inaccessible to Pakistan, and does not have bearing on the world as a whole.

I believe Facebook has a system like this as well where certain pages are restricted access to certain geographics

Youtube was banned in Pakistan for many years (I think 3+), the current youtube might not be perfect but it's a whole letter better than no youtube. We get access to global news, analysis and coverage. I suppose a win-win for lack of a better arrangement.
Retroactive data structures
Getting a bit desperate, Cedric?
How decentralized is a platform that hardforks via human intervention? What happens when the 51% choose to take the money of the 49%? If your blockchain changes the rules, because someone followed the rules of the code, but following those rules led to the "wrong" people losing money. Then your blockchain is more harmful than useful.
Lego Marx
> What conceivable purpose could indiscriminate mass murder in a major European city serve?

Yes, that's the question.

> I'm certain noone ever attempted such a thing before.

I'm aware of that.

> Equally certain they didn't claim allegiance to any particular, you know, religion or anything like that.

I'm aware of that too.

Even so, none of that actually answers the question, it's just a bunch of handwaving and suggestion making it seem that you're a really smart person who has figured all this out.

So, humor me, what did this guy want? How do you know that's what he wanted?

I've been reading quite a bit about this particular incident and so far the only thing that is certain is that this was one very confused individual who had been under treatment for some time (years) and who happened to be very loosely affiliated with Islam, no more than someone who still celebrates Christmas is a Christian.

If you're aware of something rather stronger in the evidence department then please let's have it.
"The creatures outside looked from smart contracts to
regular contracts, and from regular contracts to smart
contracts, and from smart contracts to regular contracts
again; but already it was impossible to say which was which."
Cool Product Search Engine
I would cheerfully argue that repeating non obvious code that could easily be wrapped in a documented function with an obvious name raises technical debt considerably more than causing someone to briefly wonder what a function called 'unique' that operates on an array does.
I have to say that the idea of an arbitrary limit on terms seems like a bad hack to fix a dysfunctional democracy. It's at least as likely, if not more so, to eliminate a good leader and clear the way for one of several bad leaders to get in. In a working democracy, people would not put up with a bad leader for more than the remainder of a term, after they show their true colours. In a highly functional democracy, a visionary leader should be able to initiate multi-generation projects and see them through to completion.

Is this a scheme to prevent the members of a two party system from coalescing into a single party?
Underwater waterfall
Cargo ships are still pretty dirty

http://www.dailymail.co.uk/sciencetech/article-1229857/How-1...

Alt fuels would make a much larger impact
https://news.ycombinator.com/item?id=12065217
Xmake – A make-like build utility based on Lua
> In neither this paper or the classic lock free stacks do you have lock contention on writes as you are using CAS operations.

Given that real-world locks are most often implemented using CAS, is this distinction a valuable one? In either case you have contention on a memory location between multiple threads trying to modify that memory location.
>Since the ACA became law, the uninsured rate has declined by 43%, from 16.0% in 2010 to 9.1% in 2015," Obama wrote.

How much of the uninsured rate decline is due to employment gains as the economy recovered from the recession?
Oh man, he's going to be internet-famous in a few days if that doesn't get fixed. Next time he applies for a software job, the technical interviewer will be like "Micheal Lawson? The Micheal Lawson?! <insert new meme>"
Why do you need a contact form for your website?
Developed countries almost all have some form of term limits:

https://en.m.wikipedia.org/wiki/List_of_political_term_limit...
Oh I see what you mean. I didn't know that NPM added a dist folder when you install it that way.
Nous sommes tous Micheal Lawson
Nepal has a population of about 28m. Kathmandu has a population of about 1m.

> The Nepal Plastic Manufacturers’ Association said that whether the ban is imposed or not, 4,700,000 to 4,800,000 pieces of plastic bags would be consumed daily in Kathmandu itself.

That's a surprising number of bags for a small population. Everyone in Kathmandu uses more than 4 bags, every single day?
Yes, I really like explicit integer sizes too and yes. C2 is trying to be as close to C as possible, with just improving what is "bad" or cumbersome, so some things like the fall-through are still there. You can certainly mix languages, since C2C (the compiler) allows single-file compilation, although a bit cumbersome, with the -f parameter and currently, it works like this:

1. Find (recursive searching upwards in directory tree) & Read a recipe file (a file for the build system)

2. Either start building all targets or just some, depending on the command-line arguments

3. Build the targets. Output is C (basically complete) or LLVM IR bytecode (like 25% complete).

4. Write a makefile for said C files

5. Compile with default C compiler

so mixing languages works with a little hacking.

I am the author of the Windows/Cygwin support/port, so in case anything doesn't work (especially since the compilation of LLVM is often a horror in Cygwin), let me know and I will see what I can do.
I think this is what they call throwing the baby out with the bath water? We didn't need immutability right?
Yeah, I find that it is one of the best ideas C2 brings to the table
I think we're mostly agreeing. The point I'm trying to make is that cultural diversity is arguably more important than racial diversity, but we're only measuring racial diversity where the ethnic background of the person is the only thing that matter.

For example, if a white couple were to adopt a black kid, and you hired that kid, that would boost "diversity numbers". What would be much more interesting to me would be to see what proportion of employees' parents had college degrees, were they the first ones in their families to get college degrees, the amount of money that their parents made when they were growing up, if their parents spoke the language as a native speaker, if they grew up in a traditional two parent family. That would be far more compelling and would result in more diversity.

For instance, there are plenty of fourth generation chinese immigrants to the US living in Chinatown that still don't speak English. If they tried to get help for coding or academics, they kind of out of luck because of the color of their skin. Similarly for white kids who grew up in a dying town in the rust belt, or an indian kid who's parents manage a hotel in the rural south. Because of their race, not because of their disadvantages, they're cut off from help.

And btw, there is not much nonsense about broken families. It can be debatable whether or not single parent households are good or not but black (including African immigrants, as they don't split them out) families are a lot more likely to be single parent. http://datacenter.kidscount.org/data/tables/107-children-in-...
> What happens when the 51% choose to take the money of the 49%?

What happens when the 51% desires to violate the rights of the 49% in general? (Or, more commonly in the real world, 10% desires to violate the rights of 0.5% and 85% don't care.) Direct democracy refuses to solve that issue in any way other than assuming that the minority will be successful at returning violence against the majority, or that everyone will just get along.

In practice, though, nobody's actually stealing your money here... you can still use the old chain if you want, it'll just be devalued to the point of uselessness.
I think even the more politically minded librarians are OK with a private company deleting a blog that has child pornography images on it.
This journalist [1] wrote a great book [2] about the lack of press freedom in Rwanda, and western complicity in press crackdowns. He's an amazing guy--accepted a job at Goldman during college, then reneged on the job to fly one-way to Africa and become a freelance journalist. That's without any experience as a journalist!

[1] https://twitter.com/anjansun

[2] https://www.theguardian.com/books/2016/jan/11/bad-news-last-...
Well the right question is why would one pick a different incubator over YC. There's a multitude of great reasons for not going with an incubator at all. Or going with an angel that you really love.
I'm sure some might pick NYU over Columbia but it's rather rare. I doubt there's many that turn down YC for another incubator. When they do the reasons are probably pretty specific to the company's/founders' situation.
I found "Learn Prolog Now" to be a simple, easy-to-read site for learning Prolog: http://www.learnprolognow.org/

The website text (free) is the first edition of the book; the authors have also published a second edition with updates.
Thanks for the warning! For others in the same situation, the direct link to the diagrammatic rendering video which best shows how it works is:

https://player.vimeo.com/video/174233048/?autoplay=1&loop=1&...

It's just a piece of forniture that moves side-to-side with electric motors when you push the switches.
"your blockchain"?.. This is not a football team or a clan, there is no "my"/"your"...

Decentralized systems work by consensus and by choice, for the DAO the consensus of the community is to stop the theft. Some might disagree and move to their own fork.

In the scenario of the "51%" you described, the "49%" would simply move to their own forked chain if they so choose.
This was in a 32 bit version of a very old Go compiler (pre 1.0?) - this should not mistaken for a current Go problem.
A simple structured list in config seems like a reasonable start.

- git
- blame
- commit
- log
- ...

We could generate this semi-automatically for a lot of commands with a little effort. Perhaps git wasn't the best example to demonstrate a simple one.

For existing commands that don't get updated, one could just supply the list from a central repo, not unlike Homebrew Cask.
Stop spamming us. You're wasting your time.“
When I post an item to sci-fo.com using the bookmarklet, I see the following message, "Stop spamming us. You're wasting your time."..Pls help
Similar idea here but I think we can not do that before VR is poopular. But a text-look form fits the first decades of 21th centry better https://www.youtube.com/playlist?list=PLyvBXLgHYHy1AIK6i5uw3...
Why did they have to patent the shape?

Is that part and parcel of ship building? Do cars and trucks and planes also patent the look and feel of their vehicles? Sometimes the lines of a Hyundai are not all that distinct from a Mecedes, so, could another shipbuilder just slightly change the design and not infringe?
Not sure what you expect to happen here though. Just like Akka or Erlang named services, what's happening here is you're asking the runtime to find (or in this case perhaps instantiate) an instance and proxy for said instance of the class.

You're calling the global reference, asking it to give you a proxy to that object, and you need to mention somewhere in the line what type you expect. Without a stronger type system or a complete abandonment of type safety, the most you could do is shorten this by 1 term and move the type from the template term to the left (something has to assert the programmer expects IBrainStuff).

The only other way to do this is explicit code generation (ugh) or implicit code generation (e.g., F# type providers). Which is why in a sibling comment I mentioned I think that an F# binding to this library would be generally more acceptable for people who dislike that kind of abstraction, because the type system can do a lot more to help.

Erlang's model of actors and messages isn't "enterprisey" and this isn't "enterprisey" code, this is just "sufficiently complex OO code." If you like strongly typed OO languages, this style of coding is your nemesis and your hero at the same time.
I like the idea, I think the author is trying to create a dead-simple css framework, but dont call it 'hack' please.
Why do you think that terrorist (I assume you're talking about the London guy) would be trying to cut someone's head off if he were in the USA? As I pointed out, he bought a gun and tried to use it FIRST, which very thankfully didn't work. The knife was not his first choice. He'd certainly have preferred an AR15.

But don't listen to me. Listen to Al Qaeda.

> A video from 2011 has resurfaced showing American-born al Qaeda spokesman Adam Gadahn discussing how easy it is to buy guns in the United States and urging fellow radicals to do so.

> "America is absolutely awash with easily obtainable firearms," said Gadahn, "You can go down to a gun show at the local convention center and come away with a fully automatic assault rifle, without a background check, and most likely without having to show an identification card. So what are you waiting for?"

http://edition.cnn.com/2013/04/11/politics/al-qaeda-video/in...

> violence is a problem unrelated to the prevalence of weaponry

Isn't this a bit like saying that soldering is unrelated to the prevalence of soldering irons?
Good idea, I need it.
but michael.lawson on top ????
Many security issues involve.
Better make it open source.
So, he misappropriated and abused some research, but it's ok because everyone knows it's just a metaphor?
From Andrew Plotkin's Left Foot Living, an arts review pamphlet set in the future:

---snip---

Blind Spot Storage Solutions are selling a space management tool which is -- well, certainly the most efficient we've ever heard of. It's based on the "subliminal" solutions, which create an illusionary ceiling a few inches below your real one, leaving several cubic meters of space for additional storage. But Blind Spot goes far beyond that.

You tag all your possessions; and then the tool simply keeps them out of sight. Everywhere out of sight. Walk out of a room, and it will be immediately and silently packed with books, boxes, chotchkes, and whatever else you've tagged as "in storage". Go down the hall; just before you pass each doorway, the room beyond it will be siphoned free of detritus -- which will be packed elsewhere, leaving the room just as you expect it.

The ceiling space is used for both storage and transport. Objects are whisked up into the ceiling, yanked around your living space, pulled down into efficient pile-ups. Protective fields ward everything against friction, acceleration, impact. More fields pump air around and baffle currents, preventing the explosive winds and supersonic lashings that would otherwise occur.

You never see any of this. If you stand in the center of a room and turn around slowly, a tide of bric-a-brac is crawling behind you -- just beyond your peripheral vision, and from the walls to an inch from your back. Whip your head around, and it's gone. Moved. Just out of sight.

The catch is reflections, of course. And shadows. Blind Spot strongly recommends that you tag mirrors, and anything polished. Also light sources. The tool can fake in reflections and light beams, if it knows to. If it doesn't, you'd better have nerves of steel.

Not even slightly compatible with owning pets.

---snip---

http://www.eblong.com/zarf/review/review-37.html. No date, alas, but posted years ago.
Other parts of the world had the same loop and broke out of it. Money exists, and even poverty is not universal to the region.
Why is there no middle-eastern- tiger state?
Lack of Education is unconvincing, the Internet is now available for 20 years. Education is in parts of the region actively rejected as western influence.
Late-Medieval Peasants where poor. Yet, in the citys the Renaissance could happen. There is not even this "aristocratic" attempt for improvement by "showing off" intellectual achievements or art showing in Saudi Arabia. No "big familys" trying to outdo one another with the fame of there universitys. And they could have done so.

http://www.theatlantic.com/video/index/491501/will-the-middl...
My bash history file seems to get bonked when working in multiple tabs / panes simultaneously. Is there a trick to getting history to be tracked or aggregate all of them?
Pretty sweet test: Google for "apple" then Google for "apple pie". Observe that none of the results for the second query appear for the first. Conclusion: Google is unamerican and censors information about apple pie.
So that piques my curiosity, why don't car manufacturers go the same route?

Apparently in some parts of the world some new car MFGs copy the look and feel of more expensive cars and other than complain a bit, the other manufacturers don't seem to enter into litigation with each other over design much --given the very similar designs some models have.
The author is just examining a common design mistake-- there's no sin there. Many times, it's a mistake to pass in a boolean switch when you could instead pass in the predicate function itself. That's a solid example that supports the author's claim. Maybe you're not convinced, but that doesn't mean the article is completely misguided.
Nutanix CMO After Risque Conference Stunt: I Will Resign If It Happens Again
Doesn't work well in Chrome for Android either. I'm missing part of what's on the left side and somehow can't scroll there.
Will this be in the next version of Kubernetes?
We put more pressure on women to diet, and most dietary advice is horse crap. If your diet consists of "low fat" garbage, and a bunch of fruits/grains... you will wind up fat. If more men were lost to the "weight loss" industry, I'm sure they'd be equally as obese.
We put more pressure on women to diet, and most dietary advice is horse crap. If your diet consists of "low fat" garbage, and a bunch of fruits/grain... you will wind up fat.
Or it could have convinced you not to try: 20 hours a week for 10 years? Are you crazy?
http://archive.is/nfHk2 without paywall
You shouldn't need to. It runs under LLDB so it should be able to examine anything you can debug.
Swift Language Nightly Builds
I'm not so sure, I bet you if you only ate candy and coke for a month or two you'd end up having something that looked a lot like diabetes.

And if you don't eat sugar or carbs at all you can't get diabetes or at least you're working on ketones presumably which means you aren't producing much insulin and when you do it works more effective.

I'd say more research is needed here to draw such absolute conclusions as you do. We used to tell everyone that low fat was the way forward but that has been repeatedly shown for most people to be harmful.
Does that actually work? I've always been curious if you could actually "not pay it".