skysight-inc/HackerNews huggingface dataset:
Streaming replication is really not hard to set up in PostgreSQL. It is cluster-level; if you want to replicate a single database you'll need to use a 3rd party solution like Slony or Burcado (logical replication built on features in 9.4 will improve this).

2ndQuadrant have developed Bi-Directional Replication for 9.4 (http://2ndquadrant.com/en/resources/bdr/, https://wiki.postgresql.org/wiki/BDR_User_Guide) based on the aforementioned logical changeset support in 9.4.
This is just theatre.
> The state and its avatars must recognize that it cannot and must not have the ability to exercise absolute power over citizen's thoughts, computations, and communications if it wishes to foster a healthy and free society

This sounds lovely, except it's just absolute nonsense. For many thousands of years states have maintained the power to restrict citizens communications and almost since the invention of the telegraph they have been able to be monitored in some form. Despite this we are freer than ever.

Healthy and free societies are not built upon a base of unlimited freedom, that is all but anarchy.
Has anybody figured out how the article is accounting for recycling?
The problem is Comey spent his entire career on one side of the system - the prosecutorial side.

People at high levels of government (Director of FBI, US Attorney, etc) should at least spend some time on the other side to better understand how the whole system works.

Of course it won't happen - all the career paths to the top are through the prosecutorial side. That leds to people like Comey, the AG for Swartz case, etc have such overbearing attitude about our rights.
You are basically doing a VMT implementation by hand.

I rather let the compiler do the work for me.
Perhaps in an effort to ensure success with their reboot of Candid Camera, it seems like they decided to go with pranks that are more plausible than were historically done. I think this'll end up being more sad than funny.

The Candid Camera episodes I remember watching often involved slapstick humor and ridiculous clown music. What music will they play during the scene where New Yorkers agree to recall imaginary state officials?
CVE-2014-6271 Proof of Concept Collection Repo
You mean accurate right, because it's accurate.
This is neither a preprocessor in the means of cpp (c preprocessor) nor a generics implementation. If you need a tool like cpp for go, use m4. It was made for things like that.

Now, what this is, is a tool to make it more convenient to convert data into .go source files. I really like the idea that you can just include your source-data (string-tables, grammars, etc.) in source format, and have one tool to convert it. Run "go generate" and everything is ready to build.
He said beat the hell out of the locker, not the person. In this case I'd interpret his analogy to be a reference to brute force decryption.
> What does that say about these people in power, they literally view your right to privacy as dangerous. Sickening

Your right to privacy is dangerous. Imagine trying to investigate a murder with unlimited privacy. Unless someone saw the killer kill, you've no chance.
with some blank lines interposed so the generator directive does not appear in the doc comment

It sound's hackish to me to use specially formatted comments to embed these directives in the source file.

The authors also don't provide an information if users will be able to write their own generators, do they?
The decryption is probably being done by specialized circuitry on the chip. It might perform the operation faster than a much more powerful machine.
Perhaps that overly dramatic chief of detectives think there should be no white vans, no ice cream trucks, or other "tools" of the roving gangs of pedophiles.

People like these that are in position of power over citizens are more threatening to us than ISIS in a faraway land.
> The problem is that it was designed 25 years ago.

It's just my imagination, but I keep picturing someone who did point out the possible security risks but was then dismissed as being too paranoid.
How, if the protocol in question - the environment variables - has no concept of functions?

The matter is that Apache and the protocols (HTTP and environment vars) are just being used as a tunnel between the attacker and bash. They can't pass functions via another channel because they don't know what functions are. All they know is they're passing blobs of data - which any protocol would do, binary or not.

Bash happens to recognize a text value as functions, but it could just as easily recognize the magic value of an ELF binary and execute that, or any other binary format used to encode functions.
From what I can tell, Medicare doesn't run out, and its benefits are not contingent on employment history.

It doesn't sound like he's hospitalized right now. (Medicare covers 90 days of hospitalization per benefit period, with a lifetime reserve of 60 days that does run out.)
Am I the only one who thinks this is basically a computational implementation of nonstandard analysis?

[edit: There was an excellent reply here which is now deleted, which said essentially that it's not exactly nonstandard analysis. Nonstandard analysis requires you extend R to a field containing infinitesimals.

In contrast, all that is necessary here is extending R to an algebra with a nilpotent element (e^2 = 0).

http://en.wikipedia.org/wiki/Dual_number
]
HOWTO: Everything you need to protect from ShellShock
I genuinely hadn't noticed the meaning of the diamond links - I wasn't just making a cheap shot.
In fact they are confusingly diverse: his own mailto: link is a diamond link, as is this URL on the Acknowledgements page: http://practicaltypography.com/contact.html

It's totally acceptable, if a bit Knuthian, to expect a reader to learn a few typographic conventions, but they should be well considered. Don't make the reader hover to find which words are part of a given link.

It is probably worth remembering (as this is HN) that design is partly a personal and subjective thing. I am fairly interested in typography but I wouldn't hold my opinions out as the one right way to do things. One thing I have never thought while studying typography is "I wish this author was more pedantic and conventional, I don't know, maybe like a lawyer?".
Did you set up the campaign?
I don't think these can open and read .proto files during compilation.
Not nonsense at all, just an idealized view of things that doesn't always mesh with reality.

Freedom is not a static thing; it's a constant conflict between various parties. It's a balance.

Various entities within the government are always trying to wrest more control of individuals, more information about their lives, all with the justification of achieving incrementally better service to society and the world.

We the citizens of industrial societies need to come to a consensus as to how much freedom we should have, versus how much we should sacrifice for the sake of collective safety and security. We are nowhere near an agreement at this time.
The surprising and continuing influence of Swami Vivekananda (2012)
> using yacc from Golang programs is in fact ugly right now

Why do you say that, and how does this mechanism affect the use case you have in mind? You run go generate instead of make. The advantage is that you don't have to have make; e.g. Windows and Plan 9 don't have make. Arguably, the advantage is pretty minor, but I don't see how it changes anything in your workflow.

Remember that go generate does not run at build time. You still have to run it manually when you want it (just like before, with make) and commit the generated files into your repository.
In my region there is a group of charities that get food that would otherwise have been thrown out from local grocery stores. The handling of the food tends to be a bit careless so it's best to stay away from the things that really need to be refrigerated, but it was really helpful for me when I was unemployed. So I for one am glad that grocery stores have too much.
It's possible that I am just missing a trick that everyone else who uses Golang knows, but I never use "make" with go.

(That's what makes yacc so much simpler with C; it's just another Makefile production.)
I might be wrong, but I doubt the cap tables for the startups you listed are public. What the founders own is their own business.

Sam's likely talking about a 'typical' exit for a startup that's taken venture capital - multiple funding rounds, reasonable valuations at each round.

If your startup is a Facebook or Google and does a lot better than the 'typical' startup that exits (which just by getting to an exit has already done better than most), you can raise at better valuations and choose to sell less equity. If your startup manages to grow in a capital-efficient manner, you can also choose to sell less equity and keep more of it for yourself.

That said, being irritated with Sam is just shooting the messenger - he's not lying to you. I certainly know of founders who came away with much, much less than 10% of their company. That also isn't necessarily a bad thing, since the stake they sold was used to get to an exit and expand their company. I'd certainly rather have 1% of a mammoth exit than 100% of a failure.
In Germany, in some places there are bakeries that offer bread from the day before for a discount.
Rust can.
Top Bicoin Exchanges
Ha-ha-ha-ha-ha-ha-ha

Edit: just to be clear, this is just more FUD. Perhaps a higher rank will be required to randomly wiretap iPhones; a higher level of secrecy will be engaged. But Apple does not have the power to deny the NSA easy access. Not that they'd really want to, they've collaborated all along the way. Bottom line: please keep this propaganda shit out of your daily wishful thinking and work on a real solution.
Yeah we have always caught killers over the years solely on the basis on electronic spying. Forget about all the other tools of detective work that has been used.
Shocking. Just buy what you need and live happier :)
Stonebraker again ... ?

