skysight-inc/HackerNews huggingface dataset:
It's more descriptive, but somewhat incorrect.

The common definition of a process virtual machine is that it's an interpreter that can be written to that essentially emulates an OS environment, giving abstracted OS concepts and functionality. This aids with portability. Another concept of virtual machines in general is, for lack of a better term, sandboxing. You're limited to only the functionality that the VM provides.

C goes halfway with that. You generally don't need to care about most OS operations if you're using the standard library(which abstracts most OS calls), but you definitely do need to care about the underlying OS and architecture if you're doing much more than that. Also, simple C definition doesn't allow for threads or IPC, both of which are provided by the POSIX libraries. You're also allowed to directly access the ABI and underlying OS calls through C.

The best example of C not really having a VM is endianness. If C had a "true" virtual machine, the programmer really shouldn't need to be aware of this. But everyone that's written network code on x86 platforms in C knows that you need to keep it in mind. Network byte order is big endian, but x86 is little endian, so you need to translate everything before it hits the network.

EDIT: I think LLVM is somewhat of a red herring in this context. Realistically, unless you're writing straight assembly, there's nothing stopping anyone from writing a VM-based implementation for any language. The problem with C and the other mid to low level languages is that if you're writing the VM, you need to provide a machine that not only works with the underlying computational model, but also provide abstractions for all the additional OS-level functionality that people use.

So C could definitely become a VM-based language, especially if the intermediate form is flexible enough.
I think it's a great proposal and interesting experiment. Kudos. Hoping some notable result from it.
Amazon now has Cloud Player Premium[1], which is very similar to iTunes Match.

"Import your music collection - even music purchased from iTunes or ripped from CDs. All imported songs we match are instantly made available in Cloud Player and upgraded to high-quality 256 Kbps audio."

[1]: http://www.amazon.com/b?ie=UTF8&node=2658409011
Best Apps For The Car In Ford’s Sync AppLink
I don't think, that the question "Which Lisp should I use: Clojure or Common Lisp?" is quite correct. As they are really so different in very basic concepts: mutable vs immutable, OO vs non-OO, bootstrapped vs JVM-based, and the list can go on and on. This question is of the same sort of "Should I use Lisp (I mean Common Lisp) or Python?" And it can be reduced t "Which dynamic language should I use?" Or "Should I use Lisp or Java?" - "Which memory-managed system programming language should I use?" Likewise "Should I use Lisp or Clojure?" can be reduced to "Which s-expression based language should I use?"
I wish there was something in between 20s and 60m. When I'm doing image editing, I don't want f.lux messing with colors, but I might not notice if I have it on 60m.... 2m would be better for me than 20s.
The Truth Behind '40 Acres and a Mule'
Target or not, that's what I am and I've been using Gimp for all my photo work for over 10 years.
f.lux caused my mouse to randomly jump on OS X. It didn't seem to matter how fast I'd move it, every 10s or so it would jump 1" in the direction I was moving. Really, really annoying.
Well, what I posted wouldn't be in a tidy codebase. You'd have something like:

// foo.h
typedef std::map<std::string, std::vector<std::string>> StringToVectorString;

// foo.cpp
// in several places you can just use:
StringToVectorString foo;
Agreed. Life is full of risk vs returns decisions.

Employment - Low Risk, Low Returns

Startup - High Risk, High Returns

I love how this preposition is somewhere in the middle.
I might actually apply to this one. Has anyone gone through this program who can vouch for it?
> I would also consider vesting for both of you, keeps things honest.

For those of us who are complete neophytes at things like this, would you be willing to elaborate on what this means, and why it's important?
Getting started with Salt, remote execution&configuration mgmt in python
What the JOBS Act Means to Startups
Focus on getting a job OR starting the business. You can't really do both at once.
A slightly more productive way to phrase it would be like this:

1. Do you have the time and patience to use more brain? yes: 2; no: 3

2. Use more brain; goto 1

3. Do best idea so far; hope
"Virtual machine" in this context refers to the computation model of the language. In C, that model is essentially a single-CPU machine with a big memory space that can be accessed with pointers (including a possibly disjoint memory space for program code).

Other models are possible; for example, lambda calculus and combinator logic are based on a model where computation is performed by reducing expressions, without any big memory space and without pointers. Prolog is based on a model where computation is performed by answering a query based on a database of rules. These are all "virtual machines" -- the realization of these computation models is based on compiling a program for a specific machine. It is not different with C; C just happens to use a model that is very similar to the real machine that a program executes on (but it is not necessarily identical e.g. you probably do not have so much ram that any 64-bit pointer would correspond to a real address on your machine).
> It's huge ... no noticeable benefit

> WAV would be much better
+ Vidyard !
Thanks, I had not heard about that before. Although a little sad, as I know a lot of casual users using it right now (even including some young kids). But I guess at least the "Creating Original Art" can be seen as targeting people like game developers.
I take significant issue with this paragraph:

When you write something to be fast in C, you know why
it's fast, and it doesn't degrade significantly with
different compilers or environments the way different
VMs will, the way GC settings can radically affect
performance and pauses, or the way interaction of one
piece of code in an application will totally change
the garbage collection profile for the rest.

The implementation of malloc & free that your C implementation uses significantly impacts performance (both time and space) just like the choice of GC implementation in other languages. It is not uncommon for memory fragmentation to be a serious problem for large or long-running C programs, and at the point that you have to start worrying about that and working around it, you've broken the abstraction in just the same way that the author complains about for Java, Erlang, Haskell, etc.

Also, as others have pointed out, performance can also depend significantly on how well C's machine model maps to the actual machine architecture you're running on.
Well it comes down to deciding on avoiding race conditions vs bad opcode generation, I guess.

Maybe the solution is to use php 5.4 if it makes better silence code but I am having a hard time letting go of suhosin.
Am I the only one thinking this site's font is like a bleeding unreadable inkjet print?
I applied for this a few days ago. I hope I get in because I am not having any luck in the job department. Read that they are only taking 10 people.
SOAP is dead! Long live REST!
C doesn't care for fancy terms like VM, multicore, threads, ... But you can always make libary and implement what you need. This approach has advantages, for example you can share memory pages between processes, because that kind of stuff are part of hardware/OS, not C language. It would be stupid to implement it directly in C language. You will now say that it is reason why C is bad, i say it is reason why C is so popular all these years.
Getting new developers productive on day one
Economically successful countries have lower birth rates. Want to decrease birth rates? Help the 3rd World become economically successful.
It is very impressive the extent Quora helped increase volumes of traffic to your site, minimize bounce rates, and maximize user sign-ups. This read was the perfect combination of humor and information.
That's a fair argument, but "accuracy" isn't really the right word. Because then you'd have to deal with the fact that the color gamut from a 1982 NTSC TV is different from your LCD. Similarly I've never seen a good simulation of interlace flicker (not an issue on the NES though -- it didn't interlace) on a LCD either. The impedance mismatch between a NES controller and a modern keyboard alone is much higher than that beteween a "naive" simulation and the one in that article.

And if you want to go down the "elaborate" road, there are even niftier projects out there like the Javascript transistor-level simulation of a 6502.

There's always room to spend cycles. But simulating a 1980's computer to the level of precision required by "correct user experience" is a straightforward engineering task these days that doesn't require anything more than "just plain code."
Don't use mysql_*. Says so right in the docs. PDO can be used with try/catch.
We'll have 20 students in the first bootcamp.
I heard an urban myth the other day that the cash-counting noises are fake and are computer generated to cover the time it takes the ATM to communicate with the mainframe.

I spoke to our ATM dev and test team here, and they told me this is not true.
Don't know why you expected anything else from them.

It's Google
C99 includes restricted pointers, but support is a bit spotty. Microsoft's compiler (which is of course really just a C++ compiler) includes it as a nonstandard keyword, too.

http://en.wikipedia.org/wiki/Restrict
The big problem I have with this is that the 50-50 split gives hmexx too much control.

With this 50-50 split who decides the future direction of the project.

After the MVP is ready there is still a lot of coding required to make it a successful business, you need the developer to be fully committed to the project. Losing 50% stake this early is not that much motivation. Unless the new partner brings specific skills to the table that the business can't survive without.

It's better to take a small stake like 15% and just choose a project very selectively.
Tried it 2 or so years ago, had same issues mentioned by others, discovered redshift, been working perfectly since. Maybe flux is good now too, don't know.
I'm talking about married couple, adultery here. Wasn't marriage a "legal contract"?

Yep. The wife broke her marriage contract. The other guy was not party to the contract and thus did nothing illegal (except in places with backward definitions of adultery). Doesn't mean he wasn't a jerk for emotionally harming his mentor.
"it is still the most practical language"

Only in extremely limited contexts: low-level code for operating systems that happened to have been written in C. Otherwise, there is a better language for pretty much every use-case of C.
> You're not worrying about how many registers your CPU has

But you need to worry about size of registers. How many modern languages have basic data types without strictly defined sizes?
Browse Amazon, Randomly
Rails API - my simple approach
That's right! Completely forgot about the cast.
@operator is much faster in 5.4.x

$x = @$f["x"] is right place to use it.

$x = @custom_func() - is a disaster, do not do it
Thanks Marc. I will give it a shot. e.g. "look for questions that are relevant to the problems we are trying to solve, and answer to the best of my abilities." I'm curious how much actual traffic this created and also if Quora is better suited for your business vs. others...
> Wouldn't that imply that a variable of one type could be coerced into another type?

Yup! It's quite common to cast things from a void * to a more specific one. You do it every time you call malloc.
I like this..sort of a mini Jason Calacanis Launch
Good development.
I don't know if I am a target user, but I "photoshopped" my LinkedIn photo (removed some stuff from the background, touched up my hair, made it black and white) with it. Worked well, and a I didn't want to buy a Photoshop license to do it.
well it does get the point across. Should he also edit out the one with a person with higher than average body fat, so that we don't risk upsetting any people with higher than average body fat?
Darn. I should've posted this NY Times article instead:

http://www.nytimes.com/2013/01/10/health/americans-under-50-...

It provides a little more detail.
If so, that's very good news for this service.
I don't know how they pulled it off, but I like that they did. Things like this make the music industry more flexible over time, and is only better for us consumers.

I agree though - I had the same thing happen to me when I logged in today (some music that I bought for others on CD is now "mine" in my cloud library). I also got a bunch more stuff that I had bought for myself though, so overall, I'm happy with it.
It doesn't need to. iTunes Match doesn't care about where you purchased your CDs. If you want to continue buying CDs at Amazon, that's fine. Rip them in iTunes, and iTunes Match will keep them in the cloud.
Here's the thing: The English language is polysemous. Computer science jargon even more so.

Meaning that any particular term can often have many gradations of meaning. So "X means Y" does not necessarily imply "X does not mean Z". Especially when Y and Z are similar concepts.

I suppose we could lament the inherent ambiguity of the jargon, but the truth is that for the most part problems only result when ambiguous language is used in combination with an argumentative person armed with equal measures of pedantic zeal and failure to grasp the fundamental characteristics of natural language. Without that element, for the most part any reasonably knowledgeable person should be able to figure out which of the particular meanings is at play from context. For example, even though the term "high level language" is used in multiple ways, the statement "C is not a high level language" is not all that ambiguous, even when considered in isolation. As long as you're willing to grant that the person making the statement is not an idiot, then it's trivial to determine that they weren't using the "everything but machine and assembly language" definition.
GameStick's Kickstarter pulled for IP dispute
Well there's also a better way on it way for managing Bi-polar than using Lithium.

http://www.ox.ac.uk/media/news_stories/2013/130108.html
Web Apps aren't allowed on Kickstarter per their guidelines
http://www.kickstarter.com/help/guidelines

"As in all categories, Kickstarter is for projects that can be completed, not things that require maintenance to exist. This means no e-commerce sites, web businesses, or social networking sites. (Yes, this means Kickstarter wouldn’t be allowed on Kickstarter. Funny, but true.)"
It's more the case that the numbers and the mental picture are the same thing. When I manage that kind of insight (rarely) that's what it's like anyway.
I've tried f.lux and while it's great for ios devices(if jailbroken), the colors seem to come out weird in most situations.

What I use now is a Chrome extension called "Hacker Vision" and I highly recommend it to anyone reading this. It flips the colors of websites so you get a white text on a dark background. It's really great in a dark room or sitting next to someone at night AND I can turn my MacBook Air's backlight down to 2 and read everything clearly; that resulted in an extra 30-40minutes of battery life!

Here's the link: https://chrome.google.com/webstore/detail/hacker-vision/fomm...
Ode to a Flower
So the obvious solution seems to fix this world while we can, so we can retire and leave something better for our heirs.

I find this distress motivational.
Congrats guys! As a 2010 UW Mechatronics grad it is always awesome to read about someone from the program doing something amazing!
Pointer aliasing can cause additional problems with today's multiple dispatch CPUs, which are nothing like the CPUs of the 80s. Because pointer aliasing ties the compiler's hands, compilers may have trouble reordering code to maximize a single core's instruction level parallelism.
It turns reddish gradually, so I don't really notice it. If I disable it at night, the sudden blueness hurts for a second, which implies there's some benefit to being redder.
Top Five Headsets: Pick Of The Best
Thinking About Monetization
Hey all, I was an early eng at Votizen, now coming up to speed w/ Causes. I'm happy to answer any questions you have.
Wearing a bra will actually make your boobs sag faster, not the other way around. It's a very common misconception among women, though, who apparently can't be bothered to look these things up before shoving "advice" down your throat that "everyone knows" is correct.

http://en.wikipedia.org/wiki/Ptosis_%28breasts%29#Bras_don.2...
My concern with the approach is that it doesn't seem very lean. An idea that a developer has kicking around isn't necessarily one that has a market. I'd suggest getting involved early on the product development side and getting out and talking to customers.

Articulated market needs are much more valuable than just an idea... Nathan Barry had a nice post on HN the other day having to do with this: http://nathanbarry.com/finding-ideas-project/

Business Model Generation (http://www.businessmodelgeneration.com/book) is a helpful resource as well.
First off, I love this idea and don't listen to the naysayers.

Second, I would strongly recommend getting a lawyer to draft up some sort of agreement that specifies what happens if the project isn't up to spec, etc. It would essentially be a basic contract. I know there's always the temptation to say "well the legal costs would be too much to enforce it" but that's not always the case. This is garden variety stuff here. You don't need to protect every scenario to provide some value to yourself.
Awful website. Completely unnecessary design over substance, I couldn't even change the URL to get away, I had to close the tab.
That's what I was thinking - I bet it's why he decided to open-source it. Good decision :)

Nice work, I'll be looking through the source for sure.
Good. I still have 3-6 months of work to do for a customer, but after I'll get back to you if you still pursue this aventure.
Thank you, I was looking for one and thinking of buying a yubikey as well.
Well that is how memory, the hardware we have and also all normal operating systems work, but if you want to discuss other stuff we can do that too :) Try serious debugging and you will find that all your preconceptions are confirmed, yet it's still hard to know WTF is going on.
Oh, yeah, definitely, I wish everything was as easy as "pip install". On the other hand, I can sympathize with nothing working on macs. This is because the environment plain sucks.

