skysight-inc/HackerNews huggingface dataset:
My 2 cents:

Get a Masters and go into industry. You will love the work you get to do in the field. Over time you'll learn what big unsolved problems are that we are currently facing. You might find one that particularly interests you and start thinking "man, I'd love to have a lot of time to really dig in and solve this problem, something my job never provides" Then you go back for the PhD where you get that time.

The work ethic that you learned will be invaluable and you'll have something solid to pursue.

In my opinion the two biggest wastes I saw when I was in my PhD program were:
1. most students had no work ethic. It was always "I fucked around all week and then rushed to do research before meeting with my professor"
2. not having any idea what kind of research the world needs. And why should you if you never go out and experience the world?
What if war breaks out and the desal plants are targeted?
Please note that this was written before it was discovered that the expansion of the universe is accelerating. Now that that is known, it is possible that things could end much, much more quickly as that expansion accelerates to the point that galaxies, stars, and eventually atoms are ripped apart.

See http://news.vanderbilt.edu/2015/06/new-model-of-cosmic-stick... for more.
Hackers attacked Vietnam's two biggest airports
Got it. This is what I was missing. Thank you.
That was in the past... This is a new century. That is why these academics are so uneasy-- they are not doing science, instead, hoping salvation from military coups.
Yep. I always feel extremely uneasy when I encounter a codebase that asks me to install its language's package manager (npm I'm looking at you) as root. I just go 'nope' the only thing that touches my real system is portage. Even using npm or pip as a non-root user worries me because there is an entire extra level of validation missing and it signals to me that developers are not doing due diligence and working with distro maintainers. Yes I know it is more work, but it is an incredibly important step for quality control. The kids these days seem to think that containerization will solve everything, but these problems cannot be avoided.
What Are the Risks of Hacking Infrastructure? Nobody Really Knows
A more extreme example to make a point: because it would be bad if someone could buy up the house next to me, knock it down, and replace it with a sewage plant.

At least in the US, a large component of limiting land use is to prevent someone from moving in with some undesirable feature and tanking an entire neighborhood's property values, which in many cases are homes that represent a large fraction of a lot of people's net worth (and retirement funds). Taken too far, this can lead to crazy NIMBYism that keeps anything from being built anywhere, but I don't think it's unreasonable to say "No, you can't put a landfill in the residential area that's been developed here for 150 years."

Whether you think a 1000 ft. radio mast falls into that category is up for debate, but a full-on libertarian "I can do whatever I want wherever I want to" system wouldn't lead to very good outcomes.
Cloud Foundry has staging and run steps, much as Heroku does, to the point that a lot of Heroku buildpacks will run without modification ... if you're in a fully connected environment at staging time. It's not an accident: Cloud Foundry was in part consciously inspired by Heroku in the early days, so adopting the buildpacks model was natural.

However, as I noted above, this model breaks for disconnected environments, in which neither the staging container nor the runtime container have internet connectivity.

Heroku's ruby buildpack code runs bundler, Cloud Foundry's buildpack is a soft fork of Heroku's, so either you vendor your dependencies before sending it to Cloud Foundry for staging, or you get a failed staging step when the code in the staging container can't dial out to a remote repo.
To me, as long as functions are first class members, and higher-order functions are possible, I consider a language to be functional.

Everything else is a convenience and not a requirement for the functional paradigm.

Mind you, I do much prefer a Lisp or Scala to Javascript, but I face no trouble writing functional code in Javascript.
Look at Valter Longo's research for a connection between fasting and cancer.
I could maybe agree with you on the message-passing thing (was about to upvote you). But then you mentioned macros.
Some of the other subs auto ban any user who posts in /r/the_donald, so even trolling under your own account is a risk.
Konga EZ: African tech company is using Progressive Web Apps to it's advantage
The new Haskell Design Patterns book, I think, covers a lot of the existing gap.
That's verging on overt fallacy.

Every multi-factor process has some limiting factor. Your overall capability is defined by that limiting factor (constraint). Ecology knows this as Leibig's Law of the Minimum.

