skysight-inc/HackerNews huggingface dataset:
People always recommend Perl over a shell script but I've never seen a situation where it makes sense. Having written very little Perl, it seems like its only strength is that it's present everywhere and has a large library.

Language-wise, Python is far superior and has a large ecosystem and these days it has ubiquity too.

I'd be interested in the argument for Perl over shell scripts that does not apply to just writing the program in a modern language.
Incidentally, hammerspoon [0] is pretty amazing if you're looking to automate MacOS stuff.

[0] http://www.hammerspoon.org/go/
I agree with your sentiment, in the same way that people are described as stupid in here: https://www.ssa.gov/history/ssn/misused.html

At the end of the day, UIs are unnatural interfaces. Skeumorphism only makes things worse. So UX design can only meet the user half way; intelligence must be employed to get the most out of an interface.

I see these videos as akin to using a TV remote instead of getting up to change the channel: people are lazy, so appeal to that laziness (along with the whole "here have some pro resources" thing as well) as a form of sales.

It's brilliant.
Labor losing the election while the NBN was still ramping up allowed the coalition to ride in and dismantle it while it was still vulnerable
Hmm. Could I use the file storage feature of this to store small text files containing passwords and other confidential data? Would that fit well with its security model?
Nobody doubts Elon's ability to execute. He's just famous for missing his own deadlines.

Didn't check /r/Tesla and /r/SpaceX lately so I don't know what the current value is, but Elon Time coefficient used to be something around 1.7 or 1.8 ;).
Devops Online Training in hyderabad
I realize this leans quite heavily on the charitable nature of HN's submission guidelines. However, when I heard about this, and then watched one of their intro videos where they played the iconic opening music I had a wellspring of emotions I wasn't prepared for. I then decided to watch the episode about divorce I was able to find on YouTube. As a child it really helped through my own parents' divorce. As an adult it was fascinating to watch the message play out over the entire episode.

Maybe you too might have some unexpected memories, or maybe you have children of your own you can build new memeories with. No matter what the whole thing should be an interesting experiment.
It baffles me that nobody seems to have mentioned Hashicorp's Vault yet:

https://www.vaultproject.org
https://github.com/hashicorp/vault

It comes with both, a full blown PKI (want a new cert? Use an authenticated REST endpoint!) and SSH backend. On top of that you can use it to manage accounts for many other third party applications as well (e.g. PostgreSQL, MySQL) while leveraging a multitude of authentication backends to delegate granular access for all of these features.

It's been an absolutely eye-opener for somebody like me who's used to managing SSH keys/PKIs (what a pain) and I wouldn't want to use anything else right now.
> Well I don't want my taxes to pay to protect those. Let the market decide.

Taxes?? This is what the Cannes festival decided, not your government.

> Netflix provides way better content than the french industry.

Then watch Netflix? Your government is not stopping you.
So did the Great Recession of 2008.
I recently listened to a Tyler Cowen interview where he (briefly) mentioned trying to measure consumer surplus of internet services, part of the wider difficulty economists face in trying to quantify the value of the internet to people. He likes to play the contrarian.

The default method of measuring consumer surplus is measuring (using econometric black magic) the difference between how much people would be willing to pay for something and how much they actually paid. IE, if you would have paid $17 (but not $18) for a burger but it only cost $12, you accumulated $5 of surplus. By this measure, the internet (home usage) is not very valuable. If prices of (eg your mobile data plan) go up by $15, many people would pass. That implies the user surplus (for those people) is less than $15. Overall, the traditional economics analysis of personal internet access looks similar to cable TV or other "frivolous discretionary spend."

I don't really think you can sum up the internet in this way. The broader cultural impacts of internet access seem far more interesting than cable TV, to me.
Instead of "per stem cell" that should be 7 more divisions from the zygote.
> I guess it kind of makes sense because the Streaming-Only movies are not available to the general public in cinemas and require a paid subscription.