SciDB: http://www.scidb.org/

Paradigm4: http://www.paradigm4.com/

... anyone have experience of using SciDB?
Not sure for whom this Cube is made. If it's for regular people to dancing together, why there is no regular forks in the video to say something, if it's for artists, why there is no single piece of artwork presented, if it's for tech junkies, well, just show me the codes!
Well, it wouldn't be a real Uber clone without a blatant disregard for laws and regulations, now would it?
First letter of each paragraph = "SSL TLS FREE".
No, it's not. It is as if the communication couldn't be monitored. It's not like the phone conjures the images from thin air.
Chinese Restaurant Admits to Selling Opium-Laced Noodles, Reports Say
مواعيد المقابلات الشخصية لوظائف الازهر الشريف 2014 ومكان الامتحانات
> I never really "got" the new wave of NoSQL databases.

It's easy: Overzealous DBAs who insist in normalization at all costs.

A new technology allows developers to try new approaches to the challenges, by sidestepping those DBAs.
You're overly simplifying things. Uber has my payment information set up in a sleek app. Uber has the most cars available when I need it. They have pretty seemless technology that works well. New entrants are unlikely to match that. So I'd stick with Uber. Which of course are all the reasons Uber has raised gazillions and is growing like crazy. "There can be only one!"
I wonder if containers on the desktop would be useful for this kind of situation. You could have containers for different distributions, or even different versions of a distribution. For example, one for Ubuntu 14.04 and a different one for 13.10. The containers wouldn't do much, other than take up filesystem space, until they're needed.

