Hacker Newsnew | past | comments | ask | show | jobs | submit | errtnsd's commentslogin

From a beginner perspective build environment of C is pretty bad compared to modern alternatives. Especially if you want to switch platforms.


Honestly, at a glance, the library design is horrible. A mix of C macros and global variables. The project is really small, to fix it all you need is a single struct pointer that gets passed to around.


I think calling this "horrible" is pretty harsh. I wish programmers wouldn't be so eager to put down each other's code instead of taking the time to understand the reason why it is written that way. In this case, I think the library accomplishes its goal quite well: to provide a straightforward, logo-esque syntax for procedural drawing.


the library allows to define and undefine the macros at any point so that you don't pollute your namespace too much. Without the macros, you would have to prefix all the commands, like SQUARE(n.X, 10, x.S, 0.5), etc...


Code has different design constraints depending on where the code should run, how large the codebase is and what the project structure around the maintenance work is. Had this been a middleware component library and were there any reason for the routines to run in parallel threads I would have agreed.

Here, however I find your critique in bad taste and poorly thought out for code whose main value is the art generated by code, where brevity and simplicity of the code base is a value in itself.

There is no one true way to write code. Global state is not an evil in itself unless it causes hidden side-effects. For small single threaded programs a large global state can simplify things a lot.

It's like a lumberjack grumbles to an artisan wielding a penknife that it's far too small to cut down a tree.


Thumbs up on the initiative and result -- but why macros?

From the code samples it appears more that the author has created a DSL using C macros than providing a library. Such a bummer.


Effectively what they are doing is just making me want to buy/use US software less and less.

How long until Windows OS is going to be monitored?


Windows now broadcasts and collects information about what you type in when you search for programs (in charm/modern shell).

That doesn't mean it goes 'upstream'. But it is startling how far we've come. I remember the days when nobody trusted the internet - not even with their credit card.

Now its hard to trust your Operating System to run a program.


    Now its hard to trust your Operating System to run a program.
If you use Windows, yes. I live in a Microsoft-free household, using floss systems makes your life in some ways easier.


TS//SI//REL) Currently CASTLECRASHER is the only production quality Windows execution technique that Payload Persistence techniques have. Another mechanism to execute DNT payloads is needed. Most pre-boot Persistence techniques only have the ability to influence an OS through modifications to the target file system. Work needs to be done to investigate other ways to get execution inside of Windows


I run Windows solely for playing games. If I could run games without issue on Linux I would drop Windows in a heartbeat.

That said, I do use Debian or Slackware on other machines and my laptop.


I'm gaming on Debian, and it's working quite well, and I'm even using the radeonsi drivers.


There are so many games in my Steam library that don't work on Linux at all though.

I could use Wine I suppose but it's not ideal.


Well there is Zeitgeist in Ubuntu..


It isn't a problem.

Just like monitor manufacturers don't offer prescription glasses along with the purchase, Oculus won't offer lenses.

Corrective eye-wear is very individual and requires some amount of expertise( exam, specialist ), so it doesn't make sense, and it isn't very feasible, for Oculus to provide that for you. Also contacts are very cheap.


Monitor manufacturers don't make a device that straps onto your head. Apparently wide frames are an issue[1]. When I was playing airsoft, I had ESS goggles. ESS also sold prescription lenses[1] designed to slot into the air holes in the goggles, all you had to do was send them your prescription.

Contacts may be very cheap, but even with dailies, I wouldn't want to put in contacts just to game. I prefer glasses in general.

[0]: https://www.reddit.com/r/oculus/comments/2b5yur/will_nearsig...

[1]: http://www.esseyepro.com/U-Rx-Insert_191_detail.html


I thought the dev kit came with lenses specifically for near-sighted people.


It does but this is because you can't easily wear glasses under the devkit.


Palmer claims the headphones are very high quality. If you don't like them you can replace them with your own.


Oh yeah? I can't find where it says you can replace them with their own. That'd be cool though.


It was mentioned in the keynote event today that the headphones were detachable.


In the submission, it says the headphone arms can be removed.


They showed them popping off to make room. Easy enough.


Imagine a world where everyone has their own social version of a Github page instead of a Facebook wall.


Imagine a world where Wikipedia isn't an encyclopedia, but a crowd-sourced collection of all code meticulously indexed and documented that could be written for one language.


Imagine there's no heaven (It's easy if you try)


Imagine a world where everyone read and writes.


False. You can't pay to get your page to show higher in organic results.


Doesn't that fall under vigilantism? Publishing fingerprints might get you in trouble.

In most countries you are forbidden to take photos in a private setting without permission, and in some even in public.

wvenable's comment is on point. Just as public websites aren't public domain, publishing information delivered on request might not be legal.


It may not be legal, but I'm not sure it is wrong either (the web stuff and not the burglary)


No, the code is still copyrighted by Networks Layer8 or Airtel.

Publishing or delivering it on request doesn't make it public domain.

Here is one definition of public domain: the status of a literary work or an invention whose copyright or patent has expired or that never had such protection.


OP mentioned 26.8% for Sweden. That is not low compared to Singapore.


That's 26.8% that either weren't born in the country _or have at least one foreign-born parent_. That's a pretty significant difference.

I was born in Sweden and can trace my direct Swedish ancestry back at least 400 years and I still fall into that 26.8%.


Fwiw, some foreign-born numbers: 15% of the Swedish population is foreign-born. Of those, about 1/3 were born in another EU country, who are immigrants but not really what the current controversy is about (the largest single foreign-born group in Sweden are from Finland, constituting about 1.5% of the population). The remaining 10%, born outside the EU, are what "immigration politics" is mainly talking about. (The comparable figure for Denmark is a bit lower; around 5-6% of the population are born outside the EU.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: