skysight-inc/HackerNews huggingface dataset:
Another way to say it is the bash and awk have no references, and hence no aliasing (and no possiblity of cycles). Consider:

d = [1,2,3]
e = {key1: d}

Now you have an two names for the array [1,2,3] -- d and e['key1']. They are aliases.

Now consider something like this:

f() {
d = [1,2,3]
g(d) # The interpreter has no idea what this does, without runtime inspection
e = {key1: d}
return e
}

How do you figure out how to free memory? There's no way to do it without garbage collection, which is an algorithm that runs concurrently with your program. For contrast, Rust eliminates the runtime bookkeeping with compile time annotations like borrowing.

So basically if you have references and aliasing, and you can move them across function boundaries, then you must have garbage collection if you want to free memory automatically. (Function boundaries are important, because they use the idea of a stack. A stack is a (limited) way to automatically manage memory.)

But bash and awk both get around this by not having references. This eliminates the possiblity of nested compound data structures, or returning values by reference. But in return you don't have to implement a garbage collector. Compound data structures are flat and confined within a stack frame.

(You could still copy the whole array to another function's stack frame if you wanted, but they don't do that.)

So you can't express that program in either bash or awk. They have "flat" hash tables and arrays, where you can only COPY primitive values like ints and strings into them. You can't reference other arrays like {key1: d}.

Hopefully that helps. I hacked on awk a bit here [1] and that is when I noticed the limitations in the language. I thought it was sort of like JavaScript -- regexes and hash tables. But it's actually much more limited, due to its lack of garbage collection.

[1] https://github.com/andychu/bwk
A little thought experiment I Googled up, seeing as I live near a river estuary and have been pondering the effects of sea levels rising for a few years now: http://geology.com/sea-level-rise/

