skysight-inc/HackerNews huggingface dataset:
I don't know about that, but you do need to at least interact with the code on some level, eg. by cut+pasting, then playing around with the code to make it do different things.

Also, I don't know many professional programmers who type everything in by hand. It'll be something copied from a previous project, or cribbed from the documentation / somewhere online, then hacked into shape.

Of course, in order to do any of that you need to understand what's going on, but there might be easier ways to do that than manually typing in code.
A study showed that links from Business Insider stand an extremely low chance of getting upvotes on HN ( http://blog.rjmetrics.com/surprising-hacker-news-data-analys... ). That's why people post other websites' syndications of BI.
Another finely written newspaper article about indie game development / mindsets involved, titled "Where Do Dwarf-Eating Carp Come From? / The Brilliance of Dwarf Fortress", centering around the two brothers, mainly focusing on Tarn Adams:

http://www.nytimes.com/2011/07/24/magazine/the-brilliance-of...
It might be easy but is it common, i.e., is it a real world problem?

Friends complain about falling victim to Facebook scams all the time but I have never heard a complaint about WhatsApp … I know that such an anecdote is not of much use but WhatsApp seems at least not to have lost the trust of its users so far.
I think the sample of this survey is very biased. Typical visitors of hackernews do not consist of a representative sample of programmers.
Looking at my recent projects, bitwise stuff seems to crop up when I'm dealing with binary data generated by someone else. Some of that is SmartNet trunking data - lots of weird bit-mangling happens in there. Sometimes it shows up when dealing with raw Ethernet frames. I also apparently used it to mask off all but the bottom 8 bits when creating some temporary hex identifiers with data from /dev/[u]random.

Otherwise, I'm ORing some flags together for some library call: libcurl, libxml2, plus bits of the C library like fcntl and open. Oh, and I guess I frob some termios bits sometimes to enable or disable echo for reading a password.

It doesn't come up often. When it does, it gets hidden down in some low-level utility function and then I build on top of that with something which doesn't try to be clever.
I get the impression that if issues of Phrack and old viruses weren't part of the historical record, possessing them today would be illegal too.
I've found that people who list any of the following on their resume are way more likely to know how to bitwise their way out of a paper bag:

- C (not "C/C++", those people generally mean "C++")
- video codecs
- compression of any kind
- encryption / cryptography of any kind
- embedded anything
I'm not an expert on Comp Chem, but you might want to rephrase your question. If the simulation is "chemically accurate", of course it will match the real-world, by definition of "accurate"...
I disabled the stylesheet. Ahh, pure text.
Why should I try Talk.to?

Your website does not speak for itself IMHO …
I know how to use them but have never had a real application for them.
Hypermedia API for Industrial Applications
I agree that it does seem that less are probably learning bitwise stuff these days. Anyone that still goes the traditional route of taking Computer Science in school is still at least exposed to them though through taking an assembly/architecture course or two. I don't use them very often still despite having seen them in those courses, but every now and then I come across somewhere they might be useful.
My understanding from a previously posted article (techcrunch) is this applies to interacting with the map software (input), not merely looking at it, and that state appellate decisions are influential but not binding, even on the appellate court.
Are there any use cases apart from low level C/C++ where bitwise operations are really useful? I know they are available in Ruby, PHP, etc. but it seems to me that the performance/memory gain they offer is negligible compared to the loss in readability. The last time I remember using bitwise operations was when programming an ATmega16 microcontroller.
I have always wondered why I was taught binary as if they were arrays, but programming languages never allowed me to use bits like arrays. It's always masking and shifting uint16_t or int32_t, instead of what I really want,

"result = bits[3] xor bits2[3]".
I come from full time 8/16 bit assembly (Z80 and later 68000) so I tend to use those naturally. Very powerful and fun; it's a shame most universities don't teach the basics; it saves a lot of CPU cycles.
*Become indispensable in a role where you are directly responsible for driving billions of dollars in revenue.
In the Netherlands, when you buy something of which you know the price is too good to be true (and it is) you are charged with 'handling of stolen goods'. In this case the buyer probably paid a reasonable pawnshop price for the bike.
If the pawnshop did not also offer a reasonable price for the bike then it would have committed a crime.
I use them whenever I need to. Often I don't need to, since a compiler should be able to optimise the very basic things. Optimising prematurely is a good way to stuff something up (see question 5 here: http://ridiculousfish.com/blog/posts/will-it-optimize.html)
And it hurts readability.

I would expect most good programmers to know at least some basic "tricks" though (and would hope they have the sense to not over use them).
+1

I've got a pretty in-depth networking background and for my home network rebuild I wanted something less power-hungry than my previous big AMD box running Vyatta, but needed something that supported n+ layer 3 interfaces, BGP and VLANs (i.e a proper router). Couldn't justify the cost of a 1900 series Cisco and associated k9-sec license, so went for a RB1200 (512MB RAM, 1Ghz PPC chip, 10 physical ports, 5 of which can do hardware switching and wire-speed filtering) and a couple of Groove access points.

Getting tagged and untagged VLANs to interact together on a single port is a non-starter (not supported at all), and getting VLAN trunking and routing to work together simultaneously requires terminating the layer three interface on a virtual bridge, then for each VLAN you need to create a virtual VLAN interface for each physical interface, and then put that onto the bridge as a 'bridge port'. The documentation is very scant on this side of things and the command line interface is pretty arcane compared to IOS but does make sense after a while.

If they weren't 1/4 price (or less) than an equivalent product from $enterprise_vendor I'd hesitate to recommend them to anyone, but seeing as they are - if you've got a networking background and can put up with some of it's quirks and limitations, there is very little out there that can compete with Mikrotik on price/feature set.
A couple of places, please.
If you're into bit hacks...

Though K&R is on the shelf within reach and I knew it had
a good algorithm for counting set bits (ones), I also remembered
reading about a more efficient method a while back. The following
page covers a number of set bit counting hacks:

http://graphics.stanford.edu/~seander/bithacks.html
Why my cofounder is my biggest rival
Will It Optimize? See how well you can anticipate gcc's optimizer (2010)
This post illustrates my sentiment too. It's great fun to try and be clever but unless they're necessary they're probably a bad idea.
Disclaimer: I have no idea what I'm talking about in this area. So I reserve the right to dumb questions!!!

Is it possible that in the future rather than having a sort of general "quantum computer", something like quantum processors will be built for specific computing tasks? Each very different in config and unique, specifically designed and used for one thing and one thing only?
Why?

Seems perfectly sensible to me. Are you telling me that there aren't developers out there who have thousands or even millions of times greater impact than an average coder? Some people write code that impacts literally millions of people (or even billions), code that generates literally billions or even trillions of dollars in value.

This isn't about productivity, it's about impact.

Google started out as a very small company and yet had many cornerstones of their core technology stack laid early. And the technology of pagerank, treating data centers as giant computers, massively automating IT operations, etc. is what allowed the company to dominate search and is a key factor behind their multi-billion dollar annual revenues of today. The people that built that technology are easily millions of times more valuable than the average coder in terms of their contributions to the world.
> It's expensive,

Even if we like it or not, the rent is ridiculously expensive.

(someone new to SF that will probably never get used to the peeing in the streets)
President of the Whole Country
If you're using strict Javascript (and you should be) there are no implicit global variables.
I was in school for 13 years (5+8). Procrastination is a common grad student problem.
Hackers Delight!
http://www.amazon.com/Hackers-Delight-Edition-Henry-Warren/d...
I find it sort of odd that people, especially on HN, would resist the idea. Many founders have earned for themselves tens or hundreds of millions of dollars through their startups (either through revenue or acquisition). And we accept C-level execs to earn this kind of money without really questioning whether they are actually worth it.
> They last forever, aren't subject to the level of interference wireless is, and, in many conditions, have faster data transfer speeds. Ethernet is still great.

Take away "in many conditions" and replace with "always, without exception" and replace "faster" with a "at least a magnitude faster" and we are in agreement.

If you need performance and reliability (like for instance for iScsi) there is really nothing which even compares to wired ethernet.
Anyone know why bitwise AND is so slow in chrome V8 ???

http://jsperf.com/even-or-odd/2
Crockpot Baked Potatoes Two Ways and Suggestions Recipes
The answer is hardware design. Most machines are at best "Byte Addressable"
which means you have an address for a specific byte. In some cases, even if
the system is "Byte Addressable" it's still actually faster to use blocks
of bytes (2Byte/16bt, 4Byte/32bit, 8Byte/64bit). The reason why this is
true is because the hardware design was optimized to handle blocks. Though
I'm sure "Bit Addressable" hardware exists, I've never actually seen a
system like that.

EDIT: You're moving stuff into and out of registers (typically blocks
of specific sizes), but the registers are also not bit-addressable, hence
the need for bit-wise manipulation.
Perfomance uses are pretty pointless now, as I discovered ten years ago when I found that gcc could turn masked shifts into a native rotate. So for multiply or divide just do so. Obviously where the underlying ops are xor etc, you use them. Most of the time I find myself using the for masking flags in system calls nowdays though and similar.
There is no correct option for me. My actual answer is

