HNHacker News
TopNewBestAskShowJobs

mackwic

396 karma · joined March 19, 2013

You can always contact me at mackwic+hn@gmail.com
submissionscomments
mackwic··on Announcing Rust 1.2
Backend is the correct term: C is by no mean an IR which means "intermediate representation", from which you can more or less easily understand the thing behind the code (eg: types, control flow, variable bindings). An IR is a data-structure that obey some rules, a C file is flat text that needs parsing. Not the same.

If C is the output of the compiler, then we speak of a C Backend, which means the part that transform the final IR in the other language we want to translate to (eg: x86, arm6, sparc, ... C :)

As a final note, it's likely that platforms so conservatives that they only provide a C ansi compiler, will not be aroused by Rust.

mackwic··on Introducing Tectonic – A Kubernetes and CoreOS Platform
> Tectonic is a commercial distribution of the combined Kubernetes and CoreOS stack.

> Tectonic pre-packages all of the open source components required to build a Google-style infrastructure and adds additional commercial features, such as a management console, corporate SSO integration, and Quay, our enterprise ready container registry.

Well, I don't care. Fix etcd before anything. Cluster recovery doesn't work well (it's an understatement), etcd has issues with high loads, and leader election has its quirks. CoreOs is barely usable at this state.

This is the kind of thing you need to expect when running a CoreOS cluster: https://github.com/coreos/etcd/issues/863. etcd is not "production ready", well, this should be taken care of as it's a central part of the system.

mackwic··on Hello World
It's not about performance and bottlenecks, it's about CAP theorem: any system can provide only 2 of either Consistency, Availability, or Partition-tolerant.

Consistency: you want all you cluster to have the same data.

Availability: you want being able to lose one node or more in case of some issue.

Partition-tolerant: in case of net-split (think IRC), the splitted part of your cluster can work in isolation, then re-heal when the link is up again.

When someone sell you auto-healing and cluster reliability, they are selling you AP, which means that you lose the C, something we all takes for granted. Cassandra is one of those. Think of what you can't do when all your nodes can have different data of the same model.

Sorry for the useless explanation if you already knew that.

mackwic··on Hello World
The design page is the most interesting place to look at: https://github.com/cockroachdb/cockroach/blob/master/docs/de...
mackwic··on OVH cloud: openstack, 100% SLA, free BW in/out, anti-ddos, starting at 3€/month
In before the common (and sane) suspicion:

- 100% SLA: it's a cash-back agreement, not a technical promise. Also it doesn't cover the maintenance period (FYI I never had any maintenance downtime for 5 years but YMMV).

- free bandwidth: it's a real thing in France, the bandwidth is free.

I am a happy customer of OVH since 5 years, either personally or professionally.

mackwic··on What one may find in robots.txt
I believe that only services hosted on the French ground are eligible to the French law.

Also, showing the link but not the content is a smart move because it doesn't prove that the author looked for the content of these documents, when the robots.txt is obviously a file you should be able to consult.

mackwic··on Varoufakis and Stiglitz [video]
I am pretty certain that the economical point of view diverge a lot between countries. France, UK, Italy and Germany all have common cultural roots but very different opinions about how economy should serve society. Thus, I think that the media could only agree so much on the specifics.

If we really all agree on the problems of Greece, it could be the first time ever all members of UE agree on something spontaneously...

mackwic··on Varoufakis and Stiglitz [video]
Funny, it's point-by-point exactly the line of the french eco channel BFM Business (which, I concede, is my main and only source in term of economics matters). I am curious, are you also a listener of this channel ? If not, what medias also hold this line ?
mackwic··on Varoufakis and Stiglitz [video]
I know it's not the HN guideline to thanks, but crap. Thank you for your exceptionally well sourced comment.

I wish I had something like pocket for the youtube videos so that I could watch them during transit.

mackwic··on “The GNU Make Book”: probably more than you ever wanted to know about make
It will depends on you platform and technology. I can only recommend you to _not_ be fancy and stick with the conventions or else you could have a lot of trouble to interact with dependencies. By dependency I mean anything your program would need to run: from system libraries, headers, local libraries linked either statically or dynamically, or even syscall. A lot of things can go wrong, our whole software cathedrals are build upon years of conventions and patches. Anything can break. Don't even try too look what `ld(1)` is doing.

Autotools has never be a great tool, only a necessary evil for when you need to package cross-Unixes software. I heard that CPack (http://www.cmake.org/Wiki/CMake:Packaging_With_CPack) do the job while being exactly as good as CMake (which can be a compliment... or not. YMMV).

So, if you use Rust, use Cargo, with Java use Maven, with C# use MSBuild, with ruby use Rake, etc. And C/C++ ? Well, for once if you can chose you're lucky. You can try CMake or premake.

The only thing you must do is get away of most of the Google's build projects: Gyp, Lunch, Ninja, etc. I have horrible experiences with those. Even worse than Rubygem's native compilation, which is quite a performance.

mackwic··on French civil code now on GitHub
> I'm surprised if France and other supposedly civilized countries don't do it on behalf of the Justice Ministry or equivalent.

Please be kind in your comments.

Also, you're wrong (http://legifrance.gouv.fr/), but that's secondary relatively to the harsh tone you had there.

mackwic··on French civil code now on GitHub
That's a funny story. :)
mackwic··on French civil code now on GitHub
I don't think it's possible to generate a general parser for the Journal Officiel in an afternoon.

It would make the author a _very_ efficient worker.

mackwic··on French civil code now on GitHub
Same here. Diffs published from the Journal Officiel aren't so easy to parse. I am afraid it could be manually generated, which is a dead end.
mackwic··on X86 is a high-level language
I think it's time to dig this: http://yarchive.net/comp/linux/x86.html

When Linus worked at Transmeta, doing a weird kind of processors and x86 was considered "a charming odity that works well".

mackwic··on Vim is moving to GitHub
Technically, it doesn't. In practice, using a unified and polished interface like Github make things easier.
mackwic··on Neovim now has builtin terminal emulation via libvterm
I had many SIGABRT with my vim config under the hideous non-posix Terminal.app. Sometimes a SIGSEGV. With neovim, gone. Never had any.

Also, it's a bit faster (very noticeable with CtrlP).

mackwic··on “Implement text editor DOM updates manually instead of via React”
Seems fine on my >500Go aggregated log file. Scroll line by line with no issues. Sed and matching is near instant.

What's the issue ?

mackwic··on Marijuana may be even safer than previously thought, researchers say
Do you have source to backup this claim ? I found it quite doubtful.
mackwic··on Rdb – a Node.js ORM with transactions, persistence ignorance and promises
Ok, after a lookup, "persistence ignorance" is the ability to have implicit save of the models when things change.

Bookshelf has events, which make very easy to wire some kind of persistence ignorance (we implement it in our base Model class).

mackwic··on Rdb – a Node.js ORM with transactions, persistence ignorance and promises
Seems interesting ! I would definitely like more ORM for node.js technologies.

The concurrent are Sequelize (http://sequelizejs.com/) and Bookshelf (http://bookshelfjs.org/), both very mature libraries (look at the Sequelize test suite, it's quite impressing !). Iroal, any comment on the rdb choices against these two big guys ? How can we expect rdb to evolve ?

mackwic··on Introducing node-firefox
The performance is very acceptable for what I saw (basic usage of all of the provided apps).

I am no expert, but the FirefoxOS stack is really lean and simple compared to the Android stack. Some would say that Android is an huge undocumented bloat with all the layers added during its lifetime (just check the AOSP build system to understand this opinion).

As I see it, FirefoxOS, by being ten years younger and less used, is doing million things less than Android (from the system point of view), and that's how things can get reasonably fast and responsive (that, and the blazing fast SpiderMonkey vm).

mackwic··on Testosterone is the drug of the future
Great answer, and I agree with you. As a practicer it doesn't really matters as long as you get your dose of well-beingness.

I was more thinking of all the "train yourself to meditate" thing which can end with more frustration than relaxation for some, relatively of the scientific measure of this training (which is imperfect as we just saw).

On a side-note, I practice relaxation on the evening and I don't see such huge effects on my mind but "only" a greater sleep (which is already great). Could you share some of your practices ?

mackwic··on Testosterone is the drug of the future
The question is not if Placebo is an efficient method. We know for sure that it is. The question is if training and practicing meditation is better than doing nothing.

If you don't beat the placebo, it could mean that there's nothing to train and practice.

mackwic··on CoreCLR is now open source
AH ! That was a nice joke, have my upvote. :)

For the curious: http://voices.canonical.com/jussi.pakkanen/2011/09/13/autoto... (tldr: autotools won't work on windows, you need a shell emulator, like cygwin, and gcc)

Premake is nice, also. But CMakes tend to work better for a big project.

mackwic··on CoreCLR is now open source
I don't think so, the windows manager is also in userland. It's not the most documented thing, and it depends on what are "the things" of windows, there are many. :)
mackwic··on CoreCLR is now open source
The open-source academical licences are a good example. For example, part of the Win32 kernel are open for academic and are heavily share between the classes, but the limitations are here.

For instance, this licence: http://opensource.org/licenses/AFL-3.0

It provide free usage, studying, display, publishing, but also explicitly says that some of the part could be binaries (machine-readable), you can't sell anything derivative, and the licence is personal with no right to give the licence to anyone else.

So, you can consult and modify in the frame of your academical work, but no more.

mackwic··on CoreCLR is now open source
They are divorced from the core os. Windows is a microkernel and the drivers run in userland since vista.

It's a completely different matters.

mackwic··on Lodash v3.0.0
Already submitted: https://hn.algolia.com/?query=lodash&sort=byPopularity&prefi...

Seems like no one cares. Strange.

mackwic··on Tuxedo.js – A Framework Built on React and Flux
I don't understand. Ruby on rails is still one of the (if not the most) advanced web framework available.

Mind to develop your point ?

← PreviousPage 2 of 7Next →