There's a finite energy flux available on Earth. Excluding nuclear, there are solar, geothermal, and tidal fluxes. Nuclear introduces fission (uranium, plutonium, breeder), or fusion (yet unproven: hydrogen). The only reasonably unconstrained energy sources might be breeder or fusion, and I'm not sure either is long-term viable for other reasons (too long to go into now, though waste / "hygiene factors" play large).

Otherwise, solar is what we've got. 1 kW/m^2 surface flux, modulo capacity factor (0.3), spacing factor (~0.5), conversion efficiency (presently <0.2, single-layer max 0.47, infinite layer max, ~0.85).

The present roughly 17 TW of power consumed by humans would requite a nothin-but-solar region 800 km on a side.

Factor in increased energy for the 6 billion people not living in the US or EU, and increased energy demands of the 8 bilion people (7 presently, plus one more) who'd like to live at US-standard-of-living levels, and you're increasing demand significantly. 85 TW just for population and standard of living would require 3.1 million km^2 -- about a third of the land area of the United States, Australia, or the Sahara Desert. With nothing in it but solar plant. Wall to wall.

Oh, and 1/5 of that needs replacing. Every. Single. Year.

Solar panels, for numerous systemic reasons, degrade with time, and have about a 20 year effective life.

(Research on extending panel life strikes me as more useful than increasing efficiency or massive cost reductions.)

Keep in mind that there are other creatures on this planet and they've got their own demands for land use. We may rely on them in complex ways.

If you're building more power plant capacity than you can sustain, any industry relying on that power won't be sustainable.
If we started doing this on a global scale I don't think we'd have much trouble negating sea level rise for a while. If energy became so cheap as to allow desalination and gargantuan pumping networks to distribute water across the world, the water used in agriculture alone would drastically change the water cycle and weather patterns. Combined with the increasing temperatures increasing evaporation I think we could one day make a difference. We don't need to destroy it, we need to get that pumped water as far out of the water cycle of the ocean as possible and lock it into reagions. Many new rivers will still flow back to the ocean but we can promote agriculture to siphon off the rivers. Imagine undoing the desertification of the once fertile crescent, the dustbowl, or the Colorado river Basin and Texas?
Most language module systems don't need root. Certainly none of the mainstream ones.

Containers don't "solve" everything, but some of the primitives used to build them can be used to severely restrict process and user privileges -- to the level that it's much more secure than a "standard" unix-y shared environment.
Yes, that was the time when PKK terror organization destroyed 5-10 Kurdish cities and killed hundreds of Kurds. Those so-called academics were labeling the government as "terrorist" because Erdogan was defending Kurds and the country. Erdogan of course labeled them as terrorists. Remember that those academics do not do science-- see the scientific publications--instead doing politics.
Metiix Blockade blocks at the DNS level.... Locally on Windows or Linux or a raspberry pi if you want.
Based on my work in buildpacks, I agree with the sentiment but I'm not as hopeful as you are.
I've gotten much more value from purity and immutability than I ever have from advanced types although I'm speaking from a F#/Clojure background rather than a Haskell one.
When you say that this understanding "seems to assume" this, you're pretty strongly implying that there aren't any good reasons to think it's true. Maybe you just meant to say that it's based on that idea, rather than assuming it?
Sure. I understand this, but is there a context in which desal water is ONLY used for drinking water, not for lawns and toilets and whatnot? At that point it maybe becomes a different story? I realize that requires parallel infrastructure possibly (to deliver to the home) but I would think drinking water would be the first use.
What about the environmental costs of desalination though? The article doesn't mention them, but they are significant.
> Not sure why that document disagrees

Probably because of this[0]:

> Note that Cargo does not yet support vendoring in a first-class fashion, but this is a hotly desired feature and coming soon!

[0] http://doc.crates.io/faq.html#how-can-cargo-work-offline
Betteridge's law is realized.
My first real job was with a small non tech company. They wanted to move to a digital system for processing orders.

