HNHacker News
TopNewBestAskShowJobs

k_

526 karma · joined September 30, 2014

submissionscomments
k_··on Winter is Coming – Super Grand Solar Minimum
I'm worrying; could it hide the effects of global warming? (or whatever name is used now)

I'm afraid this could result in even less support from the governments and/or less effort to reduce emissions and other climate-changing actions. Which could be disastrous at the end of the ~ 40 years...

k_··on The State of JavaScript 2018
I hope Haxe[0] will make its way into this survey for next years, it's a solid JS (amongst other targets) transpiler alternative (better results than others, but less known).

Also, seems like a translation string is missing for vim (displayed as "tools.vim" in Other Tools > Text Editors)

[0]: https://haxe.org/

k_··on Ask HN: What's the largest amount of bad code you have ever seen work?
I don't think I want to work with you, ever :)
k_··on What can I do about climate change?
Doesn't seem too bad to me with a bike and a city giving priority to bikes. Surely less convenient than using a car, but I guess you get used to it.

Like you are used to do it in something like 25 minutes with a car, even though there could be near-instant methods of travel available (it's science fiction but still to the point: when you don't have (or don't have any more, for some time) a better alternative, you can overlook many inconveniences).

k_··on What can I do about climate change?
Individual actions are definitely a start, but yeah it sounds like almost nothing compared to corporations (or even governments, responsible for so many unnecessary plane travels).

Is there some data on the actual scale of individual vs corporate pollution / climate-changing faults? Hard to measure, I guess.

k_··on What can I do about climate change?
Hi I'm Rudy, nice to meet you! Now you have one :)

On a more serious note:

1. have one less kid.

I really don't like how this one is worded, I always read it as "get rid of one of your kids". Though, except going from 1 to 0, it's not that bad. I definitely wanted more than one, but I can settle with the one I have.

2. go carless

You get used to it. I even lived in small cities (~30k inhabitants) and while it's harder when your city isn't supporting a carless lifestyle (never lived in any that does that, sadly), it's definitely doable.

3. don't travel

Maybe a bit extreme to give it up entirely. But you can still travel less, do it with more eco-friendly travel options (carpooling, etc.) or go to destinations which do not require planes. I guess it depends on where you live, but in Europe there's definitely lots of wonderful places I can go to with a low carbon impact.

But I still am responsible for a lot more carbon emission than I should. I'm taking it slow (changing food habits, etc.) but there's still domains in which I am really bad (using too much tech, ordering things online..).

k_··on GitHub: October 21 Incident Report
Also discussed there: https://news.ycombinator.com/item?id=18271180
k_··on Status.github.com: “We're failing over a data storage system”
1.5 hour later (a couple minutes ago), despite an estimated time of less than an hour:

> We continue to monitor restores which are taking longer than anticipated. We estimate they will be caught up in an hour and a half.

k_··on Status.github.com: “We're failing over a data storage system”
An update has been posted there: https://blog.github.com/2018-10-21-october21-incident-report...

> At 10:52 pm Sunday UTC, multiple services on GitHub.com were affected by a network partition and subsequent database failure resulting in inconsistent information being presented on our website. Out of an abundance of caution we have taken steps to ensure the integrity of your data, including pausing webhook events and other internal processing systems.

> We are aware of how important our services are to your development workflows and are actively working to establish an estimated timeframe for full recovery. We will share this information with you as soon as it is available. During this time, information displayed on GitHub.com is likely to appear out of date; however no data was lost. Once service is fully restored, everything should appear as expected. Further, this incident only impacted website metadata stored in our MySQL databases, such as issues and pull requests. Git repository data remains unaffected and has been available throughout the incident.

> We will continue to provide updates and an estimated time to resolution via our status page.

k_··on Status.github.com: “We're failing over a data storage system”
I agree that most of these are good points, although they can be worth it depending on your priorities.

As for this:

> Who will be woken up at night when there's an outage?

Unless they are working with teams around the world, does it matter if their server is down the whole night, as long as they can get it back up first thing in the morning?

k_··on The Joy of Haxe
I never used Haxe in windows. I agree that ten years ago tooling wasn't all that great (on linux at least), but now with the focus on VS Code we have a language server following Microsoft's LSP [0] that we can even use on other editors (sublime text, neovim, etc.).

[0]: https://langserver.org/

k_··on FrontPage 98: Elegant and Exquisite (1997)
No, industrial sector
k_··on FrontPage 98: Elegant and Exquisite (1997)
At my current job I am rewriting a 25 year-old VB application into a web-based application, and the majority* of our documentation is written in FrontPage. The horror, indeed.

*: Well, sort of.. there are bits scattered everywhere, I had to dig into email archives to find some specifications.

k_··on Why we needed Redux in the past, and don’t any more
I don't define them precisely either. I'll borrow an answer from stack overflow [1]:

This is totally personal and subjective, but I'd say that a website is defined by its content, while a web application is defined by its interaction with the user. That is, a website can plausibly consist of a static content repository that's dealt out to all visitors, while a web application depends on interaction and requires programmatic user input and data processing.

For example, a news site would be a "website", but a spreadsheet or a collaborative calendar would be web "applications". The news site shows essentially the same information to all visitors, while the calendar processes individual data.

Practically, most websites with quickly changing content will also rely on a sophisticated programmatic (and/or database) backend, but at least in principle they're only defined by their output. The web application on the other hand is essentially a program that runs remotely, and it depends fundamentally on a processing and a data storage backend.

[1]: https://stackoverflow.com/a/8694944/7510753

k_··on Why we needed Redux in the past, and don’t any more
React+redux (or just react) doesn't add much to websites. Maybe Vue.js would be a better fit when some complexity is needed in a website.

I see React as a tool for building web applications, not websites. Using it for something like hacker news is not needed nor worth it, except for learning purposes or for the sake of using your favorite tech (which has its pros and cons).

Edit: I use React a lot, and really like it. It's just not the perfect tool for everything, and by no means a necessary one (at least when you don't have much complexity); even if it is a good one in many cases.

In the case of HN, seeing the current js [1] I find it pretty obvious that no "big tool" like React is necessary. It doesn't mean using React for a HN clone is a bad thing, one just don't have to.

[1]: https://news.ycombinator.com/item?id=17915560&goto=news

k_··on Why we needed Redux in the past, and don’t any more
Turns out apollo (graphql client for react) is doing more or less redux's work.

I planned on using both at first when I started migrating to graphql, but quickly saw that indeed redux was becoming redundant when we use apollo. Especially since they added local state management [1].

[1]: https://www.apollographql.com/docs/react/essentials/local-st...

k_··on Breakout implemented in JavaScript in a PDF
Nice feat. It broke my browser's (vivaldi) pdf viewer though, I had to restart it to view any other pdf again. Not sure how this happened...
k_··on Vocore2, a ridiculously small Linux PC
I was interested when the campaing came up and ordered a VoCore2 + Ultimate Dock (42$) back in november 2016. Never received it (must have been lost somewhere).. so I lost all interest in it.

Looked promising, though.

k_··on I inspected the mastodon.social website
I understand and agree with you. It's just that this is exactly what is possible with newer versions of FontAwesome. So it has in a way replaced itself by the tools you were looking for :)

It's just nitpicking; with the example it's pretty clear that it's the icon font that is bugging you.

k_··on I inspected the mastodon.social website
Yeah, the thumbs down on FontAwesome is a little harsh imo. Maybe there should be a thumbs down on FontAwesome using the CSS classes flavor, but I don't see the new version as being a bad thing at all.
k_··on Vaping 'can damage vital immune system cells'
There are e-cigs that do smell, the one in my previous company "vaping" in the open space used some kind of flavor that had a strong [unpleasant] smell, even over 5 meters away.

Overall it's a great improvement. I just hope this improvement doesn't come with regressions (more [e-]smokers, especially in public areas and maybe in newer generations) precisely because it is so great an improvement.

k_··on Vaping 'can damage vital immune system cells'
They don't mention immune system cells specifically, but they do say vaping is still much less harmful

> However, Public Health England advises they are much less harmful than smoking and people should not hesitate to use them as an aid to giving up cigarettes.

-

What annoys me, though, is that while cigarettes are banned on most public places here (in France), people tend to use e-cigarette anywhere from work (open space) to transports, restaurants, bars, etc.

If they can't stop smoking, it seems to be better for them to be "vaping", but they should stop forcing us to endure their chemicals (although I'm not sure if this can be toxic for people around - but that's more or less the point too: we don't really know what it does to our body, so it shouldn't be allowed everywhere).

We've already fought cigarettes (well, I'm an ex smoker so I shouldn't really say "we" here), we shouldn't have to start over again for another form of smoking.

k_··on Show HN: I made a tool that made me faster at Git
I only expect my editor to read some information from my git repository. Gutters displaying new/modified hunks and shortcuts to jump to them are pretty much the only things I find useful (for my use; I understand some will find other features helpful).

But any action I want to be made on the repository, I do it myself.

I have some exceptions though, like if I want to revert the hunk I have the cursor on it's nice to be able to revert (or even stage, but I still use `git add --patch` for that) it with one shortcut.

k_··on Is it Pokemon or Big Data? (2016)
Exactly what I was missing after 15~20 questions (and then I left)

Seemed easy at first (got the first 5 right), but I guess that was mostly luck because I got a lot of the next ones wrong.

Edit: being from France, pokemon here have different names, making the english names less recognizable (I never played the games anyway so that doesn't change much for me)

k_··on Pop_OS 18.04: the state of the art in GNU/Linux on desktop
I agree with that :) Though after a while I personnally traded simplicity* for more customization and performance and switched to openbox and now i3.

Edit: * Well no, "simplicity" does not exactly mean what I first thought it did. I guess I mostly traded ease of configuration / usage. Openbox and i3 are more difficult to approach but they don't lack on simplicity at all.

k_··on Linux touchpad like a Macbook: goal worth pursuing?
Dell E7440 here with arch linux. I had never been a touchpad user before, but now it's been 10 months since I used a mouse. I even began to play mouse games with it and it's mostly fine too.
k_··on Open source, privacy-enabled smartphone operating systems
I wish people stopped messing around with scroll.. This website is a pain to navigate with javascript enabled and cannot be navigated at all with javascript disabled (overflow hidden, need to hack css too to make it bearable).

To see such poor UX on the website of someone developing an OS is a red flag for me.

k_··on Draw This: a polaroid camera that draws cartoons
What about children? With an appropriate case, it can become a great toy.
k_··on Haxe: Cross-Platform Development's Best-Kept Secret
I've mostly used it for web (mainly react applications recently), for several companies.

The haxe->js community is growing these past years, but I still think Haxe isn't getting the love it deserves (compared to TypeScript, Flow typing for react, etc.)

k_··on JavaScript Pattern Matching Proposal
Why not? In Haxe (a statically typed language which compiles to js, amongst other targets) pattern matching happens in a switch: https://haxe.org/manual/lf-pattern-matching-structure.html
← PreviousPage 6 of 8Next →