Better HN
topnewbestaskshowjobs
Log inSign up

aninteger

915 karma · joined Jun 9, 2011 (15y ago) · 403 submissions

Submissions

comment 11y ago · link · parent

I have. The project is an event based http server and client. Mostly I work with libevent, redis, and openssl. We don't build our software on Windows so we don't have to worry about the limitations on that platform (non-POSIX mostly).

comment 11y ago · link · parent

It's certainly not "official" but we already have Wine and Mono. I understand that they don't promise write once run anywhere but the support is pretty good. For awhile it was one of the only ways to get Netflix working on Linux based platforms.

comment 11y ago · link · parent

This is really neat, but I actually wonder if we aren't trying to solve a mostly solved problem.

As a C programmer, yes, sometimes you forget to free memory that you've allocated, but then you run valgrind or some other leak checking tool and the problem is solved. When you add all these compiler specific attributes and introduce a lot of preprocessor macros I think you are creating a situation where you've created code that is easier to write, but potentially harder to read as there is now a lot more abstraction that a programmer has to wade through (assuming they need to debug that abstraction and not just trust that it just works). Now, if you're using a leak checker you can save that abstraction and switch back to using the standard free(3) library call and then 100% of C programmers will be able to follow the code.

comment 11y ago · link · parent

Impressive. Have you worked with xcb in the past? I think the lack of good tutorials and documentation makes me always choose to start new projects with xlib. How would you compare working with xlib vs xcb?

comment 12y ago · link · parent

Maybe they didn't go anywhere? I honestly believe the rate has been a steady 15-20% for the past 30-40 years. It's possible women had degrees in computer science but then pursued careers as system analysts, data entry, QA, "web masters" or IT. None of these are pure software development positions, but maybe they were classified as that in the 80's.

comment 12y ago · link · parent

The page indicates that JamVM can run on the PowerPC platform yet it requires GNU Classpath which doesn't work on PowerPC architectures... Does anyone use this on PowerPC? Unfortunately the only other alternative Kaffe seems to have been abandoned..

comment 12y ago · link · parent

Two reasons:

1. Visual Studio is not free. Yes there is Visual C++ express but for a while it didn't have C99 support because in general it was only a C++ compiler. I believe C99 support was added with VS2013.

2. It's just really nice to use the same compiler on Linux, BSD and Windows. This is possible with GCC and LLVM but not Visual C++.

Microsoft tools are not bad (in fact I like SQL server over MySQL or Postgres) but because they aren't cross platform it's very difficult to adopt. them.

comment 12y ago · link · parent

Ok, I'll bite. What is wrong with bstring and what do you think is a better replacement? I tried to look up criticism on Google about bstrlib and found nothing. I've used bstring in several applications without problem. I have started using antirez's sds though for newer applications.

comment 12y ago · link · parent

Well done.. I'm curious about whether this would be possible in Android. I'm not talking about OpenGL and using the ndk but creating Android activities. Would it be much much more difficult?

comment 12y ago · link · parent

You may also want to check out Blitz LeadManager, InsideSales, or Velocify Leadmanager.

comment 12y ago · link · parent

Big customers like Target that would prefer to run their POS machines on Windows XP. So sad..

comment 12y ago · link · parent

My best guess is that a statistician is a focus more on mathematics/pure statistics while data scientist is involved in more algorithms.. but the lines are blurred and I don't know what we would call people like Nate Silver. According to Wikipedia he's a statistician.

comment 12y ago · link · parent

Well, yes and no. Yes it does link to msvcrt.dll but it also brings in its own runtime too statically (mingwrt). Standard mingw links libgcc dynamically but you can use TDM gcc if you want to link it statically. I can't think of a bad reason not to use TDM gcc.

comment 12y ago · link · parent

That's probably because you wrote C++ and are usimg C++ streams. Try just using printf. The binary, after stripping, will be much smaller (I think less than 20k). You can use DependencyWalker to check what DLLs you are linking to.

comment 12y ago · link · parent

Worked or did you mean it works? If you meant worked can you further expand on why it no longer works well today?

comment 13y ago · link · parent

GTK is often used as the example of what not to do when designing interfaces. A better pure C example would be Wine's implementation of the Win32 API (specifically take a look at user32.dll). Or the Tk toolkit.

comment 13y ago · link · parent

Anything on amd64 with a focus on acpi? Pretty my a requirement for modern x86 os dev these days.

comment 13y ago · link · parent

I assume you are talking about MorningStar or Boca products. They aren't that bad are they? I eat a lot of red meat. Probably for both lunch and sometimes dinner almost every single day. It's gotten to a point to where cooking a meal without meat is an extreme challenge.

comment 13y ago · link · parent

Are there any blogs where an android tablet was used to do actual java development?

comment 13y ago · link · parent

Well, yes you are correct. However if you need the fastest sorting you're probably gonna inline the comparison regardless of language. If qsort is slow due to the function pointer comparison just move it inline manually.

comment 13y ago · link · parent

I think there was a story recently about how Netflix encodes each video multiple times for the various boxes and television sets. If they had their own box they could be more in control of at least one of those encoding formats.

comment 13y ago · link · parent

I can't downvote but I'm using C/C++ in 2013 instead of Go simply because Go is not portable enough. There is currently no PowerPC port and that is still a requirement for me.

comment 13y ago · link · parent

Can you help me understand why someone would host static content on S3 versus any other host? Is it because S3 automatically scales up when traffic increases? I know almost nothing about S3.

comment 13y ago · link · parent

See here: http://news.ycombinator.com/item?id=4365778

comment 13y ago · link · parent

Wait.. we have a senior source control manager and we are using TFS. Sometimes clicking through the gui based wizards to merge two branches is to difficult for C# devs these days. His expertise in right clicking is truly remarkable. I fear for the day we move to distributed source control.

comment 13y ago · link · parent

Fabrice is awesome. I am also extremely impressed with the code written by a guy that goes by the name of Bisqwit. He has multiple videos speed coding here: http://www.youtube.com/user/Bisqwit

comment 13y ago · link · parent

Default key bindings on korn shell are VI..

comment 13y ago · link · parent

Still, it doesn't have much of a presence in the Ask HN: "Who's Hiring" threads. Nor Dice.com or Monster...

comment 14y ago · link · parent

Same here. This site and Steve Yegge's site fail to load in the stock cyanogen browser. Also they fail with Opera Mini. They do work with the Firefox Android browser at least.

comment 14y ago · link · parent

What do you recommend over libxml? And by libxml did you really mean libxml2? I prefer to work with a DOM parser and I don't know of anything better.
1
91011
14