(IIRC the realistic figures are more along the lines of centimetres rather than metres over the next few hundred years, but it's sobering to consider)
What about the other referenced article from Fortune? http://fortune.com/2016/11/25/russian-fake-news/
Truth is not the absence of propaganda; propaganda thrives in presenting different kinds of truth, including half truths, incomplete truths, limited truths, out of context truths. Modern propaganda is most effective when it presents information as accurately as possible. The Big Lie or Tall Tale is the most ineffective propaganda. Here's more info: https://en.wikipedia.org/wiki/Propaganda_techniques

I'm very wary of this attempt to silence "fake news"
so far I've been happy with SSDNodes.

but it depends on what you're doing. I have definitely had problems with email deliverability. For example, right now I can't deliver to any verizon.net users because verizon claims the IP that my VPS is on is a dynamic IP. They won't budge either.
uptime has been great and they're (my node at least) at a data center in nearby Dallas, TX so ping times are nice and low and it's usually no more than 9 hops away.
Fantastic, but you need a black background (e.g. nightmode, some terminal editors, dark theme, etc). Most major editors either have this as the default or support it (inc. Visual Studio).

For coding OLED is my favorite because in my OPINION it reduces eyestrain. In my experience the two biggest factors in eyestrain are: too small of a font for your eyesight, and too bright of a screen.

With a normal LED-IPS display you can turn down the brightness to approx 25-35%, but even then the screen remains pretty bright and below that the colors and contrast seem to wash out slightly.

With OLED because each pixel is lit as opposed to the entire display, working in a night mode means you're really looking at a very lightly lit screen even on a full page of white colored code.

Plus the white code really pops out because the background is much much darker than other technologies. On other display types the software asks for black but really gets a shade of grey, this is due to unavoidable light leaking. On an OLED it asks for black and gets actual black.

That all being said, OLED is great for coding, IPS might be better for color reproduction (e.g. photo editing) and wide angle viewing, and neither IPS or OLED is great for gaming currently (due to poor response times, etc).

PS - Obviously this post is only about display technology. In the real world other factors may come into play like relative price, resolution, orientation rotation, reliability, and so on.
What are the real performance benefits of stored procedures over sending the hand-written queries over the wire through your ORM? I suspect small to none, and at the cost of having code that lives in the database rather than in version-controlled code.
Just tried this and I really like it. I hope this is here to stay. The Dply button could be huge!
This is a pretty ridiculous article, and I'm sad to say, indicative of what seem to be increasingly 'fast-and-loose' editorial standards on theintercept.com. As was mentioned by another commenter[0], the authors make some rather misleading allegations of their own without ever fully supporting them. Instead preferring to leap to extremes with cries of 'McCarthyism!', with seemingly little mind for it's significance, failing to draw any parallels between events reported and the Army-McCarthy hearings of the '50s. Not that the WaPo article was any good, but this is the pot calling the kettle black.

Heavy rhetoric with maximum volume; light on facts or any real point, other than being outraged or condescending.
Seems like the way all US political and cultural discourse is conducted nowadays, so not surprised really. Sad though.
Even (re)defined a whole lexicon to describe this narrow projection of the world. Conservative, Liberal, Progressive, Caucasian, African-American, Libertarian, Patriot, et al. All subtlety reduced to a set of meaningless labels that denote nothing but your "team". Invoking nothing other fear, rejection, aggression, and anger from any "opposition".

[0] https://news.ycombinator.com/item?id=13045686
I'd really appreciate a good cooking or baking assistant.
This sounds like the approach was taken but the necessariy development tools were not created. Hence the painful experience.
> It's really manageable. It requires that your dev team really knows SQL

I'd question the credentials of any developer who doesn't know SQL. It's an essential skill across the entire IT-indutry. Not knowing it means you're obviously not serious about your job.

And here you're talking like programmers not knowing it is a normal thing... Are we working in the same industry?
Things an actual assistant could do, like call XYZ to make an appointment on my behalf. Find the best price for my car insurance. Send flowers to my wife. Find tickets for an event.
Here is an example with ~10% returns, although of course no information what specific pattern (e.g. maybe a lot towards the end, or something like "bought 8 expensive things to compare with the intend of returning 7").
https://www.theguardian.com/money/2016/mar/18/banned-by-amaz...

What's IMHO worse is that they remove Kindle access etc as well (I think here in Germany they've been sucessfully sued for that, so not sure if they still do it)
Be completely open source so that you could control the privacy of it.

Completely offline with local processing on the device of choice.
The site has been down for the past 5 minutes http://www.downforeveryoneorjustme.com/holidayhole.com
I am not familiar with the PCI compliance stuff, but I found this after a quick search: "How Companies Learn Your Secrets" http://www.nytimes.com/2012/02/19/magazine/shopping-habits.h...
Irrelevant to this article, and no comment in your article says she needs to be marched into a gas chamber. I found one comment saying that the people she supports would do that to her.
I was pointing out propaganda and those I skipped well, those look like facts unfortunately.

And it is a dictatorship, so no elections. I wrote significant not majority.

Just wanted to point out that it's hard to get a realistic picture in the middle of all the propaganda. For instance, there's no starving in Cuba and health care for everybody. You cant say that about all countries with elections.
"Closing the Stage" is about a different interaction between staging and closures: that (with some care) staging constructs can be elaborated into closures in an unstaged calculus.

The problem with moving arbitrary values between phases with macros is that values can refer to bits of the runtime environment that cease to exist when compilation is finished.
> Never have I seen someone so self-righteously accuse another of self-righteousness.

Either you don't hang around HN much or you're just prone to hyperbole.

> Overt racism is a heuristic I use to determine whether to take a person's other viewpoints seriously

I'm curious whether it was the tacit acknowledgement of the dominance of white males in technology or some other device in the writing which triggers this reflex for you. If the former, that's a pretty low bar for that, and of course a totally disingenuous accusation.
>> This isn't your problem and you can quickly tire yourself out.

This is totally right.

>> All you have to do to support is help your wife accept her current state, and help remind her of living in the present.