As someone who doesn't live in one of the handful of metropoles that cater to every niche interest, if there's one thing that surely isn't one of the advantages of independent cinema it's availability. I can't count the number of times I was interest in a small film or documentary only to be disappointed by a website that presents me with a list of global screenings I could however count much more easily: On one hand.

I can understand that streaming isn't the filmmakers ideal choice, but unless we're talking about big budget blockbusters I see no point in relying on theatres in this day and age. It's a needless and artificial scarcity and limits the potential audience. At least let me buy the film.
I don't think any ARM emulating x86 code will be able to get to Xeon E7 performance anytime soon. May get close to low-end x86's with JIT and jumping to native mode on every OS call (with some clever adjustment to data structures, if they differ/misalign).

And yes. At that time, PPCs ran rings around x86's and 68K's.
That is: as efficient as possible on top of the windows process model. A process fork is still a magnitude slower and more expensive than on Linux. It is however a massive improvement over Cygwin, but it's still very noticeable when for example running more complex shell-scripts.
The Xerox Star: A Retrospective (1989) [pdf]
Some stuff happening in Lebanon with government incentives and whatnot (and an educated but undervalued tech workforce). personally I've left that all behind me but I can probably find people you want to talk to if you want to talk to them.

something you may be interested in as an index to some stuff the central bank is trying: http://bdlaccelerate.com/2016/

The Guardian's chips with everything covered some of it recently-ish: https://www.theguardian.com/technology/audio/2016/nov/24/bei...

edit: just looked at the podcast, i see you've recently done middle east, oh well :P
Industry 4.0 – What Is It? And What’s in It for Me?
But I don't wanna see _a_ concert, I wanna see _my_ concert, e.g. the one I actually visited.
They don't seem to talk about energy source. Is this going to be battery powered or nuclear powered?
Vietnam has quite a strong startup ecosystem relative to its development stage.

I think it has a lot to do with its government having laid out a plan since the 90s to develop its IT industry.

Results are:

1) Lots of IT grads
2) Lots of funding
3) Okay-ish infrastructure

If we add this to the interests in entrepreneurship among Vietnamese people, it results in a strong tech scene.
In the end, every complex task is made up by a lot of simple ones.

Always do research before starting on the actual development. It will clear up a lot of things on the very beginning. Helps you create milestones (goals), which can give you confidence when you reach them. The more you practice this, the easier it will be to see the details in new projects in the future. Helps you create an analytical mindset.

I think everyone suffers from this, from time to time. Only practice can help you overcome this.

I had the same feeling a couple of months ago with a brand new project, with lots of tech I haven't used before. But we (another dev and myself) sat down and spent a month with research. We wrote numerous documents on every aspect of the project. Spent a week in a meeting room shelling out the design and how things will fit together. It was a priceless experience.

Highly recommend the R&D approach. We are engineers and it seems so many times we fail to do the R(esearch) part of our work. We just jump right in and drown in the middle of the complexity we face.
When I used Windows this tool was always installed.

Now I use osx and sadly finding files seems to be an unsolved problem...
The actual answer: it was directly sabotaged by the Liberal National Party (the conservatives), at the bidding of Rupert Murdoch, who really doesn't want Australian internet not to suck.

