skysight-inc/HackerNews huggingface dataset:
Police in the US don't have to tell you what they're doing up until the point they decide to exercise their power (i.e. searches or arrests) either, last time I checked. They can ask you to go somewhere and you can voluntarily comply or choose not to.
"Once the need for if conditions and for loops comes about, any configuration file language (or data transport) language is going to be a little awkward."

Occasionally, it would spawn a whole new language: http://www.lua.org/
Amazon’s scorched-earth campaign: Why the Internet giant started a war
Thanks, i have bookmarked many of these types of community networks over the years. Always looking for more, the more ideas, the better!
Why can't we have the best of both worlds?

If the user clicks on the topmost pixel and immediately releases the button, they're probably trying to click on a tab. If the user moves the mouse while holding the button, they're probably trying to drag the whole window.

jQuery UI allows me to make things both clickable and draggable, and it always understands which of the two actions I'm trying to perform. There's no reason why a native app shouldn't be able to implement a similar feature.
Furthermore "...to find his bed surrounded by police officers. Automatic weapons were pointing at his head..." - that doesn't sound like Germany. Guns are only drawn if you are visibly armed.
I believe there are no problems with your scenario, there's zpool replace command which does this:

zpool replace [-f] pool device [new_device]

Replaces old_device with new_device. This is equivalent to attaching
new_device, waiting for it to resilver, and then detaching
old_device.

The size of new_device must be greater than or equal to the minimum
size of all the devices in a mirror or raidz configuration.

new_device is required if the pool is not redundant. If new_device is
not specified, it defaults to old_device. This form of replacement
is useful after an existing disk has failed and has been physically
replaced. In this case, the new disk may have the same /dev path as
the old device, even though it is actually a different disk. ZFS
recognizes this.

-f Forces use of new_device, even if its appears to be in use.
Not all devices can be overridden in this manner.
Was it GOMS back in the early 80s which was the first to teach putting the most important and frequently accessed buttons in the corners so they are easy to click by over-reaching with the mouse?
Ultimately if neither party is bad then the contract aims to set expectations and clearly outlines what each party expects. But....

The moment you have to "enforce" or "defend" a contract you've essentially lost.

Do you trust the other party? If not, then no contract will save you.

The other thing I strongly suggest is to limit the amount of work you do prior to getting paid. You should keep a slim amount of work (none, if possible) that hasn't been paid for.

Always think in worst case scenarios and assume anything that's completed but not paid for can be withheld.
Samsung working with Oculus on phone-based VR headset
Last I heard was a German villager barging into the US def network.. Great again!
It's a kinda strange thing. Before the digital age kids like myself just did not have access to many things that could get them into so much trouble. I caused my share of mischief when I was a kid, just like most boys will do. Probably the worst tools I had at my disposal were eggs or snowballs to throw at cars. The opportunity for me to reach out from my bedroom and cause damage to a multi-national corporation or government just was not available to me or anybody at the time. It's hard to imagine what I could have done as a kid to even get the attention of the FBI, let alone have them trying to trap me in a sting operation. Kids today have a lot more ways to do some serious damage and get themselves into real trouble.
"Your comment was basically offtopic and inflammatory."

It was probably a bit offtopic, I"ll give you that. I was raised in a very religious family that has negatively impacted my life in a few ways. I guess I see the damage of religion in more places than most.

But inflammatory? I think that's the point of the PG essay I referenced: that just saying something "you can't say" automatically makes it inflammatory. The statement's truth is irrelevant.

"Your comment annoyed me also for its obviousness and vague smugness"

For someone who has a lot of very religious friends, I don't think this is obvious to many people. I hope I'd have the standard to not write something that is so obvious as to not benefit the majority of my readers.
The trash heap of history awaits.
Tanks full of liquid nitrogen...

Cool and non-combustible. Although; you're talking a multimillion dollar project to get enough liquid nitrogen on-site and an effective distribution system to spary it into an active gas fire.
OS X 10.10 potential pre-alpha screen leaks have been sitting on BetaArchive unnoticed for 2 weeks now, and I highly doubt them being fake.

