skysight-inc/HackerNews huggingface dataset:
map and lambda predate list comprehensions, yes.

It's useful to have map as a first-class function that you can pass to another function:

def operate_on_two_things(hof):
return (hof([1, 2, 3], lambda x: x + 1),
hof(("A", "B"), lambda y: y + "A")))

operate_on_two_things(map)

(trivial example, but it hopefully makes the point - it's harder to do that with a list comprehension)
> Sticker prices are artificially inflated, and manufacturers, carriers, and retailers all throw around arbitrary discounts as a weapon to steal their competitors' customers.

Sounds fairly similar to the state of the US market (minus the competing part). Devices marketed as "flagships" sell for $600-800+ but carriers use heavy discounts to get people to sign long service contracts. Lots of people would rather spend $200 up front and sign a 2-year contract for $90/mo than spend $400-500 up front with a SIM and $30-45/mo prepaid service. Since you're in a contract, you only really have to think about it every two years and at that point, most find it easier to just re-up, drop another $200, and get whatever the current must-have device is.
In Hint of Ambition, Facebook Tests Search Engine to Share Links
90% of everything served as JSON can be served as semantic HTML and then manipulated with roughly the same amount of code required to manipulate JSON. Yes, JSON navigation is "built in". However, HTML has incredibly powerful CSS queries which allow you to manipulate hierarchical data with minimal fuss.
President of Liberland Arrested for Trespassing into His Own Country
Wow, the coolest thing about this tool is how wide of an array of visualizations you can create from a handful of sliders. I dunno much about the molecule aspect of it, but it certainly produces some super cool looking sci-fi type renders.
Is anyone working on Jython integration with project Jupyter?
Does anybody else notice and question the lack of functional programming on that list?
Presumably this: https://bugzilla.mozilla.org/show_bug.cgi?id=956906

I think it means that sites can't overrule the browser's inclination to store passwords. The argument seems to be the browser makers will store passwords safely.
No it's not. You're confusing superset and subset.
$7.8 is pretty expensive when you can get a bluetooth mcu(in volume, from dialog i think) for $1.
> "You're not allowed to know everything but you have to prevent everything".

The thing is, security agencies (not just in the USA) have failed, repeatedly, to act on information they did have. Part of if may have been due to inter-agency rivalries, part of it may have been the agencies drowning in data and being unable to draw any useful intelligence from it. But with this in mind, the demand to let them gather more and more data seems unlikely to solve any of these problems, even if one does not care much about privacy.
Agree. Just had our first child, and one of us quit our job. It's amazing how much of our budget was being spent on keeping both of us at work. YMMV.
[cartoon] Looking for a job? Check out the international employment market
> Open source has also cut many jobs and devalued salaries

The flip side is that open source fueled the web explosion.

Example: you don't need a multi-million dollar IT team to have a storefront, because you don't have to hand-build a framework. How many people here are making over $100k/yr doing computer stuff for a business that wouldn't have dreamed of hiring someone to do computer stuff twenty years ago?

Without open source, we'd probably just have a small priesthood building WebObjects front-ends to mainframes, and only Fortune 500 companies would be able to afford a web presence.
Django anti-patterns
> The down side is that public opinion and policy making are constantly changing

Don't forget the issue of abuse of surveillance data- see for example NSA and CIA analysts using our databases to stalk their exes, or cops using their legally-acquired surveillance powers in illegal ways to suppress dissent.

And there's another facet that I don't hear discussed enough- Take, for example, the crime of speeding. What if speeding resulted in immediate traffic fines, 100% of the time, with perfect enforcement. Is that how we want it to work? Speeding is always possibile, and always punishable? Or is it actually better to live in a world where speeding carries the risk of traffic fines?
> Mac OS X: Implemented a subset of the Media Source Extensions (MSE) API to allow native HTML5 playback on YouTube
HTML5

> Implemented Encrypted Media Extensions (EME) API to support encrypted HTML5 video/audio playback (Windows Vista or later only)
HTML5

> Automatically download Adobe Primetime Content Decryption Module (CDM) for DRM playback through EME (Windows Vista or later only)

:( Notice which OSes are left off the list. I don't blame Mozilla as they were just following inevitability but it's a sad day for the web as there's now a lot of content that, by design of W3C, only works on certain OSes.

Of course the EME champions promised us that this wouldn't happen and they are apparently silent for the moment.
Publishers Warily Embed with Facebook
Disappointed in you Jeremy.

Its fair for many here to complain about some of the online advertising practices of publishers.

However the viable alternative it to pivot to some form of subscription model. Its a hard transition and many orgs are making risky changes to do better.

Extensions like these are a step backwards.

If you value the work you should support it.

See bio for usual disclaimers
Thats right. They knew, but didn't care so they skirted the law in order to find probable cause. They messed up. Thank the founders for our constitution ladies and gents. Its a strong document thats laws stood the test of time.
This reminds me of my 0 to web developer guide:

www.developingandrails.com/2015/01/crash-course-on-modern-web-development.html
Ultra-High-Definition-Quality of Experience (UHD QoE) with MPEG-DASH
>I always wonder "what happened to Lua"

It became the dominant embedded scripting language.. and still is.

Lua as a primary language was never popular, because it is not designed for that.

Lua as a primary language only makes sense for game development. Because the two other mature languages in its category (Python and Ruby) are horrible for that [1].. but better for everything else [2]. Unsurprisingly Lua is widely used in casual/mobile game development (e.g. Corona [3])

[1] Lua is more memory efficient and cache friendly and more importantly has an incremental GC + it is easy to avoid allocations in Lua.

[2] Both languages ship with much more functionality built-in + tons of libraries for everything (true for Python in particular)

[3] https://coronalabs.com/
They removed the ability of a site maker to tell user if they should use password manager on their website. A much needed feature aka 'no, I do not care about password for your stupid site'.
Verizon is buying AOL for $4.4B
Being able to deliver, seeing the big picture and recognizing the opportunities. Turning ideas into products. Becoming your own boss.

Technology-wise, nothing will guarantee you a safe future. Tools change all the time, every few years the names of the instruments you see in job ads get [almost] completely replaced. Every year more and more people go into IT attracted by high salaries, hence the competition always grows.

You're just a few years away from realizing technologies will always change and you won't be able to keep up for long. You will also realize soon the tools are not that important compared to the problems you're trying to solve.

Focus on preparing yourself for a leadership role and an independent future. Should pay off more than any next programming language you can learn (and then discard a few years later).
Lawrence of Arabia and the crash helmet
> the source of troubles is usually in humans, not technology

And this is exactly the reason why Rust even exists. I find it amusing to see the author use it to defend the C++'s side.
What do I gain compared to creating a puppet deployment setup, and set my machines from there?

I see no benefit from Docker (but that's why I don't know it well). Any code that does not come directly from the source control is risky, and docker incentives the worst possible building workflow, that is the developer builds everything on his machine, and pass the binaries along for deployment. That's as bad as developing on production.
Comparison of Object Pascal and C
It also means they know what they're talking about.

Many of the points are valid, but it's important to remember Rust is not even released. Java 1, Ruby 1, Perl 1, Python 1 were all pretty terrible compared to their current manifestations.
Intel’s Gordon Moore talks about the genesis, legacy, and end of Moore’s law
Just remember that there is life outside of Google and by brushing it off you're stifling further web innovations.

Also, I wonder how Google handles security while executing random JS code. It's one thing to hack into a single browser. It's another thing to hack into a crawler. Think of all the possibilities.
Learn other Programming Languages: [...] Lisp and Scheme.

Apart from that, there's probably a reason no top 100 company uses a purely functional language as their foundation.
I've never heard of LoopBack before.

> Powerful Node.js framework for creating APIs and easily connecting to backend data sources.

Yet another framework or worth to have a deeper look at?
Eventual Consistency and Durability
RethinkDB driver for Elixir released
As someone who works with SEO, this was my first reaction. It's going to make a lot of my analytics wonky and the numbers won't be very accurate.

I guess you have to assume such a small percentage of people will actually be using this, so the numbers won't be too bad??
Employee fired after removing GPS tracking app from her smartphone
What exactly does NSA's interception of all traffic to, and from, cloud storage even do anymore, now that everyone has laptops?

Simply carry around an encrypted local copy that's always secure and available, and never let any traffic traverse an uncontrolled network.
It's worth noting that WebRTC still requires a server of SOME sort -- typically you want a "signaling" server, and you need at least a STUN server to pierce firewalls, though the latter can be found for free.

And some corporate networks are too restrictive to be pierced by STUN, which means you need a TURN server, which is a relay server.

But yes, 98% of the time, WebRTC can go directly browser to browser. As long as neither browser is Internet Explorer. Sigh.
To steal someone else's tweet:

AOL in a big media deal, Clinton running for office, stocks at all time highs, new cuecat is here. What's not to love about 2000?
> Ruby annotation support

Finally! After only 24 years, East Asian languages get some attention.

Perhaps next Western browser makers might consider vertical text support.

sigh
How a Darth Vader selfie showed the worst side of social media
Also see https://github.com/aerofs/aerofs-docker

It looks like they use a private registry and just provide a script that runs the docker image from their registry. No Dockerfile. I was curious because last time I tried to dockerize aerofs I ran into issues in regards to OS detection: https://github.com/zimbatm/aerofs-docker#todo
Yeah, the "import" tag does seem to work that way. I guess the idea is that something worth importing from overseas must offer something you can't get for less at home. In reality, it's a great way to rebrand and market.

When I studied abroad in Ireland back in the 90's, Guinness was generally as cheap as any other mainstream domestic beer (about £2 a pint at the local) while Budweiser was a more expensive import. Here in the states, Bud is your cheap, bog-standard beer...not a discount brand but nothing a "beer fan" would care about.

And they brand Stella Artois and Carling as fancy import beer over here but everyone I know from Europe jokes that those are the sorts of beers you get when you just want to get drunk and get in fights.

Then there's Fosters....do they even sell that in Australia? Not super popular over here in the US but it's still marketed as some sort of quality import while I've never met an Aussie who touches the stuff.
Hi Mark,

I completely agree with that advice! Great content that is unique/original is what matters and will be a deciding factor!
Unlike ruby Lua is used outside of chef recipes :) ithink in general, though, other languages fare better when solving specific problems.
Off-topic, but I always thought it was "can't see the forest through the trees" not "forest for the trees".

Meaning someone can't see passed what is in front of them (trees/treeline) to see the bigger picture (forest).
> Mac OS X: Implemented a subset of the Media Source Extensions (MSE) API to allow native HTML5 playback on YouTube HTML5

Media Source Extensions, while compatible with Encrypted Media Extensions, the DRM system, are not DRM. They let JavaScript manipulate the byte streams of the video data before it goes to the video codec, so you can handle streaming and such from JS.
Context:

Exchangel is a fantasy angel investing site with real companies, Pied Piper is a fictional company on a real TV show (Silicon Valley on HBO).
I definitely believe it. It's inspiring to read about the techniques and hacks used at the dawn of game development, so many of which are still useful today.

Re: ASCII painting, recently I was looking into using an ASCII drawing tool like Monodraw [1] for creating ASCII maps. A format as portable as plaintext is appealing.

[1] http://monodraw.helftone.com
Job-hunting tips for Computer Science grads
Tech unemployment dipped again in April
C++ gives you more than enough rope to hang yourself. Like a chainsaw, it's very powerful, but also extremely dangerous.

It's sad they don't teach C++ properly any more. The stuff I see leaking out onto Stack Overflow from courses is shamefully bad.
Will Robot Cars Need Windows?
Method Interchange: The Forgotten Vulnerability
Why not apply that to other things?

Why is apple allowed to sell hardware then dictate who can sell apps for that hardware after it is sold?

Why can google use its search engine monopoly to push chrome, android, maps, etc. etc.?
otoh I don't think anyone who came to AOL that way would say "I worked for AOL". I'd say I worked for the part of AOL that used to be Netscape, or at least "AOL West". I seem to recall saying something like "I work for Sun but my paycheck comes from AOL, for tax reasons...".
Full disclosure: I work for StrongLoop and am part of the LB team as a product manager among other things. Check us out - http://loopback.io/. Think Express (it's built on top of it) but with all the bells and whistles to help you with model driven development for APIs to power next-gen web, mobile, S2D IoT, etc. Don't take my word for it - check out our growing community - https://groups.google.com/forum/?fromgroups#!forum/loopbackj....
Al Clinton.
Entrepreneurship and Feeling Guilty
10 Common Plastic Surgery Procedures and Their National Average Prices
These new features are really nice for people like me who really can't draw but still love Paper.
How Sesame Street Helps Kids Grow in Tough Times
Can you share any feedback on the demographics of subscribers who successfully convert via paywalls? I'm curious how well it works with the 18-25 and 26-35 demos. Obviously this is a bit of an echo chamber here but I think a lot of us become annoyed and mentally boycott those sites instead of succumbing to pressure and paying.

Have you ever considered doing cross-promotions through other channels, such as the ability to round-up my Starbucks purchases and have the excess go toward a subscription?
Well, as a LoopBack developer, I am biased, but I don't think LoopBack is just yet another framework. There are already some big names already using our framework, for example GoDaddy or Bank of America. You can find more names here: http://loopback.io/users/
Not to defend the NYT craziness, but that plan somewhat exists in the weekend print edition and should save you money, too. Subscribe, check the box in your account to have them donate your paper copy to a school or library, and enjoy access on all of your devices.
They're going to rake in that much in people forgetting to cancel their AOL dial-up account.
> Emacs is not an editor. Emacs is a family of editors. You are probably talking about GNU Emacs.

You tell me, you brought it up!

> They never tried and it would not make sense. GNU Emacs exists already and supports Lisp development very well. The other tools have concentrated on other things: GUI-based IDEs for Lisp.

Emacs is for more than Lisp development, though. It's not popular because you can do Lisp in it, it's popular because you can do everything in it. So we're back to my earlier question, which is why we haven't seen major, broad-based wins for Common Lisp, on the scale that we have for other languages.
How do you feel about Adblock?
I can't find it used as a noun anywhere.
Update on Digital Rights Management and Firefox
"Having state" != "Changing-state and mutable data".

5 years?
Thanks for writing this, can't be upvoted enough!
Elon Musk denies telling an employee he should have skipped his child’s birth
Is climate change funny? Republicans use mockery to reallocate science budgets
Is it even possible to open a socket from a browser to another browser directly? I was under the impression that was restricted for security reasons (websites becoming botnets and such).
Like we said earlier, you can choose between a raw chip (like the Dialog) and handle the antenna design and all the various governmental certifications and testing yourself ($$$)..or you can buy a precertified module that drops in and you're ready to go.

It depends what you can afford and what each path will save you in the long run.
How a Frustrated Lawyer Quit His Job and Launched a Successful SaaS Startup
How to Find Any Decision Maker's Email
Their "get your HoMo on" campaign will implode for sure.
If there were a backdoor that Apple had built into FileVault, and they gave it to authorities to access your hard drive, wouldn't it make it into the news pretty quickly? (e.g. "Gee, I had my FileVault turned on but somehow the authorities were able to decrypt the whole damn thing!")

And wouldn't Apple be destroying the product's reputation and severely harming their own reputation by providing that backdoor access and having it hit the news?

I'm not saying it's impossible, it just seems so unlikely as to not even register on the list of concerns for a typical security-minded individual unless that person is storing nuke codes or something.
@rockdiesel, it's definitely "for" the trees, where "for" means "because of". You can't see the forest (big picture) because you're paying too much attention to the individual trees (details).
I think everyone should know of the Murray Gell-Mann Amnesia effect. To quote from Michael Crichton:

> Media carries with it a credibility that is totally undeserved. You have all experienced this, in what I call the Murray Gell-Mann Amnesia effect. (I call it by this name because I once discussed it with Murray Gell-Mann, and by dropping a famous name I imply greater importance to myself, and to the effect, than it would otherwise have.)
Briefly stated, the Gell-Mann Amnesia effect works as follows. You open the newspaper to an article on some subject you know well. In Murray’s case, physics. In mine, show business. You read the article and see the journalist has absolutely no understanding of either the facts or the issues. Often, the article is so wrong it actually presents the story backward-reversing cause and effect. I call these the “wet streets cause rain” stories. Paper’s full of them.
In any case, you read with exasperation or amusement the multiple errors in a story-and then turn the page to national or international affairs, and read with renewed interest as if the rest of the newspaper was somehow more accurate about far-off Palestine than it was about the story you just read. You turn the page, and forget what you know.

> That is the Gell-Mann Amnesia effect. I’d point out it does not operate in other arenas of life. In ordinary life, if somebody consistently exaggerates or lies to you, you soon discount everything they say. In court, there is the legal doctrine of falsus in uno, falsus in omnibus, which means untruthful in one part, untruthful in all.
But when it comes to the media, we believe against evidence that it is probably worth our time to read other parts of the paper. When, in fact, it almost certainly isn’t. The only possible explanation for our behavior is amnesia.

Very intriguing when you think about it.
So if you're concerned about your privacy, you'll need to get a stool transplant every few months.
Distributed Computing in for Augmented Reality Check
Do you happen to have any particular recommendations for ASCII painting tools? I took a web-based one called ASCII Paint [1] for a spin and first impressions were positive.

[1] http://www.asciipaint.com
“YouTube My Breaks” Unveiled by Nestlé and Google
This isn't the scaling phase. Dash is also an API for automated ordering. And the button is a test to measure the usefulness of such API.Once there's data proving the idea, and an available API, Amazon and it's partners will scale this.
This is massively frustrating :) although I started to develop some strategies once I got used to the controls.