Basically, Tony Abbott got in in 2013 and the shitty version of the scheme was put into place.
An entirely predictable shambles. This money should have been spent on Australian skills and content, not on installing damn cables and routers. Let the market decide how to meet demand for content delivery -- education and social investment are far better places for governments to place these sorts of long bets. I saw this coming a mile away and have a long list of poo-pooed complaints on social media to this effect.
Next twist: Blackbird provides the prior art and claims the bounty.
Should be made more obvious that the actual useful content of the page needs to be scrolled down to. A more useful link (that scrolls to the content) to give friends family might be https://www.apple.com/iphone/photography-how-to/#section-car...
Plus you can make your own popcorn for $0.35, instead of getting juiced $12.00 for a bowl-full.
I follow Polya's advice, and find a part of the problem that I know how to solve. Divide and conquer, basically. I think the panic comes from overload, from trying to visualize too many parameters. I've been doing this for 30 years, but I still get the same experience every time I step out of my comfort-zone.
Netflix seems to try to provide a good enough service so that customers want to extend the subscription, rather than relying on customers forgetting to cancel. Very irrational of them as we all know capitalists try to scam everyone first chance they get.
There are fully autonomous vehicles driving around Mountain View all the time. They are not 10 years off, it is now.
The despicable behavior at Uber is far from a few individuals. At the very least their entire HR division is negligent at best and malicious at worse. The problems with managers at Uber seem to apply to most of them. I'd advise anyone working at Uber to GTFO ASAP and hope the stigma doesn't follow them around for the rest of their career. I can hardly see anyone who worked in HR at Uber ever working in HR again.

Uber did nothing for public transportation. They gave another way for people with money to disregard public transportation. It's just another "innovation" that provides another service to the rich at the expense of the common good.
Have you ever done string manipulation (also RegEx) over many files in Perl? I think it's in this regard superior than anything else, even python when looking at syntax.
It must be very application specific what kind of air cooling you get? If you have a motor enclosed on an e-bike vs. if you have it naked on some kind of aircraft with a propeller blowing on it must make a huge difference?

A problem I guess with plastic is that it doesn't conduct the heat to the outside like a metal construction would, so it will always dissipate less than metal, regardless of environment? That issue is still there if you add liquid cooling - the plastic won't transfer heat to the cooling medium either.

What's the state of the art in high-temperature resistant 3D-printed materials?
The Reactive Engine (1969)
From reading the article, it seems like the best case scenario (aside from unforeseen tech advances or alternative usecases) is that online gaming will become easier through cloud platforms and a lot more indie MMOs will start popping up. A bit like mobile games did ~10 years ago.

Anyone able to correct me?
> https://www.vaultproject.org

That link doesn't work. The correct one is https://www.vaultproject.io
UK startup Improbable raises $502M to build huge virtual simulations
As long as it comes bundled with Norwegian famously cruel child "protection" services, thanks but no thanks.
> and their extremely sophisticated and proprietary searching and natural language analysis algorithms.

That they use to read your emails, harvest your data and advertise to you.
I'll second this. My Python is far better than my bash but there's no point writing more complicated Python if you're working with system commands. That said, quite often I'll break non-system stuff out into python scripts and wrap them in bash if I need to do a bit of both.
Get 10 Pokeball
What HPE's acquisition of SimpliVity means for data center customers
I hate the trend that's been going on for a few years now where they try to imply that all of a given product is 3D printed.

For example this motor is easily 80% metal and copper wire for the poles. The remaining 20% is the plastic case. That is the 3D printed part. Not exactly very impressive.
Not that people should be expected to know this, but here's an idiom that does work:

if res="$(ldap-query-for-valid-users)"; then
echo "($res)" > "/tmp/all-users.sexp"
else
handle_failure
fi

I second the recommendation to use https://github.com/koalaman/shellcheck – you really shouldn't be writing shell scripts without it – but in this case it doesn't seem to handle the issue (with default settings at least).
Absolutely, thank you. I'm on mobile right now and was too lazy to check the reference m(
The quality of the bash far outshined the quality of the python and perl, because Python and Perl was being used to do a bash scripts job. When what you need is to call a bunch of binaries and redirect output around, then Python and Perl just don't cut it.

The code is much, much easier to read now. You can see a script on a single screen height, which works wonders for overview. The 3x performance gain spawned from enlightenment this overview granted us.

But don't get me wrong, in the very same rewrite, I rewrote 100 lines of bash + 300 lines of Python into a single 200 lines of Python, which when combined with PyPy, was 50 times faster than the original setup. Python doesn't do bash's job very well, and bash doesn't do Python's job very well either.
Netflix, in some countries has an option to download movies. And most PC's are good enough for 1080p.
AFAIK the Academy Awards have a similar rule - a movie must have a cinema release before it can be considered for nomination. (More specifically, a run for at least seven days in a Los Angeles County theater!)