Did you teach yourself most of what you know before going to college? If so, up play that factor. Being able to teach yourself and answer your own questions goes loooong way. What have you been working on in the past 14 months?

Companies want to know how you can provide value to them. Be proud of the work you have done and talk about a interesting problem you solved. Giving clear cut answers is always good. Be confident and passionate, but but not cocky or ignorant. Try to avoid the words "I don't know" . If you don't, then explain how you would find a answer to the question. Always follow up the interview with a thank you letter, making it personal is key.

Go to a company hosted meetup event, mingle with the employees and if your interested let them know.

Look for events that require participation from those attending and help others when they are stuck.

Stick out from the crowd and you'll be good.
I hate dealing with banks. Plus, my holdings grow in the long-term.
Reflection in the C++ version is as bad or worse given that you can't mess around with it in a REPL to figure out how it really works. And the C++ version has most of the namespacing issues (e.g. any field starting with "set_" has potential to clash with another field).

Both implementations are equally bad, despite that they seem to have been written by two separate teams that didn't communicate with each other.
Israel's grid is presently fed by coal and gas:

https://www.iea.org/sankey/#?c=Israel&s=Balance
The evaporation rate is too low.

From http://www.ide-tech.com/blog/b_case_study/sorek-project/ assume 26,000 m³/hour of brine outflow.

According to http://www.engineeringtoolbox.com/evaporation-water-surface-... , 1000 sq. meters of water surface evaporates under 500 kg/hour.

26,000 m³ = 26,000,000 kg => 52,000,000 sq. meters are needed or 52 sq. km.

However, as the salinity increases, the evaporation rate decreases. If I read http://www.actis.com.au/evaporation_rate_of_brines.pdf correctly, a saturated saline needs almost 50% more area for the same evaporation rate.

So, call it 75 sq. km. for your evaporation pan/sea.

Oh, and double it because night-time. And add more safety factor because of rain. Perhaps 200 sq. km will do?

That's a huge area.

As a quick check, some of the storm waves in the eastern Med. can be 5 meters high - http://www.sciencedirect.com/science/article/pii/03783839859... . So you're talking about some massive walls. To say nothing of redundancy, since you don't want the sea to breach a nearly full basin of salt.
Just sitting still, doing nothing for a few minutes. And observing where the mind wanders. Call it meditation, mindfulness, whatever...but it is...different.
I used to count the number of [slow deep] breathes I take to remove all thoughts. Once you master that you can stop counting and clear your mind.
California only ended up with the majority of those markets due to the how federal agriculture subsidies are structured.

You can grow carrots and strawberries almost anywhere in the US. Peaches need things a bit warmer, but again most of the US is fine.

It makes sense to shift water intensive crop production to states with water.
Open-source Wire messenger gets encrypted screen-sharing
Water rights are way more complex than platitudes pulled from a high school economics class.
About six months back I started at my first job after being unemployed for the last six years and weirdly enough did not experience any “why didn't I start doing this sooner” feeling. Guess a really supportive family and the knowledge that i would be inevitably starting at a job some day made the transition almost a non event.
This is the Clinton election campaign servers. No government officials involved.
It might not be a civilization-ending threat, but it affects several outliers.

- If you live on less than $1 a day, rising food/water costs is a big deal.

- If you are in a land-locked country, desalination isn't an option.

- Desalination plants aren't built over night. In the meantime droughts would have consequences.

- If water became a major percentage of the cost of food, it would shift what crops are grown. Towards monoculture and away from diversity. The poor would especially be constrained.

- If we let our lawns die, we'll see more property damage due to soil erosion.
Middle eastern birthrates massive. They are outstripping any possible growth in jobs, water, or food. The refugee problem is permanent.
It's rare to see folks admit mistakes even in private. Writing it on a blog which is probably widely read is extremely rare. Such incidents are deeply inspiring.
Nothing specifically, sorry. :)
I'm getting back into the MS stack after a multiple year absence. VSCode works really nice and I expect the same from the latest VS version (which I have not used professionally yet). Dunno, just excited about diving back into the whole ecosystem.
Yup! Just listened to the entire thing on a cross USA drive from NY to CA. The hours just melted away while listening to him.