http://www.betaarchive.com/forum/viewtopic.php?f=16&t=31454
Never has the difference between "adding a feature" and "adding a setting" been more apparent. :-)

http://www.catb.org/jargon/html/M/misfeature.html
What you describe is what is known as disk scrubbing, and indeed if you are operating a RAID device and it doesn't do disk scrubs every so often you are doing it wrong. Linux mdadm has this feature as well and in most distributions that I'm aware of disk scrubbing is performed once a month by default.

In addition, the reading into the BER and the immediate conclusion that RAID stands no chance is not quite correct. If you did your disk scrubs your disks are mostly clean and the likelyhood of failure is not that great. I was responsible for tens of thousands of disks in a storage system that did do disk scrubs and it did find occasionally a bad sector[1] and I've never even once seen a double failure as is often warned about in the "RAID is dead" articles.

Please do your disk scrubs to avoid sectors falling off and remember that RAID is not backup, extra redundancy is still needed if you really care for your data.

[1] I didn't have the sense of mind to compare the rate of error detection to the official BER.
Ask HN: Have any of you quit from the startup you cofounded
I am heading an enterprise startup which I cofounded with a friend. We have not been funded yet, though we make a profit and we have been growing slowly but steadily. I don't feel excited anymore about the business though and I have no backup plans - perhaps work for someone.

Have any of you quit under such circumstances ? Any tips/advice ?
Sure, network bandwidth is an issue, and getting a fast enough connection at a mall might be interesting.

What's also fun: USB speeds. I found a transfer time calculator - http://techinternets.com/copy_calc - and, well, 4 terabytes at USB 2.0 speeds (480 mb/s) would take over 21 hours, or 3 hours at USB 3.0 speeds. Those are at optimal wire speeds, less 10% for overhead.
> Why can't we have the best of both worlds?

Because then the UI will be confusing - the same place and action (clicking in the top) will affect either application or window manager. Also, sometimes you want to drag tabs around to e.g. reorder them or move to a new window.
> If anyone can recommend a tunnel provider other than SixXS

he.net just works, using this for 6 months now, did not notice a single outage. SixXS is an unprofessional kindergarden, I would not recommend using them for anything relevant.
I wonder what is the quantity of CO2 that is released annually by this crater. Must be tremendous.

I'm under the impression that whatever ways to pollute less we come up with, it will be annihilated by things like this or just sheer overpopulation.
> It also reflects practical realities: if a legislature overwhelmingly supports a change, any roadblocks or restrictions will most likely be ineffective in the long term.

Exactly. In the worst case, if an obstructionist minority of states were to block an overwhelmingly popular and desperately needed amendment, a sufficiently large number of states could simply write a new Constitution. After all, that's exactly how the current U.S. Constitution got put into place.

The Articles of Confederation could only be amended by unanimous vote of all 13 states. And of course, they needed unanimity to amend the unanimity clause. So it was an amendment clause without loopholes.

But only 12 states showed up at the Constitutional Convention! Unanimity was obviously not going to happen.

So the delegates wrote a new Constitution anyway, and specified a ratification threshold of 9 states. Once this threshold had been reached, the other 4 states could have fun governing their rump country under the old Articles. But the ratifying states would be in a customs union and have a strong central government, and they could make do just fine without the holdouts.

In the end, only two states held out. Eventually, both gave in. North Carolina didn't even last a year on its own. Rhode Island lasted 15 months.

The same people who pulled off this stunt also wrote the Constitution. So they were well-aware that a watertight amendment process was no bar to the truly determined. Might as well leave it leaky.
My initial take is that Piketty’s response contains much verbiage and a bit of fist-shaking, but surprisingly little additional information that would rectify some of the criticisms that have been made.

http://philmagness.com/?p=890
If it's only a sector that died on you in one disk the likelyhood that the equivalent sector in the RAID stripe also failed is fairly small[1].

The most often cited issues is with a full disk failure and then having a sector already dead in another disk that you weren't aware of. Do disk scrubs and you will mostly avoid this risk. Your array (software or hardware) should be capable of disk scrubs, most if not all are capable and will do it.