Made-for-TV movies have their own competition and awards, like the Emmy awards.

I don't see how this will make Cannes less relevant. It doesn't make Cannes less relevant that it doesn't award daytime soaps or commercials or whatever. Focus on a specific niche - cinematic movies - arguably will help it stay relevant, as long as cinemas exists.

(Whether cinemas will continue to exist is a different question. I suspect Netflix is a much larger threat to traditional flow TV than to cinemas.)

In any case, Cannes is not "forcing" anybody to do anything. They are just clarifying what kind of movies can be considered for the festival.
> but equivalently fit ways, then given the stochastic nature of evolution this is almost guaranteed to happen

I would probably put different commas:

"but equivalently fit ways then, given the stochastic nature of evolution, this is almost guaranteed to happen"

I suggest this based on intuition alone, but I believe the principle is:
http://www.grammar-monster.com/lessons/commas_for_parenthesi...
How about Tor
Pandoc can generate and convert between various document types, including Office docs based on a template (although I haven't used the option myself, I just convert Markdown to PDF/HTML most of the time).
Im using mind maps since 13 years a lot and i think they're great for organizing information, learning things or keeping track of things, just needs 2 be done right.
Because who needs health & safety regulations.
Thanks! That's a great tip. I've been writing a large amount of shell scripts (mainly sh not so much bash) and already made some improvements thanks to this!
Let's be fair here, the Nats are a bunch of spineless cowards who'd rather play follow-the-leader with the Libs than represent the bush

Even though they'll be career politicians, because nobody will vote anything other than Nationals in those electorates, there's much more money to be made in a life of lobbying afterwards
That carbon printer would move the heat around very well.
That amazing device with no internal storage thereby hampering its usage as a really great Linux device?

Such a waste :-(
"Enterprise data solution software application package analytics targeting management something something something 'the cloud'" is my phrase of the week.
Uber is still losing money though and fast. Their entire competitive advantage is that they have a shit ton of VC funding to subsidize rides with. They've been able to survive this long because they've always been able to raise more money on the promise that they might not lose money someday, presumably when they have self-driving cars. Now that the lawsuit has put their future in question they're going to have a lot more trouble getting another round of funding.
He already had 120+ millions. Would you go to jail for 300 million if you already had 120?
Netflix will in a few years be completely "incontournable". Give it a few more years and Cannes will have no other choice then to allow their movies.
Free 43 Page SEEED Fusion PCB Design for Manufacture PDF Manual
Another example I should mention here to prove the great value of Research.

I had a project years ago, was working alone on it. Took months to complete, but the whole application was a small disaster. Lots of small bugs and UX issues.

Made up my mind, sat down, rewrote the whole thing in two weeks. Was 70% better then the first version.

The lesson is that I could have spent a month or two with Research and create a clear goal, instead of writing an application from scratch with no clear goals, guidelines and milestones.

Could have saved a couple of months and lots of headaches. But I was fresh Dev back then and this is not taught in schools. Or at least it wasn't when I was there.
+1 as well, very very interested. If you could post some resources that an interested reader could educate themselves with in the meantime, it would be deeply appreciated. Maybe a sample of the bibliography from your thesis?
I agree this is harder and more impressive, but I thought Google's idea to run the entire Android framework at near-native speeds on Chrome OS inside a container was quite a smart technical solution as well.
Gibraltar: After the initial wave of financial services companies came a proliferation of gaming companies which led to a bunch of payments companies setting up.

This has now led to a fintech industry evolving and is currently seeing a surge in blockchain related business.

Interestingly the cycle has now gone full circle and seen the launch of an Exchange Listed Bitcoin Fund....
This doesn't mention one of my favorite bash gotchas, which is using `set -e` with `pipefail` at all. Try this:

set -euo pipefail
yes | head

That will consistently exit because `yes` gets sigpipe and quits. Which is expected, but triggers a script exit. But more exciting is that something like:

generate_data | head

only _sometimes_ fail. It's a race that depends on whether generate_data is able to stuff all of its data into the pipe buffer before head calls close().

EDIT: I seemed to remember sharing this bug not too long ago, and indeed I did. pixelbeat responded with some interesting links: https://news.ycombinator.com/item?id=13940628
An observation that doesn't match your worldview isn't trolling, which by some definitions is taken to mean: Trolling is trying to get a rise out of someone. Forcing them to respond to you, either through wise-crackery, posting incorrect information, asking blatantly stupid questions, or other foolishness. which looks a lot like what you are doing.

Having gotten that out of the way, it depends on why you practice any kind of Martial Art. If you are a "keep fit/sports/internal balance" practitioner, your position has some limited merit. If you are the "self-defense/offence" practitioner, your position is vapid bullshit as the only things that counts is self preservation and winning the fight, in that order of importance. Yours is the type of argument that would go down well in a dark alley (or a ring, see the linked video): "VICTIM: "Oh, you can't do that to me - I didn't practice that!" ATTACKER: "Apologies good sir, which method of defense did you practice?"

Given the video above was mostly about a Tai Chi Master saying "I can deal with your uppity MMA" and him subsequently being swiftly and brutally proven wrong, I'd say my original posts has ample merit. Further explanation should only be required for the dense and the trolls.

There, did I express myself to your obviously exacting standards? :)
Author of sh.py here. It seems to be used by many people in production around the world. I've actively maintained it since 2011, and it supports python 2.6-3.6, inclusive. Most of the gotchas have been worked out by now, but the FAQ covers the most common stumbling blocks: http://amoffat.github.io/sh/sections/faq.html
Pocket Thermal Camera
Xonsh let you interact with other bash commands.

>>> out = $(echo @(x + ' ' + y))
>>> out
'xonsh party\n'
>>> @("ech" + "o") "hey"
hey

In raw python, you have to play with subprocess by yourself.
I have some of them on big sheets of paper hang up to my walls (stuff im learning atm), some using software (ie budget
or project planning), lots on b5 paper blocks and loads on a4... works well for me. as well I use it a lot when planning thinking about new/current software.
Synth Secrets – Synthesizing Tonewheel Organs
I agree that for the simple job of "start process, maybe echo some stuff", then bash is superior to python. However, my difficulty always arises the moment you want to start writing 'if', or handle some sort of error condition.

Once you go down that road, you're into magic switches at the top of your script (which TFA demonstrates aren't well understood), and subtle control issues where bash's flow control doesn't quite do what you think it should, and (for me) this is where bash stops being superior.
I'm writing less C++ than I used to recently, but here's the basic setup I use:

1) Emacs prelude w/ helm enabled everywhere -https://github.com/bbatsov/prelude

2) Irony-mode for auto completion. Since you're using Cmake, you can just add CMAKE_EXPORT_COMPILE_COMMANDS to your invocation to output the needed metadata for completion to work. - https://github.com/Sarcasm/irony-mode

3) helm-flycheck for syntax checking
https://github.com/yasuyk/helm-flycheck

4) For jump to definition I generally just use helm-ag (grep) , I never actually got this working to my satisfaction despite trying a few things like rtags (slow, unstable) and clang-ctags (promising but annoying to set up at the time).

5) For formatting I usually just enable clang-format on save w/ something like this (requires clang-format mode installed):

(add-hook 'c++-mode-hook
(lambda () (add-hook 'before-save-hook #'clang-format-buffer nil t)))
Infinite State Composition with Freactal
Interesting. I guess I'm not a "true coder" by that definition. I'm probably more of a pragmatist than I'd like to admit. I like the results of coding but not for its own sake. If someone has written a hashtable implementation I'll thank them but won't roll my own.

Took me a while to realise this. I kept kicking myself thinking I "should" be more interested in crypto, functional programming etc.