This wouldn't work if the software requires a kernel module that isn't packaged for your distribution. It also wouldn't be particularly useful for a file system navigator or something that needs to see the rest of the system. That should still leave in quite a bit of useful software.
> The authors also don't provide an information if users will be able to write their own generators, do they?

Yes, generator calls are just calls to executable files.
The new security in iOS 8 protects information stored on
the device itself, but not data stored on iCloud, Apple’s
cloud service. So Apple will still be able to obtain some
customer information stored on iCloud in response to
government requests.

Some? I think the importance of this qualification has been overlooked everywhere it's been reported.
It's not uncommon in Go programs to have makefiles (or shell scripts) that make some transformation to the code. This imposes no burden to the user since the generated files are checked into the repository, but it does put some burden on the developer (who has to run make), or to the prospective contributor, who not only has to have make, but potentially has to have all other tools invoked by make or learn the varying non-standard mechanism by which code is generated (e.g for the Go project itself, a new developer has to learn how to use the various shell and perl scripts that generate the code in the syscall package).

Go generate does not eliminate this burder for the developer. Someone still has to write the yacc invocation and remember to run it; it won't know how to run itself, but it has the advantage that now there is a standard canonical way to generate code. Anyone can just type go generate instead of learning about makefiles or shell scripts or whatever the project is using. Code generation is normalized under the go generate umbrella.
You can't get away from people. People will rule your life, whether you let them or not. People are the rule interpreters, enforcers and inventors, so even strict rules won't save you.

And yes, virtually any corporation works somewhat like an army unit. Nothing strange about that.
I think your comment summarizes why this stuff so hard on traditional SQL; one doesn't even know where exactly to start. In MongoDB, you just turn on replication according to http://docs.mongodb.org/manual/replication/, which means basically adding one directive to mongod.conf and typing in the IP addresses of the nodes. MongoDB handles everything else for you. I'm not claiming that it's better or reliabler, just that it's really easy to set it up in 5 minutes.
It's not actually "inspect it visually." It's that they follow the visual inspection guide, which is an Apple procedure. So not as much discretion as it sounds.
Please correct the title. The original title is correct: "Go generate: A proposal" the rest is wrong. This tool is not a preprocessor. It's as wrong as calling 'make' a preprocessor. It can be used to call preprocessors or more likely generators.
I think you are underestimating the power of statically typed generics when using a language with a decent type system.