[1] There is a failure mode whereby frequent writes to one sector/track will cause damage to nearby sectors in which case if your RAID stripes are static you may have multiple sector failures in multiple disks in the same stripe. It does require hundreds or thousands of rewrites for all I know so your workload needs to be extreme to reach that case.
If you want to dig even deeper into the way Ruby works, I recommend trying to write a C extension (or at least reading the documentation):

http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby...
This is what a regular analog TV station looks like: https://www.youtube.com/watch?v=eXXmUWD9_0w

Does any part of that say "cheap" to you?

Radios are difficult. Radio transmitters which don't pollute the spectrum are more difficult. There's a reason mesh networking is a big research area at the moment - because the little bit of 2.4ghz you use around your house absolutely doesn't scale. You keep it contained and low power, and use wired backhaul.

You want to go to high power? You now need electronically aimed beam-forming antennas, much higher power levels, you need all of this linked to the national backbone anyway.
I quit one. It sucked. The other co-founders were pissed. One was very passionate. I didn't see revenue. Its a tough conversation discussing facts and emotions. Get your data ready. Introduce the subject lightly. Don't delay the conversation.
> shaming ISP which still haven't gotten their act together

Deutsche Telekom: requires customers to switch to a new contract (with worse conditions) in order to get a native v6 prefix

Kabel BW: requires customers to give up their routable v4 address if they want to get v6, as they only offer DS-lite, no real dual-stack.
A tangent on the tangent. lol. priceless.

Thanks for sharing that. I will read that over and over as I try yet another experiment.

I truly believe in the power of tools to improve the human condition. We also have the good fortune of being able to shape the future with the tools we use every day, no other generation has had the ability to communicate with the entire planet! There are infinite possibilities with what we can create and how we can move our species forward.

I have added H.P. Lovecraft to my reading list. I need to get back into sci-fi again.
No. Speed of light ensures this will never happen.
Raid 1 doesn't offer any performance benefits though but you could go with Raid 0+1 (or 10) but i believe read performance is still better in a Raid 5 configuration while write performance is lower.