All the installed tools and libraries are old as hell and rarely get updated, and it's riddled with quirks and tools that are subtly different on osx. I hear it's gotten better with Mountain Lion.

Thank god for homebrew.
> and he also happens to reconnect with his wife who had separated with him, but now realizes that he was distant only because it kept them safe

My favorite aspect of the action hero that is divorced. It's not because he did anything _bad_, he just wasn't around enough.

See also: action hero that has to go to jail because he killed a guy, but it was actually only in self defense.
The N95 and the iPhone were both released in 2007, 3 months apart.

http://en.wikipedia.org/wiki/Nokia_n95

http://en.wikipedia.org/wiki/IPhone_(1st_generation)
For me it's not the split, or the lower rate vs what I'd normally earn. But I'm like you in that I can't just ditch existing clients for a couple of months and expect them to be there when I get back should this not work out.
IBM's Watson Memorized 'Urban Dictionary,' Then His Overlords Had to Delete It
Russian researcher found 0day vulnerability on Firefox 18 and Opera 12.12
I liked the idea. How long will you keep the offer up?
I'm currently moving to a new place and won't have time to do it right now, but would love to accept the offer in about two months.
Eh, permission escalation? It was basically a memcpy into kernel space.

And thats just the first suitable syscall they found. They fuzz tested a bunch of them and dozens produced crashes worth pursuing. Of 173 syscalls tested, 60 produced kernel panics.
Those people would be wrong. When buy-in occurs at the library level, then the de-facto response is to fall back to the lowest common denominator, whatever that happens to be. In a language with standard containers, that lowest common denominator is a reasonable floor. Having containers in the standard library has basically zero downside aside from some perceived conceptual elegance. People who need custom containers can always define their own. People who just need to get a string from point A to point B, where A and B are libraries written by different people, can easily do so by falling back to the standard containers.
Oh, no, I don't think he was making anything up. I'm just questioning the accuracy of his perceptions. The phrase that really drives that is when he interprets the "partner?" question as being interrogated within his own home.

