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

Rooftops in Switzerland are covered with snow for many months each year. Yet this article doesn't even mention the word "snow".


Except they're not, for the vast majority of them. Yes, it might be true in the ski resorts, but most people leave in the plains. Zürich has barely had any snowfall this year.

Even in snowier years, it's a few days per year at most.


Contrary to popular opinion, most of Switzerland's population does not live in the mountains.


Format it as code (indent with at least 4 spaces). Problem solved.


Problem worked around.


Backslash escaping the number (or possibly the period) should work in most (and therein lies Markdown's biggest problem, the lack of a proper spec (fingers crossed for CommonMark)) parsers.


"helpful"?


I would consider correcting someone politely as being helpful. We are all here to learn.


> One can imagine modifying the compiler to output llvm bitcode. You now can throw plenty of optimisation at it for free (but you are now slower to compile).

If you look at the FAQ, you'll see they can do exactly that but using gcc/Clang, not LLVM.


Isn't Clang LLVM?


Yet I've skimmed the entire site and nowhere do I see mentioned how to use C libraries in V.

I don't have to convert C to V and then compile the entire V program, do I?


I doubt it, but it's hard to tell. More will become clear once they've actually released the langauge - as it is, this whole website seems super premature, since neither the language itself nor the source code to any real software written in it are available for public consumption.

The documentation that exists is minimalist enough that I would be very careful about assuming it represents a complete representation of the language's features.


Good point, I'll add an example.

It's just `C.puts('hello')`


How do you include the header with puts though?


#include <stdlib.h>

fn main() { C.puts('hello') }


This is an important point.

amedvednikov is the author.

It is hard to interpret it. The V compiler parses C?


I can't help but wonder why Volt on Mac is 300kB and on Windows it's 2.1MB.


It explains it if you click it :)

Temporary libcurl dependency


I am not going to read that, because of the huge number of ads on that page.


They're giving you their content for free. It's a transaction--you want something, you pay for it. In the case of free content from an excellent magazine, in the form of ads.

If you want to steal it, install an ad blocker.

You can also buy the magazine in paper form, but you'd probably get upset because there's ads in there too.


Really? There's no "[-]" in front of the user name?


I don't see it on my personal laptop on Firefox (Linux Mint), or on my workstation at work also using Firefox (Ubuntu 14 - no plugins).

Edit:

WOW I can't believe this, I opened it up in Chrome and it works / shows the comment folding option. It astounds me how much Chrome is becoming the new IE in regards to functioning websites where I wont be surprised to see (or not see) more cross-browser issues when using Firefox instead of Chrome.

Can I have the web where everyone wanted to be backward compatible with all browsers back?

Edit 2:

Also wondering how this got published by Reddit and nobody noticed some basic site functionality missing?


>You'll never see JPEG-XS images stored on disk or sent over the web.

I don't see why not. The image quality is near perfect, according to the article, for not even double the average file size, and it uses much less energy to encode and decode, so it's better for your battery life on mobile devices.


Because this would be at least 5 times slower to transfer compared to regular image formats, and on mobile a lot of energy goes to power the screen (while user is staring at a blank one, waiting for data) and radios (which now have 5x more work to do).

JPEG XS has severe restrictions of realtime encoding and a 30-line buffer, which are necessary for its goals, but make it a bad choice for anything that doesn't have such limitations.


Is it a bad choice, or an impossible choice?

Because if it’s possible to send one over the web, I would like to see it rendered with my own eyes. Speed be damned.


I think the whole appeal is faster encoding/decoding, but compared to a normal jpeg, it's the same image quality with a larger file size. I could be mistaken, the article is kinda light on actual technical details.


It's slow as mail. I tried an URL several minutes ago and it still hasn't come back.


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

Search: