skysight-inc/HackerNews huggingface dataset:
This looks like a provisioning framework rather than 'shell automation' (scripting). I couldn't work out out if it supports pipelines.

In all honesty, who is this aimed at? Some who know python and doesn't want to switch to bash, but is happy to learn the command-line tools you use in bash?

> ShutIt was built originally to facilitate the deployment of complex Docker containers, so that developers can quickly prototype builds in a structured and flexible way with as shallow a learning curve as possible.

It's for setting up developer environments? Like a sandbox? Like docker-compose?
It does concern me when people say that the internet should be unregulated, especially given the recent vote in the US and the likely upcoming votes in the UK.

Monopolies are very easy to form on the internet, and in the interest of improving everyone's use, we need to try to avoid them. Walled gardens currently trap people into one service and limit the ability to swap between them, similar to "forcing" you to use just one company for your construction work, no matter the price.

I haven't heard a great answer to this problem yet, if one even exists. Is there a way to attempt to prevent these from forming which can be practically implemented?
IMO:

First step is to always be a user of the app and get used to the features of the app and if you are a software engineer, you will intuitively understand how the that feature is implemented.

Second, you can read tests for that project.

Third, if the app is for internal usage, you can talk to the customers directly on how they use it. If it is public facing, you can talk to your PM.
Can you link to more info on this? Do you mean using libmariadb, or some other driver (like a JDBC one)? What's the advantage over MySQL's libmysqlclient?
depends if their mom and pop sent them to work the fields.
There's many such communities throughout the world. Some even keep real slaves. (particularily in Saudi Arabia)

Most of society (and the wage slave concept) is about human farming.

would you say you are a farmer or livestock?
It's in there, under "Changelog since v1.7.0-alpha.3"
*"a lack of a broader sense of humor" I meant to write
Two words: too late.
It is explained in a relatively elementary way in Frances Kirwan's "Complex Algebraic Curves"[1]. The book is pretty self contained, and much more entry level than, say, Silverman.

[1] - https://www.amazon.com/Complex-Algebraic-Mathematical-Societ...
As a side note, the author of the linked notes on elliptic curves (at MIT) co-founded a successful tech startup company in the 1990s involving high speed networking, then only much later went back to grad school and became a computational number theorist.
Deep mind just released a couple of papers about this:

https://deepmind.com/blog/neural-approach-relational-reasoni...

Here is an implementation of "A simple neural network module for relational reasoning" in pytorch:
https://github.com/kimhc6028/relational-networks
https://www.youtube.com/user/adamwesttelevision
Flying drones are noisy and create visual distraction. If they became very popular they could definitely harm me. Wreck a beautiful sunset with flying drones going by. Wreck peaceful outside activity with drone buzzing. Industrial and commercial areas, sure. Maybe not residential. It would be interesting if people would try small, slow, quiet, wheeled drones on sidewalks for local delivery. Probably illegal with current laws, but those could be modified.
I like how life comes from a swamp which already has (plant) life in it. Very recursive.
Really really cool, but anyone having some classical music background - my grandpa was a professional cellist, I did cello for 8 years - can easily guess who the bot is in the A, B test
While it might no longer be dead (for which I thank you), it's certainly taken a hammering in the rankings.

Oh well, I guess Adam West was part of my youth, but not of everyone's. I thought he would be well-enough known in the tech/nerd/geek community to be of note, but apparently not.
On one hand I absolutely love Google's ecosystem and have an Android phone, use Gmail, have an nVidia Shield TV, use Android Pay, travel using Google Maps for transit every day, use Docs for work, Drive for all cloud storage needs and YouTube is YouTube.

On the other, being so reliant on one company for so much is bound to cause problems at some point.
So yet again, America tries its own specific brand of something, yet again with minimal meaningful regulation, watch it turn to shit when the "market" acts on profit goals alone, and then claim it's a terrible idea that can never work.

This brings us to: health care, banking, mobile phone networks, electoral systems, and now taxis.