He's an excellent storyteller and really grips you with the details.
This is the Clinton campaign servers. You are confusing two different incidents.
I was in this boat a few years ago, when Kong was harder to find. Some open source ones are:

[1] https://getkong.org/

[2] https://tyk.io/

[3] http://wso2.com/products/api-manager/

[4] https://github.com/strongloop/strong-gateway (freshly abandoned, but still good)

[5] https://github.com/avoidwork/tenso

[6] http://apiaxle.com/ (last commit in 2013)

There are also closed-source ones:

[7] https://www.nginx.com/solutions/api-gateway/

[8] https://www.mulesoft.com/platform/api/manager

[9] http://apigee.com/about/products/api-management

[10] https://www.3scale.net/api-management/apicast/

[11] https://aws.amazon.com/api-gateway/
Interesting, opposite experience here. My life became much easier when I decided to start new projects in python2 rather than starting under 3 and switching back in frustration after fighting with 2to3 for hours at a time. Even now I think there's enough libraries that just don't support 3 to make a case for using 2 as a rule (I do mostly machine learning/optimisation).
Abusive Language Detection in Online User Content [pdf]
EDIT: I found more info. They're using RNCryptor.

Hopefully not the C++ bindings! https://github.com/RNCryptor/RNCryptor-cpp/issues/2
Yeah, good luck with that.
What software is being used? BIND?
While I very much dislike how our country's voting process works, I do not like presidential candidates addressing how presidents get elected. If a president had an impact on how the president gets elected, you end up with Putins and Erdogans.
What 'balance' are we tipping? There is no balance. Entropy increases globally over time. You do not cause bad things to happen by locally decreasing entropy temporarily. You might interpret this as indicating that life is meaningless over cosmic time scales, but it doesn't mean something 'bad' is happening anywhere.

Our star is slowly dying, and we feed on its remains. Our feeding is not the cause of its death, however. It will die anyway.
Thanks these are great ideas.
Either you need all of that, and the time to set it up is absolutely insignificant compared to the lifetime of the project.

Or you don't need all of that.

It's very, very rarely a different situation.
How do those costs compare with something in Northern or Central CA, with the same coal/ng source?
There are numerous problems with how prices relate to both costs and value.

Pinch off ag in enough places, and you'll find it's got some underappreciated benefits.

The alternatives to crops being raised in Calfornia aren't limited just to the lost ag revenue, but to the expense of transporting in food, the loss of fresh fruits and vegetables (California specialises in "table" crops (vegetables), fruit, and grapes especially, knock-on effects of worsened nutrition and reduced food quality, price increases resulting from withdrawal of California ag land, etc.

Simply figuring out where you'd source that food from becomes problematic. Seattle is the only West Coast port with significant capacity and growing regions near it (Portland might do in a squeeze), plus growing area. There's no assurance that California crops, particularly greens and vegetables, would be suited to more northern climates and growing conditions, though adaptations might be made.

And there's considerable room for adjustment in California's crop mix. No need to grow alfalfa in the desert, as a perennial crop, that's easy to fallow in dry years. Tree crops are multi-decadal investments, and will not simply fail to bear fruit without water, but will die -- one of the real crimes of the almond-planting spree around the state. You lose cropping flexibility.