In the age of really fast SSDs Raid 1 might be the better choice though, unless you really need a huge amount of fast storage.
Fastmail: New IP addresses in Iceland
It is not due to the time for resilvering. It is due to the rated probability of a non recoverable 1bit (or more) read error on modern drives. This probability is high enough that you have a 32% chance of it on reading 1TB. However, this is actually less of a problem on ZFS compared to hardware raid because zfs will only read actual data, not blindly every sector.
I think I already confirmed it on reddit after someone else said it. I shared it with SourceX from myg0t and he shared it with other people inside myg0t. It was really stupid to do ... yay hindsight :(
My contract was written by a Silicon Valley attorney, so in a different context you might have different concerns.

Essentially, it says

I'm a contractor
I'm a contractor
I'm a contractor
Work products not part of client's secret sauce belong to me
The rest belongs to the client (I will add "after full payment" per patio11)
Client has a perpetual non-exclusive license to use the part that is mine

The details of the scope of work and payment terms are in attachments to this. There is the usual stuff about late payments, jurisdictions, etc.
It really helps with accessibility! Captioning helps elsewhere, too, and there are other methods - we've gotten crowdsourced transcripts of the Metafilter Podcast by using Fanscribed[1], and it's been appreciated.

[1] https://www.fanscribed.com
Beautiful Docs
How to install Fedora on top of ZFS
I saw this on Reddit [1], I have no idea what's inside so proceed at your own risk.

1: http://www.reddit.com/r/linux/comments/272zxf/i_managed_to_g...
If it had taken the wind out of the sales then we could have skipped the $6.5 billion federal loan guarantee we issued last February, which is mentioned in the article I linked to.

As for Vermont Yankee, the operating license was renewed in 2011 and remains valid until 2032, but Entergy said that a mix of price controls and economic inefficiency for a small single-reactor design made it uneconomical to continue operations: http://www.entergy.com/news_room/newsrelease.aspx?NR_ID=2769

Vermont's senate voted against a future renewal of the plant's license, but since this wouldn't have been an issue for almost two decades I don't think it's that big of a deal: http://en.wikipedia.org/wiki/Vermont_Yankee_Nuclear_Power_Pl...

The fact is that the federal government is putting its money where its mouth is as regards Georgia, and with the President about to announce a target of cutting US CO2 emissions by 30%, the door is open for other nuclear projects. A bigger problem for the industry has been the fall in power prices due to the huge surplus of natural gas that currently obtains in the US, with no sign of decline any time soon.
Piketty's economic is rickety. Sorry had to do it ;)
SEEKING WORK - REMOTE - InfoSec

I would like to help your enterprise with your security concerns in the development life cycle (SDLC security). I can also work with you in different security areas, I just believe this should be the more attractive to people around here.

We will walk together and I will enable you to achieve your goals in a secure way. Just smart security for your business.

I am seeking for my first remote work so I will give the first an special rate.

Contact me here or at my e-mail professorTuring-at-gmail...
It is a very good thing that the step to do self publishing has come down far enough that regular authors can do it without any special resources.

Sure, publishers provide editing and marketing that will allow the authors to reach the big markets but promising independents that self publish will still make enough of a dent by word of mouth that they will be picked up by bigger ones.
SEEKING WORK - Remote/Part-time (SF Bay Area)

Hello!

I'm a Front-end Javascript / Meteor Developer. I also have some experience with BackboneJS and Angular. Love great UI / UX design, I design web apps using Sketch 2.

I'm interested to work on web apps in the following spaces: fitness, travel, health, community improvement, learning & education. There are more I haven't thought of, but generally not interested in business tools and social networking/messaging apps.

If you have an idea for a webapp, I am available to develop your MVP with the meteor framework, a highly funded javascript platform that's nearing it's 1.0 release. It allows incredibly fast development of new ideas to test the market. For justification, check out http://differential.io/meteor

I'm available to discuss your work in person in the SF/Bekerley area. Looking forward to hearing from you, thanks for reading!

- Shridhar

-----------------------------

Website: http://shridhargupta.com
LinkedIn: https://www.linkedin.com/pub/shridhar-gupta/98/321/563
Email: shri90@gmail.com
There's MOP.
I have friends in various parts of the industry - F2P, AAA, mobile, and indie.

The consensus amongst my friends in game development is that it doesn't pay well for the amount of work they're doing, but it's what they enjoy doing so they're willing to tolerate it.

I should also mention that I am a bit of an anomaly - I'm an AngularJS expert, which seems to be in extremely high demand right now. I'm making around $160k (including stock compensation), and I may have even lowballed myself in salary negotiations.
thats exactly what i mean, i could see most of the population with moderate internet usage move to mobile internet completely in the next 10 years. Its a different story for power users and businesses of course.

On the other hand you have more and more services like phones and TV move to IP, so a wired highspeed connection might be even more important in the future.
All in line with Apple except for the price. Probably north of $299 else how would you stand out? They aren't willing to lower the prices on obsolete / commoditized items. No way they would price a premium, hot fashion+tech must-have accessory at that price.
You're completely right. The police were nice to me, probably because I was very cooperative. The team was about 15 people from the LKA, including the head of the cybercrime unit. I did cause a bit of a scare when I reached for the kitchen knife to cut some bread, but they quickly realized I didnt want to stab anyone. Of course I knew that I was far better off being in Germany than anywhere else, so I wasn't worried much. Overall I'm quite satisfied with how it went for me, even though it would be 4 years until the trial where I had to report to the police 3 times a week. I had the opportunity to turn my life around and get a good job. If I got put into jail neither me nor society would have been better off considering I paid a lot of taxes in the meantime and haven't done anything criminal since.
Clicking != dragging. Same place, different action. Just because dragging starts by clicking doesn't mean that the computer should react in the same way. Double-clicking also starts by clicking, but most computers are perfectly capable of reacting differently to a double-click.

Switching to a tab upon clicking the top pixel is also perfectly consistent with what usually happens when you click on the chrome of any window:

1) Clicking on the title bar (top pixel) = Switch to window, and activate the element at pointer location, which in this case is a tab. Try clicking on the "Minimize" button of any background window to see this paradigm in action. The window is brought to the foreground and immediately minimized.