If you come by my house and asked if I have Black Ops II, I wouldn't relate the story and be like "ianstormtaylor interrogated me in my own home about an XBox game." I would only use that type of phrasing if you'd come by and started asking questions that had some type of accusatory loading.
The US is at or very near the worst among OECD countries in: infant mortality, child poverty, child health and safety, life expectancy at birth, healthy life expectancy, rate of obesity, disability-adjusted life years, doctors per 1000 people, deaths from treatable conditions, rate of mental health disorders, rate of drug abuse, rate of prescription drug use, incarceration rate, rate of assaults, rate of homicides, income inequality, wealth inequality, and economic mobility.
C does not require the presentation of memory as a "giant array of bytes"---certainly when you have a pointer, it points to an array of bytes (or rather, a contiguous array of items of the pointer type) but that's about it. The stack does not have to start high and grown down (in fact, the Linux man page for clone() states that the stack on the HP PA architecture grows upward) and the heap doesn't necessarily start low and grow up (mmap() for instance).

You are also confusing multitasking/multiprocessing with C. C has no such concept (well, C11 might, I haven't looked fully into it) and on some systems (like plenty of systems in the 80s) only one program runs at a time. The fact that two "programs" both have a pointer to 0x3A4B7E that reference two physically different locations in memory is an operating system abstraction, not a C abstraction.
I used to do this. But then I realized I would be importing all symbols from std into my code. Including ones that might get defined in the future (similar to python's 'from foo import *'), which might conflict with some of my own symbols.

Hence, I now implicitly import each symbol I need with something like 'using std::map;' (similar to python's 'from foo import bar, bar2').

I've found that the 'using' statement can be used even inside a function to restrict the importation to just a single function.

FYI.
for those prices, I might as well buy a VPS :P
I'd need the professional which is $100/month. There is better pricing out there for that amount!
The company I work for made Java applets (specifically online games) until very recently.

To interact with the danish government online (say because you want to update your tax records) you have to login -- with a java applet.

That also means you can't do it from your phone.

Yeah, Java is still used in plenty of places, and yes Chrome still support it.