Meanwhile the civilised world has regulated taxi systems that work, where you know what you'll pay, regardless of what's going on, and you don't have a company with a penchant for being shit lords knowing every trip you make, and doing shit like charging you more because your phone battery is low.

> surge pricing happens to control the demand.

Are you delusional? Increased wait times would be sufficient for that, and would make sense: yes we can take you but there is a queue. Those who don't want to wait will find alternatives, and the demand reduces.

> when i need a ride and cant get one because the comic con happens and a million teenage weebs need a ride, i like having the option of getting one guaranteed - at a higher rate.

But it isn't just "an option" it's the only option.

Edit: clarified
WRT to StatefulSets I assume you are talking about the fact they are immutable (minus a few fields)?

If so, the hack we've applied for StatefulSets is to delete the StatefulSet with `--cascade=false`. This keeps the Pods of the StatefulSet online, but removes the StatefulSet itself. We can then deploy the StatefulSet with the new configuration vlaues, and manually delete the Pods one-by-one to have the changes be applied.

Graceful: Nope.
Needs Improvement: For sure
Gets the job done: Yep!
Farhad’s and Mike’s Week in Tech: More Ugly News for Uber
Or, "the code is the contract" as they say.
Feels like it's getting worse too. For example, things like Google Home and Alexa discourage choice. "Order me a pizza" means they are now either kingmakers in the space, or incented to open their own pizza business.

I'm not a fan of big government, but at some point depending solely on their goodwill seems dangerous.
If our noses were "sharper", i.e., able to distinguish on a deeper more meaningful level like a dog, could we transmit complex information with olfactory encoding?

Right now the smells are simple signals; I'm curious if a scent could be engineered to contain a language. Like paper and writing.

I'm asking for my story, in which sapient rats struggle against two-legged monsters with opposable thumbs.
21:03 <@mulander> first of, hi to all 72 of you

The meeting of the 72 virgins.
AUKEY CB-C55, a $70 USB-C Hub with Ethernet, HDMI and VGA
Some related topics not considered:

* promises and async/await flow

* shared memory and atomics etc. just released in V8 6.0 which will eventually land in Node.js.
I've been using bit population count to traverse packed sparse arrays since the CDC 6600, so it's handy for more things than Hamming distance. Always nice to have in hardware, but pretty cheap to synthesize when it isn't.
From a math point of view are interesting cause since are equations of third grade, any line in a projective space will intersect them in three points.

That is the feature, it means they can define a binary operator that given two points returns a point, the third intersection with a line. This opens up a Pandora's gift.
Research: How Long Should Your Content Be
I trust Google with my life
Code is meant to be read and incidentally to be executed. Code also should be read more often than it's written.

With allegedly idiomatic Go:

b := 0
for _, r := range results {
j, k := r[0], r[1]
if !k || j % 2 != 0 {
continue
}
b += j
}

... there are eight lines to read and then the reader is forced to draw
the conclusion of what the code does at a higher level:

// I see ... given an iterable of results pairs, we just sum the
// first elements that are even for the pairs in which
// the second element is truthy!

With Python, you can write the exact same code that asks for the same mental
gymnastics.

Python:

b = 0
for j, k in results:
if (not k) or (j % 2 != 0):
continue
b += j

# I see ... given an iterable of results pairs, we just sum the
# first elements that are even for the pairs in which
# the second element is truthy!

But it also allows for a more direct expression of intent by using a
higher level construct:

b = sum( ( j for (j, k) # ... sum the first elements
in results # ... of results pairs
if (k and j % 2 == 0) # ... if first elt is even and second elt is truthy
) )

The argument seems to be that "when reading and modifying code, certain lines may contain constructs that will require more attention to be paid to a line" is a very serious problem, the solution for which is to enforce that all lines are equal in that they do relatively little at the language level, which Blub (err.. Go) does.

