skysight-inc/HackerNews huggingface dataset:
FWIW, inspecting the LLVM IR of `clang -O3`, I get the equivalent of the following:

#include <stdio.h>
#include <stdlib.h>

int main() {
int *p = (int*)malloc(sizeof(int));
int *q = (int*)reallocf(p, sizeof(int));
if (p == q) {
*q = 2;
printf("%d %d\n", 2, 2);
}
return 0;
}

Note how it removed the write to p and removed the read of the pointer value.

Here what it's done is assumed that because p == q, that means they alias, and therefore the write to p will be overwritten by the write to q, and that it doesn't have to read the value again to know what will be printed.

So the optimization here seems to be proceeding under the assumption that realloc() does not necessarily invalidate the pointer. And it behaves the same way with reallocf() as well.
Running Cassandra inside Docker
I want to use Xamarin like http://www.remobjects.com/elements/hydrogene/ remobjects c# works.

(Well, I guess I'd prefer to use it in F# too).

How well does it work to ignore the .Net parts and just use the nice IDE/Packaging/Not java story?
isn't in the US also possible to live without an ID card?
I don't think he was saying he couldn't pay because he couldn't afford to pay, I think he was saying he couldn't pay because he doesn't have the option of paying with the economic sanctions against Iran.
credit checks to guess your likelihood of on time bill payment
I've been doing basically the same thing by creating src/ and pkg/ directories and using this alias:

go='GOPATH=`pwd`:$GOPATH go'
Google Hangouts without plugins using WebRTC
The same way Adobe was well positioned to coming up with a product in the same category.

Photo editing is bitmap editing, and Pixelmator is well positioned to implement the non-destructive property.

By virtue of being OSX-only, they can abstract out the trickiness of RAW conversion (something Adobe must heavily invest in by virtue of being cross-platform), and rely on Apple's very good implementations instead. (side note: Apple is sometimes faster to implement RAW demosaicing support than Adobe itself).

This simplifies the problem to purely that of bitmap editing. It's important to note that unlike Lightroom, Pixelmator is already hardware accelerated from top to bottom, this allows real-time rendering of the entire edit stack on top of the unaltered original data, potentially giving us much more responsive feedback as users (sliding a slider and having it respond with much less lag than Lightroom, for example).
> Should I just star the project anyway to get the donation to happen?

Yes. Stars already don't matter :) Stars mean visibility, but are a really poor metric for legitimacy.
The Supermen: Fictional Characters in Generic Databases
TACK is supposed to be a backwards-compatible standard, Convergence is a replacement.
"And companies selling their securities are required to disclose important adverse facts about their business to prospective buyers."

Does this include prospective employee stock options? It would be great to know that startups seeking to hire me have a legal obligation to tell me about financial troubles.
Does the optimization performed on `unwitting` require the compiler to determine that `ring_bell` will return (as opposed to calling `exit`) or is there something in the spec that allows it to assume that functions return?
Trakt syncing would be great for this. http://trakt.tv/api-docs :)
I would think 1 student-employee per school could do it. You're only going to get 20-100 advertisers per school.
1) Setting up a development environment and understanding how and why it worked.

2) Co-Founders were my mentors
"Optimism is often dismissed as false hope. But there is also false hopelessness."

A poetic touch from a tech genius of our generation.
In the UK, you are now legally required to check the immigration status of your tenants: http://www.rics.org/uk/knowledge/news-insight/comment/landlo...

However, there isn't a national identity card scheme, so this will probably be messy.
Raw DNG is no more a standard for sensor data than MKV is a standard for video encoding.

In other words, raw (as opposed to linear) DNG is basically a container format for sensor data and related metadata. So even assuming Adobe's DNG converter perfectly supports your camera, you still need code to handle its underlying sensor data format (your Bayer demosaicing code won't be much help in processing data from, e.g., a Foveon sensor) and whatever mandatory image correction it requires (e.g., many cameras and lenses rely on software correction driven by camera- or lens-supplied metadata, and will yield heavily distorted images if this correction is skipped).

In other words, until camera development stagnates, raw processing is a moving target by its very nature.

With that said, AFAIK, Aperture uses public OS X APIs for raw support, so potential Aperture replacements on OS X can get up-to-date raw support "for free". Given that Photos will support camera raw, this announcement gives me no reason to believe Apple won't continue to add support for new cameras in future OS X updates. Which is not to say Apple will support as many cameras as Adobe, of course — I'm pretty sure they already don't — or that support for new high-end (think $20K+ medium-format, not Nikon DSLR) camera support will decline now that no first-party professional software requires it.
Actually I think that's the point of the speech. A lot of folks (not just college grads) aren't aware of how lucky they are and are perhaps even more unaware that they have the ability to do anything.
Your reply makes no sense. It's like you didn't read anything I said in pointing out that sending to a Bitcoin address is simple, easy to understand, easy to use, and secure, while its main disadvantage is using a tiny amount of space which would require enormous increase in the use of timestamping to make any meaningful difference to full nodes.
FYI:

for i, v := range array

will give you the indexes and values. If you just want the values then use "_" in place of i to "throwaway" the index.

http://play.golang.org/p/JZZ40FMOMz
I'd argue this is the "Clueless" deal in the Gervais model. Losers are fully aware that they have struck a bad and unequal economic bargain with their employer, they just don't care. They will happily go elsewhere if a better bargain comes along.

It's the Clueless who believe that their loyalty to their employer is matched by their employer's loyalty to them (hence, "clueless"). They're the ones who stick with the firm, rise into middle management, diligently play the company line, and then get abruptly disillusioned when the firm institutes mass layoffs.
"I'm certainly not going to send my daughter to an inner-city public school to make a point."

My own actions in that area are pretty hypocritical - not being from a wealthy background I was always fairly against private education. Then it came to the point where we could send our son to private school (this was at age 3) and we could afford it and the place was utterly gorgeous with fantastic staff and facilities - I never considered not sending him, not for a moment.

Now 12 years later it's clear to me that his education was worth every penny. But I know it's unfair - he's there because his mother and I can pay for it and a part of me wishes that all kids got the same opportunities.
Jumping on this comment because HN won't allow me to respond to a prior comment of yours (link: https://news.ycombinator.com/item?id=7878923):

> how can you have a current in a single wire without a loop?

There are ions always wandering around in the ionosphere - the ionosphere is partly-ionized plasma. Low-density, but there. When you have a generator that produces an electric potential bias across the top/bottom of the craft, you end up with electrons being emitted into space from and positive ions being attracted to the side biased negative, and electrons in the ionosphere being attracted to the side biased positive. Effectively: the plasma completes the circuit. There are bunches of additional optimizations (electron guns, etc) but that's the basic idea.
Redesign of the 24h old Soundcloud Mobile App
You could put your idea on kickstarter. It may help you bridge the gap until you can hire more help with your own resources. Or hire virtually to make sales in each of the target states and pay on a commission base for closed deals.
Sexist lightning?: 8 out of 10 killed are men
set -x GOPATH (PWD)/.vendor
set -x GOBIN (PWD)/.vendor/bin

And committing stuff in git when it matters.

gvm is also nice for testing stuff with different versions of go.
"in over a decade, no security breaches have been reported"

False! If someone has access to your Estonian ID card for about 11.5 hours or 27 hours (depending if the card uses 1024-bit or 2048-bit RSA keys), he can decrypt documents or forge e-signatures, even without knowing your PIN code: https://eprint.iacr.org/2012/417.pdf