(There's a study I turned up some months back, either IRS or Federal Reserve, on tree crop asset lifetimes -- some bearing orange trees in Southern California are approaching or over 300 years old.)

A straight market-based analysis does poorly.
Non-awesome aspects of childhood include having to depend on people you can't necessarily trust. What if (as a child) your caretaker or parent is an alcoholic narcissist? Too bad. And what if (as an adult) the entity that wants you dependent on it is a corporate "person" with only a profit motive and no morals or conscience?
nice one--i learned a few things, in fact (& caused me to realize once again, just how sloppy we are with benchmarking on my team)
If the gravitational force between the two is repulsive, wouldn't that imply negative mass because of what we know of the Higgs field? Then we'd be deep into exotic matter territory and theoretically, even a small amount can warp space time very differently than regular matter so at galactic scales, shouldn't we see some pretty extreme evidence of this?
So, would you call e.g. XQuery 1.0 a functional language? It didn't have first-class functions at all, but it was completely immutable.

Or, say, SQL sans stored procedures?

I think the more appropriate term in this case is "declarative". "Functional" really implies something having to do with functions.
Any specifics on that?
Snowden did it after the others. And also, contrary to Assange, he knew exactly the charges that would be pressed against him. Assange, legally, just did journalism.

Personally I would argue that Snowden is the one that taught us nothing, apart the name of the programs we knew existed.

Hearing that Assange is an attention addict is really sad: he knows that without attention he will die or stay in his diplomatic prison forever. It is a bit hard to call an attention addict someone who would die if he fell out of the radars.
I've used reverse osmosis unit for years. new unit is less than $100usd it paid itself in months. maintenance is cheap.

my RO has kinda low efficiency. 4 units of water in, i get 1 unit of clean drinkable water. 3 units are 'waste' (don't believe what socmed says, it's not dirty). the waste water is used for laundry, aquarium and gardening. my fishes and vegs are thriving.

to test purity, just plunge the ohm meter probes into a cup of ro water. if the resistence is in 1MOhm, it's pretty pure. mountain/mineral water bought from store is about 150kOhm. after drinking ro water for a while, store-bought water tastes slightly salty.

my house pumps water from ground (well-pump). for a family of 6, i need 1m3 of water. that's about half hour of 500W pump. an ro unit (40W) runs about 3 hours for 5gal bottle. so give or take, 1/2kWH or about 15KW per month. that's about $1 or $2 for my water need per month.

if i must buy raw water (such as living in an apartment), it's about $1 per m3, so about $30 per month; however, i get drinkable water too. ro units are portable. i saved $28/mo in water expense after moving from apartment.

flashing back from memory, i used to lug around 3 5gal water-cooler bottle from stores to my apartment every 3 days (i had 3 bottles). it was not pleasant and wasted time (go to store, queue, lug heavy bottles back)

ro unit has relay so you don't have to sit and wait for it to fill. it automatically cuts power to the pump when its internal clean-water-tank is full.
I tend to agree. But the devil is in the details.

When it comes to agriculture and industry (the largest consumers, by far) demand and supply isn't as elastic as you make it out to be. And that's exacerbated by volatility, both in demand but especially in supply--a drought isn't always a slow decline or even a simple precipitous drop in supply but often manifests in wild fluctuations.

That kind of environment makes capital investments, including investments in such things as desalination and power plants, risky and thus quite costly. So it's no surprise that most of these desalination plants are either government owned or otherwise heavily subsidized. That's not exactly the outcome one would expect of the free market if it were as simple as implementing a proper pricing scheme.

Rather, I think the takeaway is that water is one of those areas that proves that while the laws of supply & demand are utterly inviolable, price signaling can't always be readily accomplished through basic monetary schemes. Because of far reaching and pervasive externalities that make price signaling difficult. (Consumer pricing is obviously well suited but only the tip of the iceberg.) And because the capital investments required push the envelope of what the capital markets can efficiently handle. And yet because water is so fundamental its one of those areas where even governments (at least, well-functioning governments) can be relatively responsive. Those that don't handle it well tend to be winnowed out rather quickly--either by change of government or just societal collapse.
That is the 2nd most interesting point i want to hear more about. And yet the article does not go into any details.
There is also PureScript, which is basically a "Haskell community's CoffeeScript"
I'm very happy that Apple open sourced Swift.

Chris and his crew are amazing and the vibrant community definitely helps/challenge them and will bring us things like:

- concurrency (at least planned)
- cyclone/rust memory model!
- scripting
- syntactic sugras

Congrats!
Yea, good ideas definitely. I try this but I end up reading the twitter home page, lol. Maybe I will try blocking them using /etc/hosts
Ok, just be aware that by that definition, just about every language that wasn't developed in the stone ages would qualify.