In your example:

let r = f([...])
assert(r, correct_value)
assert(r.type, correct_type)

This doesn't test everything we need to know. For example, the following function passes your asserts (in pseudocode):

f(a_list):
if (a_list instanceof List[Int]):
return 0
else
... other stuff ...

whereas the original, statically typed version of the function with signature

f :: [a] -> a

cannot ever do that. This is a profound insight. It cannot return zero "in the case of a list of ints". It doesn't know anything about its input if you don't tell it. And you shouldn't tell it, either, unless you have a very specific reason to do so.

Also, in programming language with decent static typing (that is, not Java or C++; I wouldn't know about Swift to comment), there is a huge additional difference between the two functions:

I can promise you my function doesn't write to disk, doesn't output to the screen, etc. You cannot promise the same with your function. Your function might work when it has access to the disk, as in your test environment, but fail on production where it does not. Ok, so you inspect the code to make sure your function (or any function it calls) don't do I/O. But I don't have to do this, because the type system tells me my function is side-effect free.

So now you have some pretty powerful assurances in favor of my statically typed function:

- It doesn't perform side effects. I don't know about the dynamic function.

- It doesn't produce any value out of thin air; it must work with the list I passed it, because it doesn't know anything else. It doesn't know how to create new values.

- As a consequence of the above, there are fewer possible implementations of my function than of yours, excluding no-ops.

This is a kind of testing "for free" that you don't have with dynamically typed languages. And it is pretty powerful.

Yes, you can cover a lot of cases with unit tests in a dynamic language, but why not let the computer do the boring work for you? It's what computers are there for. Focus on the interesting test cases instead.
CloudFlare is the biggest MITM attack in the history of the internet. Why are we putting this much power in the hands of a few US citizens, who are legally obliged to record all that unencrypted data passing through their servers?
It's also Google's birthday today.
What about taking into account each student's performance in the class? In other words, partition the evaluations into sets based on the students' performance. Then you'd end up with a spectrum of instructor ratings, from F to A, not an average.

If the institution wants to make a choice of instructors for an introductory course, they might want to select the instructor with the higher low-grade rating. The intuition here is that well-performing students in an introductory course might have prior knowledge, so their ratings add noise.

If the institution wants to compare two instructors overall, they can compare their spectra after subtracting the skew that results from low-performers evaluating poorly and high-performers evaluating highly. What remains is some picture of how the instructor handles students of different strengths and weaknesses, which (I think) is the best measure of a teacher.
It's too bad there isn't an educational system that exists to help us learn units throughout childhood so that we can apply them to everyday tasks in our adult lives.
That's an interesting point. How would you take advantage of this?

I think the main reason why people buy more food than they need is because the demand is somewhat unknown, and food is so cheap that it's safer to err on the side of having too much. That is, it's worth it to pay more in order to not have to worry about whether you'll have enough food when you want it.

Right now the only way to make sure you have enough is to buy more than you need by a safety margin. But what if there was some way to easily procure/prepare the food on an as-needed basis?

I've seen ideas about having a 3d printer, where large stocks of food could be kept and combined as needed into a variety of recipes. The inputs would be stored dry, so they won't go bad as quickly.

This might work, but there are downsides as well. Specifically, you might have problems getting the food to taste good enough to be a viable alternative. From the link, the top types of food wasted are fruit and veg, seafood, grains, meat, and milk. A powdered version of grains might work, but you'd probably have difficult getting all other types to be tasty/healthy enough. I mean, there's a reason why everyone isn't eating canned food all the time.

Another idea is to improve the just-in-time logistics, like the drone burrito delivery. Aside from the regulatory hurdles, I think this would work pretty well - pay more in order to not have to worry about whether you'll have enough food when you want it. There might also be a B2B angle to this with restaurants or grocery stores. Amazon has done some work on this with AmazonFresh, where they do same-day delivery of perishables.

The other thing to realize is that the actual farming is apparently only 16-18% of the price paid for the food, so you'd hope to get efficiencies elsewhere.
We Could Learn a Lot from the Porn Stars
How to Choose Best Web Hosting Service for Your Website
Many stores sell "yesterday's bread" which keeps well if sliced and frozen, or can be used for bread crumbs, bread pudding, French toast, crouton, etc. One time I was in a store and asked where they had "yesterday's bread", and they said they don't have any because at the end of the day they donate it to some organization that collects excess food and distributes it to the poor.
Yes, I am looking for Online Website Builder, so that non coder can do easily simple website(nice to have - reponsive design) from my web portal. Wordpress Multi User could be one of Alternative but I think, Wordpress features could be too complex for the users.
Or they are all equally good, or they all have exactly the same wrinkle on their nose, as the very point of this article is that student evaluations don't measure what we think they do.
My wife does this to me, except I don't get the kozukai.
D has meta-programming and compile-time evaluation, including reading files.

I bet C++ can do it with some clear use of template metatprogramming, compile time evaluation and processor macros.

Nim has meta-programming capabilities, including reading files.

Not sure about Template Haskell, though.
Thanks for the explanation.

Quite frankly, no application I have ever worked on has had to deal with "huge" amounts of data by any common definition (a couple of gigabytes at the most).

And like I did say, looking at our ERP system's database I am beginning to understand the appeal of a database without a fixed schema. Some of the tables have dozens of columns, with most of the rows being full of NULL values. So I do get that part, but no application I have ever worked on was like that.
That's a complete strawman you've pulled on me there. I never said anything like that.
Medusa: Compile Python to Dart
I let a RapidSSL cert lapse lately. They sent me 11 emails about it. They were really rather insistent:

Early bird special: Renew your <website> to save
Keep <website> Secure, renew your SSL
Last chance to save: Your <website> is expiring
ACTION REQUIRED: Your SSL needs attention
FINAL NOTICE: Your SSL expires tomorrow
LAST CHANCE: Your SSL expires today
SECURITY ALERT: Your <website> may not be secure
ACTION REQUIRED: Your SSL needs attention
SSL EXPIRED: Renew to rescue
CALL US: SSL for <website> is expired
Your last SSL expiration notice for <website>

I was actually relieved when they finally stopped mailing me...
How much money is your side project (s) making?
Ask HN: Would you hire web designer?
Hello HN,

I am young web designer, im attending media technician educational highschool program in Slovenia.

I have great experience, having worked on great number of projects in over four years.

My skills set:
- Adobe Photoshop
- Adobe Illustrator
- Sublime Text editor
- SASS & LESS

My presentation website: http://vidakovic.si

You can contact me if you are interested in collaboration at miha@vidakovic.si
> It is as if the communication couldn't be monitored. It's not like the phone conjures the images from thin air

You just contradicted yourself. If the communication can't be monitored, then the phone may as well be conjuring images from the air as you have no way to know what they are, where they come from, where they are being sent.
Could this not be achieved in an IDE - "inline mode". It could display function calls as inline code and give the advantages of both.
Good thing I've I never totally hosed myself when picking the wrong word/letter in a command line as opposed to a non-executable HN comment.

cries softly to self
http://i.imgur.com/fGBV3SP.jpg

They were set on allowing people to believe that a structural defect is only available for out of warranty service until the issue got enough attention.
Magnesium Based Cements
⚠ Be careful with unicode ⚠
Unicode has a lot of little known features. If you allow user generated content you should probably use a whitelist of acceptable symbols. Otherwise people may wreak havoc with right-to-left-overrides, zalgo, or most recently, color symbols.