More tech details about the card: https://www.opensc-project.org/opensc/wiki/EstonianEid
Maybe in the past few months you never transacted with your Country's public administration. I have, and I would like very much to do 90% of those interactions online, without having to personal relay information from one part of the administration to another part.
I've read two books on this and my current favored solution to the Paradox is Supernovae and/or Gamma Ray Bursts. Particularly GRB as they have to ability to sterilize whole galaxies. There is a possibility even Earth has already faced one 440m years ago.

http://www.youtube.com/watch?v=7HIokbQMHB8
1) I would say the amount of options of programming languages and types of development there are out there.

2) No resources in particular stand out to me, though I think books were way more useful early on than blog posts or tutorials. I think it's the linear nature of books that really helped me.

My advice would be to pick one medium (web, iOS, Android, whatever) and one language (for me that was Ruby) and stick to that language only for at least a year.

Other advice would be to always be inquisitive. Though I didn't get a degree, I eventually went on to learn about operating systems, sockets, basic algorithms and data structures.

However, in my opinion getting a CS degree would be frustrating if I were to do it all over again. Learning all that implementation detail and a lot of schools not even pushing or requiring you to build things would really frustrate me.
I don't think the compiler is supposed to treat an entire function behavior as undefined just because a pointer was dereferenced without checking for NULL. The array indexing example may be valid, but the second one is probably not. It is possible to have a pointer to zero, and failing to check for that condition should not cause the compiler to assume the pointer is non-zero in subsequent lines of code.
That's funny, but I realize you probably didn't mean it to be.

the old "SAM" (Sequential Access Method) libraries talked to tape, and "DASD" (Direct Access Storage Devices) were what you and I would call a hard drive.

Think 'relative seek time' on a tape seeking to the correct block can take minutes, on disks it generally takes milliseconds. Both of them are accessed sequentially once you seek to the correct block, and that was the point of the article. Relative to seek time, disk reads are taking longer (a consequence of one physical head serving more potential bits).

I tried to get Seagate to put two independent R/W heads in a disk once. They wouldn't go for it.

Back to your comment though "RAM" as in Random Access Memory is often distinguished from Hard Drives, especially in early computer science classes to point out the differences. And again what this article is saying is that even dynamic RAM today, looks more like an I/O device than memory.

In the early 2000's at NetApp, one of the performance engineers managed to track down the performance limiter on Pentium 4's to the frontside bus memory controller. The FSB could only issue so many memory transactions per second, and the P4 had doubled the length of a cache line (that improved streaming performance at the expense of everything else). The tricky bit was that the chip reported CPU 100% busy, but in reality it was the memory controller that was busy, not the CPU.
There's no unified ID card system in the first place. Usually state driver's licenses fill that role, but obviously not everybody has one of those.
the problem to solve here is that for each government service you get a different account.

One for the entity managing your retirement funds, one for the national healthcare, one for the tax filing, one for requesting a certificate etc, one for filing a request with the police etc, one for the city council services, one for the district, one for the region, one for the university, one for the separate agency that manages scholarships etc.

I am, honestly, listing the ones I had to cope with.
In my country, each entity manages their own system, with different bugs, varying level of security and screw ups, incompatible data, delays of up to two weeks to receive a PIN when signing up for a new service and the occasional "wait, you are not supposed to exist" moments.

I'd take a unified, compatible multifactor auth system like the estonian one every day. Heck, there was even an OpenID bridge some years ago!

EDIT: it's still up apparently

https://openid.ee/en/
I do have a CS degree, but I first learned to code in high school. I was taught by a friend of mine who already had pretty significant programming chops even at 16. I think his father invented YAML. We did our programming on PCs that we built in the classroom and installed Ubuntu on.

Anyway, I remember the hardest part for me was wrapping my mind around Ruby blocks. It sounds kind of dumb but honestly I couldn't understand them for weeks. The first programs I wrote were those text-based adventure games, like, "You're on a path in a forest. What do you do? > Go left". I did those because you didn't need to ever use blocks for them, it was all just conditional logic.