And this is totally wrong. I lived 4 years long together with someone having anxiety like the wife of the OP. We could literally never go out just like other joung couples because she was afraid of crowded places. Guess who did I met on the overcrowded dancing floor 3 months after breaking up? She and her friends.

People sometimes only need the opportunity and free space to take the responsibility for their own conditions and to take care about their own shit. With great responsibility comes great power.
ZODB is not a database, nor is it fast.
Not open source, and actually it's not free, either. People sure think it is, but that's only for students at degree-granting institutions, and people working on open-source code who are not being paid.

Academic researchers can get a free library license, but not a compiler license.
Release of all the stored methane would not cause the Earth to turn into Venus. We know this because the process has happened several times, and not only did the Earth not become Venus, it did not come anywhere even remotely close. There is no known process by which climate change would render the Earth uninhabitable.

This doesn't mean it's okay. Release of methane has always happened at the same time as major mass extinctions, possibly as the cause of it. It would create massive warming which would make large inhabited parts of the planet much less desirable, play havoc with the biosphere possibly making large areas of farmland unproductive, and in general being a massive economic drain and probably killing a lot of people.
Site of Global Seed Vault sees shockingly warm temps near thawing point
Uber seeks EC ruling that it is a digital service, not a transportation company
code that lives in the database rather than in version-controlled code

If you think you can't version control stored procs, then you are doing something badly, badly wrong.

What's the difference between a "script" which is a text file on a filesystem at the end of the day, versus a "stored proc" which is a block of text in a database, loaded off a file in a filesystem?
Helth.ai, your personal health assistant
For most job descriptions, Passion doesn't mean literally 'passion'. Passion is just a euphemism for "Wage slave willing to work 80+ hours per week"
Curious, would you think the same about somebody that got their Google account closed? Do you have a reason to trust Amazon anti-fraud algorithms more than Google anti-fraud algorithms?
How to Create, Search, Install, Update and Publish Npm Packages
Make routine phone calls. Call school and tell them my kid will be out. Understand routine replies.
PostgreSQL Stored Procedures can absolutely be a pain to manage and change management can be tricky. Having said that these are not problems without solutions and there are some good wins if you can be organized enough to pull it off.

First off, plan and organize things. Yes, it would be nice if there were another level of abstraction, like Oracle's packages, but you can use schemas a bit more freely for namespacing. But a little time thinking instead of just coding can avoid much of the spaghetti. Many good devs will think through the rationality of their APIs, this is no different.