It's further argued that lowest-level-constructs-available scaffolding that may occasionally need to be added in the moment while tinkering is worth keeping around forever despite any tax it imposes on the creation, the reading, and the ease of modification of the codebase and a great advantage of Blub (err... Go) is that it forces this to happen by only having such constructs in the first place.
Its to maintain context. If a developer is looking at a large test code then it becomes difficult to switch back and forth between 10s of JSON files and the main test code. Having the input, output and the test data in the same file is much more convenient.
I should have said real manifolds; I thought that was what the parent comment had in mind but the brevity wasn't worth it.

Of course, I've learned a lot about these things from your writings.
I am ultimately skeptical of companies that get all of their revenue from advertising and who fail to make money from sales of products. The value of online advertising is massively inflated.

Of the tech giants, Apple, Amazon, and Microsoft seem to be in the best shape at the moment. They make their money from selling real products and services to real end users.

Amazon is strong but not unbeatable. Walmart in particular, as well as a hypothetical alliance/merger of supermarket chains, are well positioned to break Amazon's dominance of e-commerce. But they will need the ambition and ruthlessness that has served Bezos so well. Few large American corporations still have the vigor and virility of Bezos's Amazon.

Microsoft (full disclosure: my former employer) too is strong but not unbeatable. All of their products are facing tough competition from Apple (in OS and hardware sales), Google (in online services), and multiple others (in business software). Microsoft's wins are hard fought and fair, and the competition never lags too much.
Ask HN: What to do when an offer is pulled?
Hi HN

I'm reeling as I had recently interviewed for a role as a senior developer at a startup. All went well except for the fact that I mentioned I'd like to work remotely for four months. This was declined and the offer was pulled.

I responded asking for a negotiation and we eventually came to an agreement. I was happy with this and was going to hand in my notice next week. Today I received an email saying they were pulling the offer as their investors didn't like the compromise we'd reached. There was no option to negotiate.

How would you respond to this? I'm now stuck in a job I dislike and just want a developer role that is flexible on location.

Thanks
I'm definitely not as experienced as jblow and make no claims otherwise. The whole purpose of the post was that Rust has count_ones(), count_zeros(), etc and they came in handy for a project of mine.

Specifically I was asked to solve this exact problem off the top of my head [1]. In my opinion, it's a tricky problem.

[1] http://graphics.stanford.edu/~seander/bithacks.html#CountBit....
Shame on the author, who really should know better given her background[0]... The bar for science journalism, imho, is dirt-low. As long as it doesn't claim vaccines cause autism or climate change is bunk, it seems to pass as valid.

I feel like when articles like this get written, it's the success of the university's PR team. Frankly, I think this kind of behaviour by universities actually hurt them in the long run.

[0] "Gina Kolata is a reporter at The Times, focusing on science and medicine. Her training is in science: She studied molecular biology on the graduate level at M.I.T. for a year and a half and has a master’s degree in applied mathematics from the University of Maryland.

Her work at The Times has led her to be a Pulitzer finalist twice — for investigative reporting in 2000 and for explanatory journalism in 2010."

