HNHacker News
TopNewBestAskShowJobs

marcoms

55 karma · joined June 9, 2014

submissionscomments
marcoms··on Nim in 2020: A Short Recap
Not sure what you mean, Nim doesn’t allow tabs so that wouldn’t work
marcoms··on Nim in 2020: A Short Recap
This might have been excused if they didn't also forbid tabs unless you use a hack (https://github.com/nim-lang/Nim/wiki/Whitespace-FAQ#tabs-vs-...), was interested in learning until I found this out
marcoms··on Why async fn in traits are hard
Yes, but I think they are emphasising that only a promise will be returned. Any further type information is not given
marcoms··on A Book about Qt5
The code is also compiled to native code, but it's written declaratively. It's not for everyone, but it's not the same as Electron. Even still you have the option to use the traditional imperative API.
marcoms··on Code together in real time with Teletype for Atom
Typescript is great at catching bugs which would trickle down to the end user
marcoms··on Announcing Sourcegraph 2.0
They are using the Monaco editor component of VSCode, not forking it
marcoms··on Atom 1.18 released
UI themes, and a much more cohesive default theme
marcoms··on Sublime Text 3 Build 3132 released
Atom: the bloat of an IDE with the features of a text editor. At least there are plugins :/
marcoms··on Git 2.13
They try, but there is not really predictable and simple way to select those fonts in CSS. I've had times when Courier was used on Linux because the MS fonts we installed.

I would prefer they just do font-family: monospace

marcoms··on Show HN: Electrino, a featherweight API-compatible alternative to Electron
Admiring the optimism but having an untested reimplementation of node would make people a lot less confident in using the project
marcoms··on Black Screen – Both a terminal emulator and an interactive shell
Doesn't headless mode just mean rendering to a bitmap instead of a window?
marcoms··on Gravity: a new programming language and VM written in C
As others speculated I meant parentheses around the condition - my mistake, I should have qualified
marcoms··on Gravity: a new programming language and VM written in C
What's the argument for required brackets around if (conditions) and switch (conditions)? To me they seem redundant.

--

As a side point, I hope switch statements are less like C and more like Rust (Rust happens to have better looking syntax, not just because its Rust):

    match <identifier> {
        <val> => {
            //
        }
    
        ..
    }
C-style always creates confusion on how to indent blocks following case statements
marcoms··on The Collapse of the Unix Philosophy
Still does not allow tabs for indentation - same problem as `make` but inverted
marcoms··on Ubuntu 16.04.2 LTS released
*Canonical
marcoms··on Stop using 'short' for line and allocation sizes (2013)
Why not fixed-size ints - uint8_t, etc. from stdint.h? I've not been using C for a while, so I wonder what the viewpoints are regarding this.
marcoms··on The Rust module system is too confusing
I mean if anything the syntax should me more specialised as you go into sub-keywords, which makes sense in this industry (e.g. ISO 8601). The problem is that `extern` seems to have been taken from C++ and extern crate is almost tacked on (or that's the impression I get). Comparing with other languages, Rust looks to be the only instance where two keywords are required to simply require a module/library, which sticks out to me.
marcoms··on The Rust module system is too confusing
For me what's quite unnerving about `extern crate` is that the `extern` keyword has another function, that is to declare foreign functions [0]. `extern crate` on the other hand, is not an extension of `extern` but serves a completely different purpose.

0: https://doc.rust-lang.org/book/ffi.html

marcoms··on Inkscape Version 0.92 is Released
Gtk3 supports macOS natively
marcoms··on Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
You could use Chrome which bundles Flash. The RPM is linked on the download page

https://www.google.co.uk/chrome/browser/desktop/

marcoms··on Airbnb JavaScript Style Guide
You could use ` backticks instead and use both " and ' in strings without worry
marcoms··on Bling – the $ of jQuery without the jQuery
Also see ES2015's Array.from()

    Array.from(<NodeList or other iterable>)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
marcoms··on Project Fi by Google
> <paper-button>

It's nice to see Google finally dogfooding Polymer in their own products

marcoms··on A polite rant on mobile UX
> you cannot do overlay blurring like iOS, for example

this may change in the future - the backdrop-filter CSS property should allow you to do exactly that, and support has already landed in chrome

marcoms··on The “Clockwise/Spiral Rule”
Be careful that you don't trip up using this rule for everything - its not always correct [0]

[0] http://stackoverflow.com/questions/16260417/the-spiral-rule-...

marcoms··on C++ Quiz
Though I know very little C++, a lot of the questions were applicable to a C programmer
marcoms··on Show HN: My weekend project, Frontends – a Hacker News for Front-end developers
Looks good - bookmarked! Are you targeting a similar demographic to /r/webdev?

One bug I have encountered is on clicking upvote and unregistered, I am redirected to frontends.COM

marcoms··on Show HN: Picnic.css, a lightweight Bootstrap alternative
I believe (s)he means absolute pixel breakpoints instead of percentages
marcoms··on Show HN: Very simple tool for creating polls
Except there is no "\"product try\"" in this case.
marcoms··on Show HN: Very simple tool for creating polls
Exactly. At least make it obvious that the user needs to sign in beforehand.
Page 1 of 2Next →