Second. Use a tool that lets you manage the code-bits like code. Migration tools like FlywayDB, etc. are not good for this because they sacrifice too much to the stateful nature of the database: you end up organizing things on a timeline rather than based on your structure. A better approach is like the one in Sqitch (http://sqitch.org) where you organize files according the organization of the database rather than the history of the database... very powerful approach. There are also verify steps which can incorporate testing: and testing the store procedures is easy... it's maging the data in tables across tests that can be hard and that is true regardless where your business logic lives (insofar as those tests can change data).

Third there are good testing tools available: The guy that made Sqitch also makes pgTAP (http://pgtap.org/). Well worth a look. I haven't done much myself with this one, but will likely do so soon.
More like a database toolkit. Performance depends on application but was clearly never the top priority. (Can still be pretty impressive in comparison due to the rather effective instance caching)
Can't reply to reflexive, but they say:

> ... the catch is, how do you know what are the actual important problems, except by how people allocate money?

Attention is another scarce good that has value. Many open source projects have value because they are solving a problem many people have. The original authors knew they were on to someone because people laid attention to the solution.
The Flat Footed Squat: Human's Natural Resting Position
Maybe your accent just sucks.
That reminds me of the Dueling Carls: https://www.youtube.com/watch?v=t-7mQhSZRgM
Webinar: Microservices Architecture Based on Actor Model
I would like to be able to tell any digital assistant enabled device in my home to "play latest episode of Dirk Gently's Holistic Detective Agency on the living room TV" and have it work. I feel like that's a very simple, minimal viable product, sort of request.
Siri responds with "Hmm, I'm not finding anything for that."

I'd also like to be able to ask "How many steps have I taken today?"
Siri responds with "I can't answer that on your iPhone but you can find it in the Health app: Open the Health app"

This may feel like a big ask considering the majority of the basics aren't covered on the platform I'm using, but compound questions would be wonderful – "show me the thirty largest US cities" "remove any that do not have a moderate climate" "which one has the lowest cost of living?"

If platforms already provide these services and I'm simply using the wrong one – oops.
Don't assume. I got banned from AliExpress after reading a post on here about the ridiculous free shipping from China, making an account, and buying my friend sexy underwear for $1. Thanks HackerNews.
Honestly, it's yak shaving at that point. Like the article pointed out, you can create an index on a stored procedure that is IMMUTABLE. That will have some effect on the performance of the query.

There are other patterns you can use to track via version control the changes for your stored procedure.
The land apparently cost $25k and is in Oregon Illinois. I guess they can sell it on with the famous hole in. http://www.wifr.com/content/news/Cards-Against-Humanity-Holi...
The discussion is quite abstract - perhaps that's why it's difficult to grasp. As I understand it, the climate can be regarded as a dynamical system currently existing at a stable equilibrium. I.e. small perturbations to the state tend to be damped. If there's a massive volcanic event, we will have a few cold years, but the climate will return to something familiar.

It's stable, as when you add up all the positive and negative feedback effects, the result is negative. The most important negative comes from the thermal radiation of the Earth into space, which increases with increasing temperature, resulting in more cooling. Methane in Siberian ice is a hypothesised positive feedback effect: higher temperature => more methane => more warming.

If all these effects ever add up to more than 0 (the "tipping point"), the system will no longer be stable, and will travel around until it finds another stable equilibrium. The actual consequences of this are nowhere stated because they are completely unknown. But we're not talking about measuring sea-levels, we're talking a completely different climate (e.g. Venus).
I think threads, atomics and bounds checking were all TR proposals up until C11. Then they added the conditional (optional) features. Threads and atomics are mandatory and bounds checking and 'analyzability' are conditional.

If you have to deal with strings in C more then likely you have written a string interface with bounds checking. Its not clear if it needs to be standard so its good that its optional. Icc, gcc and clang support it so I would not hesitate to use it.

My point was that 'safety' in C is still more or less a process of training the programmer rather then a language feature. And that was and still is a design goal. But at least now you can point to the bounds checking functions and other new features as an example of how to get there.

I'm not going to argue whether C is safe. Or whether XYZ is safer then C. Thats way of topic.
LibreOffice Conf 2016: MSO interoperability and automated bisection of regressions
And because you can't really report across microservices, everyone is now setting up datalakes, where they aggregate all the data of their services.
The Overton Window and Political Control
This paper[1] also currently on the front page is a great intro to MSP if, like me, you aren't familiar with the paradigm.

I'd be interested in hearing some exameple applications of this, if anyone here uses MSP on streams in serious applications. Killing runtime overhead like this seems very powerful intuitively, but use cases where it would have a significant impact don't immediately jump to mind for me.

[1]: http://www.cs.rice.edu/~taha/publications/journal/dspg04a.pd...
Although both articles are pretty terrible, having just reread 1984 again, it all seems familiar. It's funny how when the internet began we thought it would make the truth easier to see; what we got instead is this, both the truth and the lies are mixed up and you can't tell one from another. What we need, assuming you can build it given how hard it is to tell them apart, is a technology that can tell them apart. Of course it might also be co-opted and then we can't believe anything.

I always find it amazing how 1984 turned into a how-to manual.
Exactly. I have always thought that short of having a e-ink screen like Dasung (which is a bit buggy and requires a driver not available for Linux/BSD), OLED could be great on black background as no light would be emitted.

Any reasonably priced OLED screens for a desktop?
I've used this site before to quickly absorb the main ideas of productivity books. There are so many published, it's difficult to find what is worth spending time and money on.
My accent is perfectly fine (neutral US) and Siri can't pick up probably 10% of the words I say, primarily words that are uncommon or have multiple pronunciations, especially if the pronunciation I use is not the most common version.
I don't quite agree it's the tools only, my bigger gripe was total lack of scalability. Basically, even for moderately complex calculations, you can cache a lot of slow-moving stuff (such as products, categories, etc) to redis and do most of stuff on web_worker_{nnn}, using potgres only where you need ACID guarantees (eg orders, payments, etc). When you do everything on your master instance, any heavy calculation can become a problem pretty quickly.
i checked and ycombinator.com is not approved by PropOrNot (/s)

Joking aside, it's not ridiculous to castigate a piece of bad journalism by a renowned paper. I suppose the McCarthy remark is a bit tongue-in-cheek, given how cold-war-like this situation is, but despite the hyperbolic title , the article is not full of hyperbole.
The entire point of using a BSD/MIT-style license is that it gives "freedom" to a different set of people than the GPL does. In this case, why is it not perfect for someone to invest money building a commercial product on top of clang? Isn't it just fine that they want to make a lot of money?
I bought a new 13" MBP with touchbar and I'm returning it on Monday. I don't like the keyboard and I _really_ don't like the touch bar, and I seem to only get about 3 hours of battery life. I'm going to stick with my early 2014 MacBook Air until Apple figures their stuff out.
Black being actually black (ie no light being emitted vs pixels hiding the display's backlight) feels great for terminal work, but I do not think that OLED is yet worth the overall battery life hit.

For instance, Anandtech [1] reports 6h11m for web browsing on the LCD X1 Yoga, which drops to 3h39m on the OLED variation.

[1] http://www.anandtech.com/show/10697/the-lenovo-thinkpad-x1-y...
At the moment I would say Strymonas is a tech demo. If I was reviewing the code there would be a lot of comments along the lines of "seal this trait", for example.

I would expect it to be very much faster than Akka Streams. It has quite a different design as far as I can tell, and doesn't support things like distribution across machines.
Let me add commands myself. Yes I want to be able to say "computer turn on the light" and imagine I am on DS9, but more practically I need that to free my smartphone from my hands, which is needed as a driver.
>it is trivial to construct URLs that execute arbitrary code on a web surfer's machine.

Forget the design, it's "web surfer" what gives the old page age away.

Joking aside, they've put more thought into the tel URL scheme, that allows you to start a phone call on iOS, by disallowing the use of * and # [0].

0.https://developer.apple.com/library/content/featuredarticles...
Evolved Version of Mirai DDoS Botnet Goes Up for Rent
I hadn't quite considered that. I suppose that very well might count, though I was particularly thinking in the domestic sense.
>Huge headed failed porn star, Nazi pig.

> Over-compensating dumb beeyatch

> stupid w*e

> I wasn't in the restaurant when they did their "Sieg Heil" salute. I would have gone into instant Veteran's Day Mode and sent as many as I could to the hospital

somebody at wapo said yea these are great comments and approved them ^ ( every comment goes through moderation before publication) , at the same time wailing about how horrible comment section is horrible and ' is especially true for women and minorities.'[1].

1. https://www.washingtonpost.com/posteverything/wp/2016/04/21/...
Well you didn't mention that part in the parent comment ;)
Of course, "Death of the Author" analysis allows one to disregard the author's intent in a work of art and find one's own meaning! ;)
What's the difference with http://nessos.github.io/Streams/ for F#/C# ?
You can actually do something similar with an Interrail Pass [1]. It's a train ticket valid in all of Europe for 1 month for €407 if you're under 26 or €532 if you're older. Still, pretty cool!

1: http://www.interrail.eu
One performance benefit of stored procedures in Postgres is that you can perform a multi-statement transaction in the stored procedure, saving the network overhead of multiple round-trips between the application and the database. This may not be a common occurrence for many applications, but it is a legitimate performance benefit when the need arises.