(via https://www.nytimes.com/by/gina-kolata)
I did some experimentation with popcnt in C++ six years ago and was impressed to find that the intrinsic in gcc was faster than the best inline assembly I could come up with using the popcnt instruction:

https://github.com/bobbyi/Fast-Bit-Counting
Use both, React for internal component state, Redux for global state that could be serialized.
So what's going to happen with coordinated planting long term? Will the bug population expand? Does the narrower window when there are crops available negatively affect the bug population compared to a staggard planting?
It Didn't Take Long for China to Fill America's Shoes on Climate Change
It's always interesting watching startups learn the lessons that thousands of enterprise learned along the way. "Why would you ever want offline tapes sitting in iron mountain, how inefficient".

Nothing is foolproof, but anytime you've got constant network access to every last copy of your data, you're begging to lose it. It's the reason why people who think one copy (redundantly dispersed or not) in AWS S3 is sufficient scares me to death. Is it unlikely Amazon would get hacked and have the entire thing blown up? Sure... but if we go to war with China I wouldn't want to bet my company on it.
GoPro isn't worried about Snapchat Spectacles at all
I adhere rather vigorously to points 1 and 2 because I value my time over most things. But, I find 3 a stretch. A movie is overpriced when you are unable to realize the full potential of the market. Last I checked, piracy is still a problem.
Brave Browser
People who sue for small stuff don't care what you think they are. Trader Joes has deep pockets, Pirate Joes does not, you sue Trader Joes.
Things tend towards centralization in capitalist or communist societies. When need to rethink things to avoid that by leveraging technology to allow for diversity and evolution, with holism where it is needed.

I think in terms of the internet the answer is meshnets.
Ask HN: Eco-powered server or cloud providers?
I'm wondering how many providers out there – cloud, metal, VPS, what-have-you – have a clear focus on powering their offerings with wind, solar, or hydro power. As the climate discussion becomes more urgent, I'm interested in knowing more about the eco-friendly server industry, if it exists.
Something's up with the new Netflix rating system
I want more companies to try something: take a random guy from your existing non-management workers, pay him a nice but not exorbitant wage ($100k?), and make him CEO. Then see if he can really do any more damage, or make any poorer decision, than one of these hot-shot CEOs. Seriously, what do they have to lose? Some CEOs seem to screw up everything imaginable and leave in 6 months; isn't 6 months of $100k (i.e. $50k) worth the experiment instead?
If your employee "protection" laws make it difficult to start and grow small businesses, of course you'll end up with lots more 1-2 person businesses, and can claim you have more "entrepreneurs".
The problem with that is that those companies can use the ad revenue to dump prices in other field and essentially drive any possible competition out of the market. This can cause a dangerous snowball where a few huge corporations control several markets and competing is impossible because they don't need to earn profit (or earn anything at all) on those secondary markets.

Add vendor lockin and you just created a corporate monopoly which is terrible for consumers.
Suggestion to the author: try to use portalocker [1] so that the module can also work in Windows. Currently it doesn't because the code uses the fcntl module that is *nix-only.
[1] https://pypi.python.org/pypi/portalocker
You need to add a CC or bank account.
you can do the simd intrinsics explicitly as well
Qt for web (assembly)
> you need to have all the sstable files from all nodes in a rack on disk

If you're not using vnodes, then you need all of the sstables from the previous $RF nodes in the ring. So with RF==3, it will briefly have about treble the amount that it will finally carry.

It's a lot of temporarily wasted disk space for sure, but now you're in full control of how you get the data there
To be clear, I'm not proposing that the company and employee numbers be concatenated into a single column: I'm saying you could have a composite key, comprising the company number column and the employee payroll number column. This would still be a natural key: each component has a meaning outside the system (company numbers appear on company filings and other formal documentation, employee payroll numbers appear on payslips and are communicated to the tax authorities), and the two in combination have a clear business meaning.

Of course, you may still want to use a surrogate key for performance or security or other technical reasons, as the article describes.

I just wasn't clear on how the specific scenario you laid out made any additional case for their use.
Top Books Recommended by Tai Lopez
At that point, I'll enter the market and only charge 2x taxi fares, and undercut Uber. I'll be a millionaire!
There's nothing trivial about that unless the organization is tiny with the most boring and controlled IT ever. There's lots of little cracks for admins to slip in. That's not to mention physical devices with remote, wireless access planted in the building somewhere. Or even in keyboards of important people.

At best, these companies will be keeping out the riff raff. Fortunately, that will stop majority of attacks since most admins aren't geniuses or spending personal money on attack toolkits with 0-days.
Sometimes when I'm being very lazy writing C, I define a macro of this kind which doesn't even take any error message argument but just prints line number, textual representation of the code which failed and errno. Huge debugging aid at negligible cost.
One word: yes.
Originally I was being sarcastic, but aren't you also a stranger? We are all strangers. The fact that his response was gray doesn't make him more of a stranger than you not being gray. Perhaps they made an account to voice his opinion?
If you don't like their services, you have plenty of other options, one of them being that you don't need to use them at all.

On the other hand, you're locked in with your broadband ISP. If I'm going to decry some internet business, I will first point the finger at Comcast and their ilk.
Well, that was pretty clear more than a decade ago.

Proprietary technology has a monopolizing effect in capitalism.

Since technology by definition has an exponential growth rate of efficiency, the monopolizing effect grows with it.
It's better for them if we all believe metal and plastic robots are doing those jobs. If people believe that those jobs migrated overseas because of trade agreements they might start to get dangerous ideas that threaten their bottom line.
As a business owner whose entire revenue comes from adwords leads at this point, I can tell you it isn't a massively inflated cost. Sure, it's 90% of my expenses and half of what I even make, but I pay this because I still make money.

This may not apply to all types of ads, but I'm happy paying what I do, and I can't imagine anyone else would be paying if they weren't making money.
They are running MySQL on an m4.xlarge server. He's asking why they aren't using RDS instead.

What does S3 have to do with his question?
But online advertisement is what drives sales of the companies which produce products. You won't sell your product if you don't advertise them. Especially for new businesses that sell products it's almost impossible to get noticed unless you advertise
I agree they should be regulated. The world is a better place with lots of smaller companies.

These big companies turn regular people into corporate livestock to serve the wealthy.

If you were to analyze Facebook as if it were a country, the wealth gap among employees would be atrocious - The top 1% would own maybe 99% of the wealth of the country and everyone else would earn a minuscule fraction of the total value that they produced.

If we let monopolies take over, then the economy of the world will start to mirror the economies within these large corporations.

What's worse is that the social aspects will also be mirrored. We will gradually lose freedom of speech, in the same way that employees of large corporations don't have the freedom to say what they really think to their bosses.

Many who have worked for a big corporation will know how suppressing the environment can be. I'm really glad that I live in a time when there are still alternatives.
The way I see it, the difference is that with CNN you have fixed maximum timeframe in which knowledge about world is preserved, while LSTMs and RNNs in general do not impose such restrictions. This makes them better suited for some applications.

If I am missing something please correct me.
Just because you can sue, and might win, doesn't mean you should. This was damaging to the Trader Joes brand. If I was Chief Marketing Officer of Trader Joes, I'd be demanding the Chief Legal Officer be fired.

Civil courts do not exist outside of the real world. There are consequences to how you use them.
This article follows a similar line of reasoning as people who go "What global warming, look how cold it is outside!".

The author brushes off the fact that Amazon has caused (is causing) countless retail shops to go out of business all over the world.

As others have noted, 'just-in-time' consumption is insanity - cities are becoming perfectly oiled consumption and garbage making machines. I suspect (just speculating, no numbers) that this efficiency has a huge impact on climate. Similar to cars being 20% more efficient, but increasing number of cars by 50%.

As for the jobs, I wonder how many kids dream of working at Amazon fulfillment centers when they grow up... meaning that it sounds like a pretty bad job - people used as transportation units by the algorithms.

So not everything is rosy and shiny with Amazon. I try to avoid binging on it as much as possible. I applaud the efficiency and the 'You want it, you've got it', but I think the cost of that is hidden somewhere else and we all collectively pay it.
Yeah like IBM in the 80's and Microsoft in the 90's, no, wait...
ALB may be more complicated, but it's also more flexible, and I've especially come to appreciate that in the past couple of days.

By the way, it looks like ALB might be based on nginx, based on the error pages. I wonder if classic ELB is based on HAProxy.
If you like Dan Brown-Style books (and are able to overlook a couple of blatant technology-based plotholes), you might like Daniel Suarez' books "Daemon" and "Freedom™". They toy around with a couple of related ideas.
Google earns a lot from advertisement, but they're not just showing ads, there is a difference. You're actually paying them to find the right customer to show the ad. And that probably will always be valuable. Much different from a game that exists for the sole purpose of showing ads from google between games.