2) Clicking on an actual tab = Switch to tab.

3) Dragging on the title bar (top pixel) = Drag the window.

4) Dragging on an actual tab = Drag the tab.
I don't agree with this at all. Having a high level of intellect doesn't mean one has the worldly experience to navigate life's obstacles. These children, intelligent as they are, are still children, and impressionable by adults especially when they are young. All it takes is a few years in the early period of development for a budding genius' potential to be clamped. There are many reasons so many end up not doing well. I don't mean by merely the financial measure as noted elsewhere in this thread, but across the board, in that they end up not fulfilling their potential to achieve great things. For some the biggest contributing factor is having one of many different kinds of negative parental and adult influences at an early age.
Does this mean that all FastMail accounts are now hosted in Iceland?
The Oklo[1][2][3] natural nuclear reactor is even stranger.

[1] http://en.wikipedia.org/wiki/Oklo

[2] http://en.wikipedia.org/wiki/Natural_nuclear_fission_reactor

[3] http://jdlc.curtin.edu.au/research/oklo/oklo.cfm
RAID 1 does have read performance benefits; you can read from both disks in parallel. Write time is max(disk0, disk1).
That overlay is one of the most annoying features I've ever seen on a website before.
No way dude. 50th percentile has to be better than that. Go look up what happened to your fellow moppers.
Wait for a very rainy day and do it then. Store some extra water in tanks on the sides.

Does it rain there much or is it arid?
These kids also need schools with staff who are capable of interceding, and are able to provide the means to do so when parents aren't educated well enough to recognize an especially gifted child or financially capable of nurturing the talent, so that the opportunities you note are less likely to be passed by.
Wow, thanks for the salary datapoint! Do you live in a high cost of living area like California, New York, etc (anywhere it costs $2k/mo for a 1 bedroom) or a less expensive area?
HN submissions don't have to be new—just interesting.
SEEKING WORK / Remote

Expertise: System Integration, IBM Maximo, Full Stack Web Developer, Software Developer

Skills: Java, C#, Python, Lua, XML, PHP, HTML, JavaScript, CSS, LESS, SASS, Symphony2, MSSQL, Oracle Database, PostgreSQL MySQL, SOAP, jQuery, MooTools, IBM Maximo (Tivoli platform), BIRT, Git, SVN, Photoshop, API design.

I'm looking for remote work on IBM Maximo, integration of systems or web/mobile/desktop software development.

I'm currently collaborating with several organizations remotely with great satisfaction for everyone.

Website: http://www.aktive.cat/ Email: kilian@aktive.cat
One useful thing I learned from this is by knowing where errors are commonly made, I can better proofread my own (and others) code.
How about something like this

>>> print(str(x) + y)
"12"
>>> print(x + int(y))
3
>>> print (x+y)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'int' and 'str'

That's already Python
Ask HN: How can I find CTO?
What are the ways of finding CTO for the startup?
I can code myself at basic levels but I can not do hard core programming. I will need some body who can understand what I want to do in technical terms. All answers are appreciated.
iPhone looking for Android – 32 (Urbana)
How to Handle Deferred Objects in DoCSSa
DoCSSa is a Sass based architecture and methodology. You can read about it at docssa.info and get the source code of that documentation on the GitHub page. The source code makes use of the concepts, so it's a good starting point. In this article, we are going to focus on the Deferred Objects DoCSSa takes its name from: what do we mean by that and how to use them ?
Not so easy to stop foreign spies when you've been caught doing it to everyone else.

(That said, while they are hypocrites, they are still in the right)
Windows 8.1 Scoots Past Windows 8′s Market Share
Thanks; changed. Submitted was http://research.microsoft.com/apps/mobile/publication.aspx?i....