"I know about them and could do complex things with them when they're the right tool, but for the kind of programs I write they're never needed."
http://www.google.com/ads/displaynetwork/

It's distinguished from search-based advertising (e.g. adwords). It's basically just ordinary online advertising, and there are a great many different ad networks out there already. However, google's network has been gaining a huge amount of traction recently and took the top spot in marketshare within the last year or so, even pulling ahead of Facebook. In total these sorts of ads are worth around $2 billion a year in revenue for google but both the size of the market and google's share of it are growing at double digit rates so google's revenue from it is likely to double within the next few years.
Nobody here seems to realize that these firmware upgrades do little to adress these issues. Tomato explicitly says its a UI update only..
Always just too much to justify buying. Borrowed it a few times though. These kind of problems are my crossword puzzles.
Same here, I voted the first one that seems the most closest to it.
I've forgotten when I learned this stuff. Recently, I've been teaching people who have been programming for years how to reverse engineer. It's surprising how much trouble they have grasping trivial operations like "a & a" or "b ^ b", and understanding arithmetic equivalents, like using "a << 2" to multiply by four. Two's complement also seems to challenge a lot of people - I suppose an intuitive understanding comes with time, but I'd expect people to pick that up if they've been writing C for a while.

I do feel that this poll is biased, because people prefer to declare their knowledge than admit their ignorance.
I used them in 1995/6 writing a DOS game while learning C and once in a C++/MFC interview question in 1998.