I have a question though: In useful.js, there's a function like this:

function getHeight() {
return $(window).height()-200;
}

Why is 200 subtracted from the window's height?
I've never had a "contract" with an employer which specified the number of hours I was to work in a week. At most tere might be a verbal agreement on "core hours" in the office to be available for meetings, but there was certainly no upper limit on the number of hours to be worked and no concept of overtime.

This idea of a detailed employment contract is something I've only heard about from europeans, and I'd love to see what the contracts look like. Generally employment in the USA is "at-will" and either party can terminate the arrangement at any time for any (or no) reason, without further obligations.
But is having more than one car per family common anywhere else on the planet than in United States?
Nifty tip. Let's try it, and see if it works.

Edit: Sorry bud. I gave it a shot, and `activeTab` doesn't allow you to modify the "Referer" header.
All-You-Can-Text Therapy Startup Talkspace Gets $9.5M Funding
There is a common denominator between shelling out and making SQL queries: using strings to construct executable code. Metaprogramming with strings and eval, e.g. in Perl/Python/Ruby, is another place where this is done – and is fraught with similar issues. Lisp has metaprogramming, yet doesn't have this problem. Why? Because you don't do unstructured metaprogramming with strings in Lisp. Instead you do structured metaprogramming using lists and symbols. Julia also has structured metaprogramming [1]. For running external commands, Julia gives you a structured metaprogramming solution: the `cmd` form is really a list construct in disguise – one that understands shell syntax and is therefore easy and intuitive to use. The same approach can and probably should be used to make SQL query construction both convenient and safe.

[1] http://julia.readthedocs.org/en/latest/manual/metaprogrammin...
Selling Depends is a big market, there is a lot more cash from adult diapers to be made.
Jython long pre-exists any of the work on Truffle and Graal — the priority of the 2.7 release was just getting back to being compatible with an up-to-date Python release, and very little work was done on performance. (It's often faster than CPython for warm code, but also a lot slower than PyPy.) The majority of people who use Jython use it for interoperability with other JVM languages, rather than performance per-se.

There's also ZipPy, a Python 3 implementation based on Truffle/Graal. In some benchmarks, it far out-performs even PyPy, but it's very much incomplete so it's hard to make general conclusions as many (most?) larger benchmarks don't run.