skysight-inc/HackerNews huggingface dataset:
Ask HN: Why would you disable JavaScript?
Base info: I'm a front end dev born in the early 90's with three years experience.

A lot of older dev's that I've worked with have told me that best practice often includes making sure that the site is usable even if you've got javascript disabled.

To me, this is completely bonkers. Are we really supposed to cater to the sub 2% that chooses not to use javascript?

To me it would make more sense to use that time to make the sites usable for visitors with disabilities by including screen reader support and stuff like that.
> Probably the biggest problem on Windows is that OPAM, the package manager, doesn't work there. That will come eventually, though.

Any ETA on it? If I knew about it before buying the book, I would not have done it.

The book is great, but as it is I have better luck with F# at work.
I've got 1600 x 900 and the pixels stick out like sore thumbs.
You mean like Oculus ?
Of course, Europe has a GDP that's greater than the US.

We just don't spend it on an imperial posture and wars of aggression.
The computing courses at my university use Haskell in the introductory programming course - apparently it works rather well as a vehicle for exploring algorithms and data structures.

I think a strict language in the ML family would even be nicer, because students wouldn't have to reason about laziness.
IIRC during the normal setup flow of either iOS or OSX (not sure which) I remember being asked if I wanted to enable DNT, but I don't think it was enabled by default.
Well, yes. Why do you think there's such insistence on using private charity to provide relief?
Multidomain distribution to bypass connections restrictions, that kind of stuff? Or domains with different servers for different use cases?
I would be inclined to share this naive outlook. But it's email.
SharePoint is a Jack of all trades, master of none so based on you requirements you have to choose the right tool most of which are OSS or at the very least non depended on Windows
10 crowdfunding campaigns you should prioritise over potato salad
C++ _micro_framework using boost. Just couldn't resist to notice that. ;)
(I know that boost consists of many libraries, many of them are header only, etc. so using them doesn't necessarily result in terrible bloat.)

Will have a proper look at it later.
> Stupid question but why don't big companies like Google and Apple just move the bulk of their office outside of San Francisco where there are no regulations and they could just build everything they need there.

Because they've weighed all the options and decided that's not the best thing for their business.

This is what many people simply don't understand. Businesses are profit-maximizers and it simply makes economic sense for them to be located in the Bay Area.

One may not like the cost of housing, and businesses may have to pay employees more to live in the Bay Area, but overall the advantages outweigh the disadvantages.
I've found ios applications to be fairly resilient to this, probably because the platform has a fairly long history of it. Of course if you don't allow GPS to a mapping application it's useless, but for the most part when the API is for "optional" features ios developers seem to handle the "denied access" case rather well.
And to be honest, you wouldn't want one-for-one replacement for sharepoint. Sharepoint is awful.
This made my day. Thank you :)
Not sure if the world has a glut of real savings. It does have a glut of liquidity and a huge steaming pile of IOUs that virtually ensures there will be no end to printing of new money for years to come.

So markets are thinking "central banks will never allow another 2008 to happen. What could possybli go wrong!!" and throw billions at Snapchat and Somali pirate bonds.

There are cheap financial assets. Basically any tail hedge that would benefit if it ever turns out that it's simply not up to central banks to fully decide what happens and when.

Death may have taken a holiday but his return to work won't be announced much in advance.
Magic the Gathering? You made my day. Of course, even rocks can be Turing-complete :) http://xkcd.com/505/
> Chrome is horrible on linux, --disable-gpu --audio-buffer-size what user is going to bother with that?

Really? Chrome is a first class citizen on ChromeOS, so I'd expected other linuxes to be well served, too.
For me, as the author:

- Simplicity. It's fine for you to create an API via Google Docs, but I suspect it'd be tough for your (presumably) non-technical clients.

- Generated API docs

- Granular control of who sees what data and APIs

- Usage tracking (see who's using your APIs/data and how often)

- Easy integration for API clients: example code, no messing around with authenticating their Google account

I don't think you're wrong though: For publishers who already have their spreadsheets held in Google Docs and have setup an API, and are happy with that process, then there isn't a _huge_ benefit here.

That said, I've had quite a few emails overnight from people asking to support importing spreadsheets from Google Docs, so clearly they're missing something - I'll have to ask to find out whether it's something from my list above or something else.
In my experience most customers are pretty tolerant as long as you immediately fix the bugs. If you take your time fixing the bugs they'll start wondering whether you're still working on the software. Not a good situation. Customers want to be sure that you're on top of things.
You can do this in Python too, if you wanted to:

http://modpython.org/live/mod_python-3.3.1/doc-html/pyapi-ps...

But it's not a very good architecture, in the meanwhile we had better approaches, such as MVC and MVVM.

Anyway, CS is not web programming, but should focus on the fundamentals of computer science, for which there are far better languages than PHP.
Labels are useful for recording,, mixing and marketing. They are not just factories of CDs. Artists may manage without them but it is quite complicated as it costs a lot.
Wow, thanks for the update. Enjoyed reading this. Looking forward to seeing more from you guys.
What a strange view of what a "government officer" does.

If you include all civil servants (which the definition listed by wikipedia does) you will find police officers, national economists, sociologists, intelligence officers, surgeons, traders and many many more professionals there.

All the specialists will of course require domain specific software. In anything involving economics or statistics you will probably find SAS or R, someone tasked with planning mobile spectrum would have GIS applications etc.
As-is, this is not an MVP. V stands for "viable" and right now I don't get the sense that it is so. You have a skeleton running, but it doesn't feel like a product yet.
Mostly reddit, HN, some blogs and a local news agregator. And John Stewart of course.
Building iBeacon applications on Android
Google Glass wearers can steal your password
Could you name few? Anything would be helpful.
It depends who you are. People who have the recursion muscle tend not to appreciate what an obstacle it is for people without it.

Basic use of scheme requires you to think recursively. If you have that, scheme gives enormous power for a small investment of learning, thinking and typing. If you don't have that, you need to deal with that before you can use scheme.

You could take a group of elite students with a math/physics background and have some confidence that their grounding in mathematics and physics will have prepared them, or that it will be a short and healthy jump for them.

But it would be bigger hurdle for other groups. Python is a useful because you can ease people into this kind of thinking. And people who aren't there yet can still get things done.

Regarding SICP, even in early chapters, it requires you to understand maths concepts that wouldn't be available to you even if you were a professionally-employed person returning to to university. The Little Schemer path would be a better intro for groups without that.
Don't understand your point. An office PC will need an office suite. And if you've got Microsoft in your door, guess what will it be?
Or you could look at the "Billion Prices Project" at MIT which actually only monitors ~5 million prices, but still says inflation is only a very little bit worse than the CPI...

http://bpp.mit.edu/usa/
The nice thing about the DF raws is that they now list the actual species used as a basis. A lot of research went on some time ago to add correct, sourced information to the raws. There are probably still a few wonky things, as some of the properties in there make more sense for metals than things like wood, but the players care about even strange details like that.
Businesses however are doing the exact opposite-- they are expanding and hiring within the Bay Area.
Running a full node on your laptop helps no one. They need to be permanently connected. Otherwise you should just run an SPV client.
El portal del Psicólogo Online
I found that using homebrew's OCaml and OPAM really painful, and made things not work very well. Moving to OPAM directly and letting it manage OCaml for me has made things work brilliantly on OS X, to the point where I really wish I could use OCaml at work; it's a seriously nice language.
I really doubt the graphics would have much of an impact; after all (IIRC) they haven't really been updated in forever, meaning most of those 12 years were spent on the programming.
My college programming intro class is C++, which IMO is a total nightmare.

It is not that I don't agree with your point, actually I think It makes perfect sense. Eventually, anyone who considers him/herself as a serious CS student has to get his/her hands dirty with those relative low level languages in order to have a through understanding of what computer really is and in reality how it works.

Ironically, it is this very same reason that makes C++ as a entry point into programming a horrible idea. Because in order to understand it, IMO, a solid understanding of computer architecture is a MUST. Things like how memory is allocated, how call stack works, and why IO interfaces looks like it is now are unrealistically hard to take in a single course for those new comers with definitely zero programming knowledge, who probably would scratch their head out all night wondering why the following code snippet doesn't work (which wasn't valid back then in my freshman year, don't know whether it is valid now):

http://stackoverflow.com/questions/737240/c-c-array-size-at-...

And as it is a entry level course, usually a lot of details are skipped which makes it even more confusing. Telling from my personal experience, it is really frustrating that I once want to quit programming for good.

Luckily enough, I got to know Python at that time. In relatively short period of time, I could come up with a simple web crawler to scrap and download movie torrent files from the web. This is important to me that for the first time I realize I could do something both INTERESTING and USEFUL with programming language, which in turn gives me the motivation to go back and look at those lessons I run away from.
Yes, but for every person who needs specialized software to do their job, there are many who don't.

For instance, even most police officers in the area where I live don't need special software. Some do, but most use a few web apps and java apps to do their paper work.

It's like a non-tech mid-sized business, really. All the management and many of the employees don't need anything more than word processing. And then there are people in technical roles whose needs are served on an individual basis (or, in good environments, their manager is handed a budget and told "have you people get what they need")
I know, I know, what I'm about to say is just an artifact of the Language Wars and will cost me karma. I can't help myself.

We should not be teaching impressionable students that whitespace has semantic significance. This is a fundamental design flaw of Python, and it's just a Bad Idea.

Sorry, Guido.
The transaction fees are part of what you call the block discovery fee.

As long as there is someone left running the software, blocks will be mined.
For most people/IT departments, dependence on Office is the only reason they hand Microsoft a dime for Windows.

If you're not using Office or other Windows-only productivity software, why pay the Windows licensing fee?
Scala came at the problem from the wrong direction. F# started with the functional pieces of ML/OCaml and added the 'OO' stuff in record types resulting in a simple and powerful language. Scala seems to have started with the 'OO' stuff and then has kept on adding and adding and adding.
I hope Munich somehow paid Canonical for its professional support or whatever to sustain a nice product in the long run.
I think the point that Swift fails to make is that music should be treated as a service, not as a good.

The point she does make, though, is that art IS rare, and I agree with her. Sure, there's lots of art. But the moment when you find someone who makes something that really means a lot to you for no particular reason, that's valuable in the new music era.
What’s Wrong With The Recruiting Industry
Private windows continue to respect the user's search engine preference.
Yes. Note that the recent FBI Bitcoin sale used no tx fees at all. It's a function of how many inputs the transaction have and how mature they are. Details are at the wiki.
I for one welcome our new Cat Meme Lunchphoto overlords.
Yep. I think it has to do with AMD drivers but I am not sure (I have seen some Nvidia users complain too). It started around Chrome 33.

By the way, I don't think ChromeOS is a good example. Can you use Firefox on ChromeOS? I consider ChromeOS like purpose-specific, dedicated hardware (like a router). It is a start though. By the way, Chromebooks use intel gpus - they are pretty solid.

LOD has to be better than alternatives by a significant margin in order to attract users.
I would maybe say he missed the point. Her point isn't one about economics. It's about how many fans, it's about what your fans will do for you.
Research, engineering, teaching. Personally, every software engineer I've worked with are all still software engineers.
I think this is really sad. As someone who went through university when the last wave of centralized unix died off, then the move to decentralized windows, and to decentralized linux (because they couldn't really figure it out mostly).

I found that move to decentralization and the availability of compilers and tools and dev. environments and easy ways to get admin privileges, well I credit that with my learning how to code/admin/... and to my succes later in life. These computers, I've heard from a friend, are LOCKED down. As in, try to compile anything against a GUI library is a complete non-starter. Compiling anything under linux without root is almost impossible.

Add to that that even the development environments that do exist on linux are ... well sorry to say but let's be honest here ... far inferior for learning to code and to writing simple games than the ones available on windows.

Nobody's going to learn how to use computers, how to program and how to improve their situation on these linux machines. And that sucks.

But hey, easier on the admins !

(not that it's anywhere near as bad as SAAS though)
Debuggers: Marc-André Cournoyer
So, you are alive ;)
Thanks for the quote, it really explains your point. I agree with that, although that's not always true for news :)

Well, yes, it's surely not a one step easy process, but I think it worth a try. Especially in places where the Internet isn't provided yet.

For example, in terms of the "Internet to all" initiative by Mark or whoever, while working to make the Internet freely accessible they could prioritize resources and start with, Wikipedia, StackExchange Q&A, language translators, simple messengers, communities maybe.

The useful content most of the time is boring, it's true, but it definitely can be improved, take a look at KhanAcademy, for instance.
There's good reason to run a fully validating client. SPV clients have quite a nice usability but really fall down in the security and privacy departments. As it currently stands people using Multibit have next to no privacy for a variety of reasons. Bitcoin Core is the most secure of wallets for a number of reasons, and possibly the most private when used correctly.
Definitely true. A wiki provides a good chunk of what I've seen folks in academia use SP for but I've seen other companies use primarily the office-type features (calendar, contacts, etc). But if you setup a wiki along with something like Zimbra and that could provide most of what SP offers and some extras.
This: http://i.imgur.com/AoR40fw.png
A chemical-free paper
>Your two paragraphs are logically irreconcilable.

That's the point.
Neither, funnily enough. I've never quite understood the hate, but to be fair, if the complaints I've seen were wide-spread problems, that would make sense.
I'm also an MIT grad (class of 1992). I took 6.001 back in the Scheme days. I loved it, and have found that the lessons learned in that class have stayed with me for a very long time. I now teach professional programming classes, and it's a rare lecture that doesn't use some of what I talked about there.

The irony is that I teach a lot of Python programming classes. And despite that, and my love of Python, I think it's a shame that they no longer use Lisp (or Scheme, or Clojure) for the equivalent of 6.001.

Python is easier to understand and get into. And Python has some amazing features that you want, such as first-class functions. And it's a real-world language, which you can't say about Clojure, even with its growing popularity. And Python is my strong recommendation for everyone's first language, because it's so easy to get into.

But there are some things that are just easier to understand in Lisp than in other languages. Implementing Lisp in Lisp (metacircular evaluator) is a fabulous way to think about programming languages that is harder in Python than in Lisp. (Not impossible, but harder.) Lisp allowed us to think about programming in all sorts of new ways, because it handled so many of those paradigms so well.

So I still think that the intro CS class should be in a form of Lisp, because it opens your mind up to possibilities. But if you're not going to go that route, then Python is a terrific first language, and I'm quite happy to see it getting the attention it deserves.
20 Free Bootstrap Templates
I've found that words, ideas, and plans count very little. Having something working to demo is much more impressive. So I'd suggest setting your first deadline as making a prototype. Then formulate your next steps after that.
I love my t440s. With 6-cell battery I can survive for almost 20 hours of continuous work on single charge if I don't load it too much.
Think Python, by the Green Tea Press.

"How to think like a computer scientist"
you can use the mouse: click and drag left-right
I learned that history through this video some time ago:
https://www.youtube.com/watch?v=ZTC_RxWN_xo
In fairness they're a new company and probably only have a basic view on how they're going to make money. They just licensed their core code under 'free software' so it makes sense for them to have a CLA. It will give them some flexibility as they figure out their commercial path - though I can't actually find the CLA on their site.

Anyway, in comparison good luck finding a 'free software' license for the Gmail API, or a CLA - and that's from a company that's benefited from Open Source more than any other.
But the dwarf fortress part is amazing. My number 1 game.
> i wrote it

> it's the best
My own company. You all know the reasons if you work as a developer at any sort of company, so I won't go into it. I need to not work under other people. "Other people" seems to not like this idea.
Wouldn't it depend on the type of audience you're trying to appeal to?

I would imagine the amount of people disabling JS would be a lot more coming from a site like HN, compared to say, pintrest. It would be worth making sure your site functions without JS if you know a lot of your audience will be disabling JS.
YMMV, of course.

I have found the exact opposite experience.

https://plus.google.com/u/0/+AlexChiang/posts/JKdr1LTLQD2
When it comes to a lot of electronic music, there is no recording necessary and the artist is the person who mixes/masters. No need for money there

Side ramble: I've never understood why people paint "real" bands as being lo-fi, guttural, punk and romantic. It's a goddamn privelege to afford all that equipment. Here's your true punk: pirate Ableton and upload a tune to YouTube for free.

Back to the point, for a lot of styles, the only point of a label is marketing. But this can be a very useful tool -- even just acting as a quality filter is useful.
Hmm never recieved an email. Did anyone else?
Why nukes keep finding trouble – they're really old
Interesting argument by Shaan Puri on 'motion, not direction.'

http://shaanpuri.com/motion-not-direction
I always disable JS by default. It prevents a lot of the cross-site tracking bullshit from working. And catering to users with disabilities tends to be easier when your page content is represented as page content and not dynamically loaded by JS.
I have it selectively whitelisted via NoScript, rather than just disabled. I only enable it for a domain when there's a compelling reason (i.e. it's not just for ads/trackers) and even then, the permissions will be temporary unless it's a site I frequent.

Most of the time browser security flaws rely on JavaScript in some way, so this makes me more secure by default at the expense of usability. It has a happy side-effect of disabling other random annoying things as well.
It seems there are less reasons the more time passes. I thought that screen-readers don't support javascript (imagining something like lynx), but it turns out that its a myth by now: http://a11yproject.com/posts/myth-screen-readers-dont-use-ja...
Today i learned constexpr, enum class, and operator "". Thank you.

The full trie implementation caught my eye, are there no suitable alternatives in std or boost?

Mixed tabs and spaces (?) cause strange display in github in json.h from 555 through 670 or so.

Also at the start of json.h it seems a shame to repeat __builtin_expect rules, how about #if defined() || ?
Previously: https://news.ycombinator.com/item?id=7803855
Thomas Gleixner lacking proper funding for RT-PREEMPT Linux development
This is exactly how you make the sites usable for visitors with disabilities -- by disabling JavaScript.

A website needs to work perfectly (if even simplistic) and make sense with all styling and dynamism disabled.

Make sure your documents makes sense when viewed in a browser like lynx. Then move on to enhance it with dynamic features (JS) and styling (CSS).
This is the best JSON library I've found.
I enjoyed Silicon Valley: A Five Part Series. Worth a shot if you are into these kinds of documentaries. http://www.siliconvalleyhistorical.org/#!silicon-valley-film...