Never once used them in actual application development or web development since 1996. For me and the stuff I work on (web dev mostly) they're unreadable by others and any performance gains wouldn't be noticed or even cared about.
You can do this with bit field structs in C: http://www.cs.cf.ac.uk/Dave/C/node13.html

Super handy when you're dealing with oddly packed int representations and such.
hehe, also sin/cos tables ;)
This is where macros (C) come in to play. Using macros (do all the bit shifting and masking inside) you can write very human readable code that is easy to maintain and while at the same time offers all the advantages of using bit-masks.

The major advantage of bitwise operators for me is the memory savings that come with them. I used to write the route calculation algorithms for routers and every bit/byte save had an tremendous impact on the total capacity of the router. We use bitfields to set and store various things from simple flags to multi-bit values, all inside a single integer variable.
If you're not working with device drivers, embedded systems, or legacy code/filetypes you probably shouldn't be using bitwise operations. It can be confusing to other programmers, make your code a mess, and you're repeating optimisations probably found in libraries.

This is just a generalisation of course, I use them on occasion. Mostly with string encoding oddities.

For me using excessive bit operations is a red flag. I wrote a messy 1000 line file format in C, I found out by chance there was a serialization function in the library. 10 lines, done. I repeated this mistake when I started learning python (pickle, you're the best).
Bitwise operations are still common and necessary in dealing with matrices and arrays in Matlab/numpy etc.For ordinary code they would be an unnecessary layer of complexity and perhaps even a false source of optimisation.I tend to trust that the language designers know what they are doing more than I do by default at that level of abstraction.
I see claims like this regularly, but never any data to support it. Do you have anything to back it up?
which is a shame, because BI has been really good recently - to the point that I visit the site each day

that said, I do enjoy the irony of a BI original article being syndicated by another publisher and becoming more popular than the original source
No, wait. He's busy going through the applications, don't try to disturb him.
yes, but we don't care. A language is agnostic of the underlying system. Even the C standard is built on top of a machine that doesn't really exist.

Anyhow, the point is, limitations of the underlying system aren't excuses for why this syntax isn't implemented. If I can write bitmasks, then so can a compiler, right?
You're right, I was too lazy to type it out. Should have just not posted at all then.

My reasoning was that it sounded too clean. Either it is fake, and just the written for linkbait (there were enough successful similar articles online to justify someone trying that) or the x-th rewrite of a story.

As another reply to my post here pointed out it orriginated on Reddit, so probably the second thing and I was wrong. Sorry.
For me they are like regular expressions. It takes quite some time to process and understand their function in programs. So I rather avoid them.
Microsoft's Windows 8 Has Failed, Now What?
Try to talk to them. Explain what are your goals, show them that you're not a lazy kid who uses the computer only for recreational activities. Show them examples of other "kids" who started young and did great things.
Javascript Dubstep Generator
Sure - I'm pointing to the section titled "A Deeper Dive into the Research Supporting '10x'".

I'm accepting one of Bossavit's claims on trust: he says that of McConnell's eight citations in support of the 10x claim, only two were original research based on empirical studies under controlled conditions (and of those two one only concerned debugging).

I'm willing to trust that because it looks like McConnell mostly agrees. For example, regarding the 1986 Curtis paper, McConnell writes "Bossavit states that, “the 1986 Curtis article does not report on an empirical study.” I never stated that Curtis 1986 was an 'empirical study.'" Regarding DeMarco and Lister, he says "Editorial insinuations aside, that is a correct description of what DeMarco and Lister reported, both in the paper I cited and in Peopleware. Their 1985 study had some of the methodological limitations Sheil’s discussed in 1981".

They disagree about what counts as evidence supporting the 10x claim, but apart from the Card 1987 citation (about which Bassavit was wrong), McConnell confirms Bossavit's claims about every citation.
For free? Go for MS Outlook, the interface is super-awesome. Or you can also use ZOHO.
The syntax you use is supported in Ruby though, which allows indexing integers to access individual bits (though as far as I know you can't create numbers that way, because integers are immutable).
When writing network protocols or de-marshalling binary data it's common to want to know which bits are set in a byte. You might do
a & 4 == 4
to test the 3rd bit is set, how would you do this with 'regular programming'?
Why we should allow performance enhancing drugs in sport
My understanding of these things is that the dynamics of the real world are not easily measurable at this scale. An alternative is to simulate using using packages such as Gromacs:

http://www.gromacs.org/About_Gromacs

These packages are truly incredible but use relatively crude approximations and are in wide use. It is possible to get a decent paper out that uses a simulation as evidence to support an idea.

The aim of my question was to see if chemically accurate simulations come up with significantly different answers or to see if the current way of doing things is a good enough approximation.
Google Paid This Man $100 Million: Here's His Story
I noticed that too. It also only highlights variables from other scope once per function which is a tad odd but for experimental you can't complain!
Link doesn't work for me. Says you've capped your 000webhost limit.
This fills a need, I'd say. I currently use a service (smugmug) that does this sort of thing and love the way the everpix interface looks. My primary complaint of most of these sites is speed, so this is worth a look.

I've never understood the aversion to paying for cloud backups. Even with a mirrored NAS and some (probably no longer readable) DVDs I feel like I could easily lose photos. These services are so much easier/cheaper in the long run.
That's why C has bit fields. It effectively lets you access individual (or clumps) of bits as elements of a struct.

Now while this may not be as "convenient" as array-style indexing, it definitely is orders of magnitude better than using bit masks and what not. You could also argue forcing to name each clump of bits (as a bit field struct forces you to) is a good thing, because most of the time the use case calls for something like this, and simply numerically indexing into bits might not be the most readable approach.
I use bitwise operations whenever they make sense. Usually, this is abstracted behind the scenes, since most people aren't going to care about messing with bits.

For example, the WordPress JSON API I've been working on [0] uses them for HTTP methods. This lets me have an EDITABLE, which is actually just POST | PUT | PATCH. With the bit fields, a user can also indicate whether an endpoint expects JSON data and whether it should be hidden from indexes.

It's certainly possible to do all of this without bitmasks, but I personally think `EDITABLE | ACCEPT_JSON | HIDDEN_ENDPOINT` looks nicer than `array('methods' => array('POST', 'PUT', 'PATCH'), 'accept_json' => true, 'hidden' => true)`

[0]: https://gist.github.com/rmccue/5022591d312952d1245a#file-wp-...
Taxing Broadband to Save Journalism is One Big, Stupid Idea
Allen Stern, Web 2.0 Tech Blogging Pioneer, Passes Away
> The modern equivalent of a Linksys WRT54GL is the ASUS RT-N16

When I was in the market for something like that one or two years back, I was recommended a specific type of Buffalo Router [1]. While I see my particular model has been superceeded by newer ones, I still thought I'd mention it because:

1. It was recommended to me by someone who had been served it extremely well by it in the past. It has now served me extremely well for years. It will probably do you good as well.

2. It's OK to support more than the top 3 vendors in the world with your money. This leads to more competition, more diversity and better products.

3. Putting stock dd-wrt or openwrt on it can be done all in browser and doesn't seem to involve brick risking procedures like bootloader updates, like I see you may have to go through for the Asus router.

[1] http://www.amazon.co.uk/gp/product/B0028ACYEK
This is not correct anymore, according to D-Wave they do have a factoring algorithm now.
Google's WEBP reached 0.3.0 - Mozilla still unconvinced
It is true http://www.myopenrouter.com/ is their info page. They make it really easy to flash, and provide specs as well so they are well supported so you can use a different version, but it does ship with it too.
Funny, prior to 2001, most people would automatically assume that the answer to these questions are "of course not". Now, anyone who is paying attention would respond "most likely".

The fact that we are even asking these questions now is testament to the changes over the last decade-plus.
RTS = realtime strategy? Sorry I'm not up with the latest acronyms.
Registered, downloaded app, attempted to sync "This folder doesn't appear to be on a Mac disk - Please select a different folder". So, why is it not OK that I keep my pictures on my NAS ?
Oh, it is so tempting to port this to Go.
Seconded. Say 500gb or 300gb and tell me what i need to pay to use more.
Generally, front-end developers tend to earn less than back-end ones. Pick up some CS fields and explore and learn them until you get good at some of them.

The fact is, front-end developers are not that hard to replace, so you don't have much of a bargaining power there.

Try learning more about Algorithms, Security, Optimization, maybe even A.I (NLP, Data Mining, Machine Learning, etc.)
Where do you live? I keep hearing comments saying we are "required" to enter a pin in the UK, but we're not. If the chip fails you can swipe and sign.
This works until "everyone" takes your advice and switches to 5ghz.
It is quite well written and takes 2-3 minutes to read, if you find this piece too long, why are you browsing hacker news in the first place?

Seriously, I'm not sarcastic, I'm curious. Most of articles linked here seem to be longer.