Once I grokked Ruby blocks I feel like it has all been downhill from there, at least until I stated looking at Haskell...
The idea and how well it's executed (functionality and design of end product)
Marketing Must Build a Product
It's real hard
I didn't learn anything useful from my CS degree. Literally nothing. Even things like compiler design and operating system concepts were more basic than I had already studied. However if you go into a purely academic area, like AI, it might be useful to you (particularly the high level maths).

As far as resources: Really depends on the topic.

You can watch lectures for an entire CS degree for free online via places like UC Berkeley. There are also paid video stuff at places like Pluralsight (coding), CBTNuggets (server management), and as you said even YouTube has the good video now and again.

I just google whatever I need as I need it. It isn't a very formal way of learning but it is an effective one. The only trick is not to skip doing things because you don't already know how to do them.
MapTiming – About developing a web app that adds time to maps
MapTiming is an app (under development) for sharing event data on a map. Let’s see how make it successfull…
I have no real advice here, I just have to say your site is beautiful and well done. Congrats.
Is it legal to lie to get around paywalls?
That does not change the spirit of my comment.

If your server requires SSL due to security reasons, and you are not capable of using SSL for one reason or another, then I'd rather you don't run that server at all.

Besides, if it's not an cost-prohibitive problem, but rather one can't get an SSL cert due to sanctions, etc... well, that argument doesn't hold water either. Not every country holds sanctions against Iran for example. You may not be able to get an SSL cert from a USA company, but there are many other countries who have CA's available that probably have no sanctions.

In the end, security is not a joke. If your server requires itself to be secure, you'd better do it.
Not the best example, but the OSX calculator app seems to have this.
I got this Cease and Desist for scraping someone's site
On second thought, yeah. Losers are strategic enough that they would be appalled to think that they had a "relationship" with their employer.
The funny thing is that I knew it, but wrote `for v := range array` anyway at least a few times! My point is, it's not very intuitive. Thankfully, the compiler catches that, unless it's `[]int`.
It's not just the function that becomes undefined, it's the entire program. There's literally nothing that the compiler is supposed to do following undefined behavior.
> Just as framed oils on canvas have a desired display in galleries that has been refined over centuries, music has a pinnacle presentation, and it does not include headphones.

It's actually quite recent (~100 years) to have framed oil on canvas in galleries for people to look at them.
The copy of Lightroom you have right now isn't going to suddenly stop working, even if the next version becomes part of CC. If somehow it does fail to do the job for you in the future, you can switch to DarkTable, RawTherapee, CaptureOne, or any number of other programs.
I want to join, but I don't have a group.

If anyone wants to be in a group with me, you can add me with eli0s"at"live.com.
You're welcome. In case you want to try the Opera Mini trick: I've just looked and found that the latest version I got to run was opera-mini-4.4.31891-advanced-en.jar. Google the version number for downloads. To run it get Microemulator and execute

java -jar microemulator.jar opera-mini-4.4.31891-advanced-en.jad

Sorry for the mixed up sentences in my previous comment. I posted and then edited it in-between things and didn't notice the mistakes until too late.
Six clicks: History of supercomputers--fast, faster, fastest
Without doing any other research this article seems like a total whitewash. It doesn't discuss any existing or potential problems with such a scheme. The author isn't listed which makes me question whether they either know nothing about technology, privacy, or have conflicts of interest.
Should we have teams in mind, or just plan to form one when we get there?
I'm thinking the same thing.
Lightroom isn't the only game in town. Both CaptureOne from PhaseOne and DxO's Optics Pro handle raw files better than ACR. Bibble also still exists in the guise of Corel After Shot. There are a few decent OSS options too. it looks like Apple are incorporating the Aperture toolset into the new photo app, so it's not necessarily the end of the world.
Follow-up article: "When is it Legal to Just Google Around a Paywall?"
The Battle for All the Photos
The round-9 techempower benchmark shows Dart as very impressive in its "Multiple Queries" runs. However, the json serialization not so much. Is there something in the works to speed this up or technical reasons it does not shine here?
Also, what are the plans for speeding up regular expresssions?
I'm a big hip hop head and I applaud Wu-Tang and especially RZA for being one of the most innovative minds in rap. His book The Tao of Wu was excellent, I highly recommend it.

Aside from all the commentary on his intent with this, I have a simple question: do we think they can actually keep this album from being leaked? I know they're talking about making users use special headphones etc, but when push comes to shove, can't someone figure out a way to cheat this? Super tiny microphones that could record from inside the ear or something? Fake ear, if I'm coming up with crazy possibilities?

Like anything that claims extreme security, it begs someone to go to extremes to break it. Will they succeed? I kind of think someone will.
Lowenstein's View: 'Wi-Fi First' – What still needs to happen
Which, if you've read dmor's other stuff is exactly why she does what she does. Taking open sources and evaluating VC performance to understand who are 'crushing it' and who really isn't.
It's very easy for me to make a single in-band communication with my government (show up one day, show that I'm me) and establish login credentials proving that I'm me. I see no advantage to a general online identification system that goes beyond that.
As Arelius mentioned, it is more performant to just keep an array of alive objects as you're only touching memory that needs to be touched. That said, however, bitvictors/bitsets are incredibly useful if you have no easy or clean way of separating variations of objects.

An example would be "scene-graphs" in my game engine. Ostensibly they are stored as components (but my game engine doesn't have components) which are accessed by an unique identifier via an indirection table. Something like Bitsquid.[0]

Like Bitsquid, my "scene-graphs" can be linked to other "scene-graphs." This allows me to "glue" weapons to character's hands or armour to their torsos. This means I have "scene-graphs" that can be updated (nodes repositioned) in parallel (as they have no data dependencies) and others that cannot (linked "scene-graphs"). For performance reasons, I identify which "scene-graphs" can be updated in parallel, so I can kick them off to appropriate tasks which satisfy their data-dependencies. Thus enters the bitvector/bitset because copying my "scene-graphs" around and then adjusting other "scene-graphs" pointers (that point to the moved "scene-graph") when linking or unlinking results in a complete iteration (once if you batch) over all the "scene-graphs," or some form of indirection (some with memory fragmentation too!). Not to mention such approach complicates the code for handling "scene-graphs" a lot. Beyond that, I have to sort my "scene-graphs" (pointer list) by link depth when updating, so I don't update children before their parents, and the like. It's messy, but bitvectors/bitsets are a great solution.

I am experimenting with other methods to manage linked "scene-graphs" which fall under a split (linked/unlinked) array method, but I don't have anything yet, especially when I consider that I get a free iteration over all scene-graphs anyways (which hides a lot of the cost of the current method).

[0]: http://bitsquid.blogspot.ca/2011/09/managing-decoupling-part...

Edit: And I completely forgot to mention the performance concerns of having multiple cores touch the same memory: irregular stalls!
Ah, my condolences to you
No CS degree here, currently working as Senior Front-end developer after 5+ years in the field.

1) I found it most frustrating to try and choose between learning what's the most popular new technology and what would help me advance my career. It turns out, focusing on mastering the basics of HTML, CSS, and Javascript have gotten me much further than trying to jump on every new bandwagon that rolls by.

2) Honestly, the single greatest resource has been my side projects. All of the tutorials, training and learning from Google have been far surpassed by the amount of knowledge I've gained from sitting down and hacking on ideas. I seriously have had 1million side projects in my 5 years and each of them has been a challenge and an amazing learning experience.

Hope that helps
Top designers react to Google’s new ‘Material’ design language
I don't know. Social Security Numbers (SSN) we have are a national ID number in pretty much everything but name. And even though they are explicitly not supposed to be used as identification (it says so on the card), that's how it's used 99% in practice.
keep it up. How many good ideas started as a result of a fun hack