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


JS is easy, JS ecosystem is not.


There are plenty of sharp edges in JavaScript to cut yourself on. For that reason I'd argue it isn't easy.

Compare it to something like C# where you could start pushing out code on day one. It might not be pretty or the most efficient code but there won't be any surprises, it will do what you expect.


Yes of course, like in any other programming languages.


I would say JS is simple, but it’s not easy. :)

I love the language - it is earning me a comfortable income and I am very productive in it, but it requires experience and iron code discipline not to let it bite you!


Don't you mean that it's easy, but not simple?


No, otherwise I would have written it that way. ;)


Well, then I strongly disagree. Modern JS is very easy to write, but extremely complex because of all the leftover cruft. For example, a beginner can declare a varible with let, const, var or (what could be easier) nothing at all. The resulting scoping rules, however, are anything but simple.


I don't think it's complex at all. The scoping rules are very simple. Block scoping just added another piece.

The difficulty is that there are many simple things like this to learn and to combine in a safe and maintainable manner for anything other than trivial programs. Out of the box, the language does nothing to discourage bad coding practices (some might say it even encourages them). It's the flip-side of being such an accessible language.

It is possible write JS in a way that avoids a lot of the complexity, but it requires experience and discipline and some tooling, just to be sure. The code will look simple but it is not an easy thing to do.


Programming is mostly the practice of reading code rather than writing, and this is where the complexity is felt.


Good point. But I don't think a complete beginner would use complex JS frameworks.


A note slightly related: Mars reaches perihelic opposition with the sun on July 27, 2018, which means observers on Earth will have their closest view of the planet since 2003. Great time to borrow a telescope.


Being able to see the red of Mars at night is strange.

Since I (and probably most of us on HN) live in the worst area for light pollution it's not too often you can see other planets like this unaided.


Jupiter and Venus are incredibly bright, you'll be able to see them with the naked eye at night even if you're in a city.


I should clarify: I have seen the planets before, but I can't remember being able to see this much detail without a telescope or binoculars.

Jupiter and Venus look like regular, although very bright, stars. Mars is currently a very visible red circle that is unmistakably a planet.


You should be able to see all five inner planets with the naked eye, even in a city.


Indeed. It was seeing the moons of Jupiter from a New York City apartment window* that rekindled my dormant childhood interest in astronomy.

I felt like Galileo. I had no idea what to expect when I pointed the binoculars at Jupiter. I thought they were stars at first.


Even without a telescope it's already so damn bold and red in the night sky, it really makes you stop and stare.

Go check it out tonight!


That date coincides with a total lunar eclipse over parts of Asia, Africa and Europe btw. Should be fun to watch. More info at https://eclipse.gsfc.nasa.gov/LEplot/LEplot2001/LE2018Jul27T...


IMO, RSS is by far the best tool to get news content. Thanks to the ratio signal/noise.

Problem is, how to convince website editors to promote theirs RSS feeds while there are many social networks out there with built-in ads feature.



I've seen Brutalist design being mentioned a few times here and it always shows this website gallery, I am no specialist, so I wonder, is this what brutalist design really is?

Quick Google search explains that brutalist architecture is about creating modular elements representing specific functionality often sacrificing aesthetics.

A lot of the sites on that gallery are ugly just for being ugly, they have no functionality and use different types of animations or constructs to just make something unconventional from common website aesthetics, I get why, but it feels like the word brutalist was borrowed here and is applied in a very different way.


This is not brutalism. It’s more like dada.


Brutalism is features before design. A cement tower block is an example in architecture. http://skimfeed.com is an example of a website that follows brutalist ideals. Early craigslist and early search engines are good examples too.


I agree and this is what I consider to be brutalist web design, but that site(the top search result for 'brutalist websites', 'brutalist design', 'brutalist web' and so on) has a bunch of weird designs(such as http://www.xtragear.services/ ), which is the source of my confusion.


These look like they were made by a Starbucks barista with a graphic design “degree” and 100k in debt. In other words, ugly and pretentious. Yeah I know, I don’t get it.



According to an interview to zdnet in 2012:

Googlers must ask to use Windows because “Windows is harder because it has 'special' security problems so it requires high-level permission before someone can use it.” In addition, “Windows tools tend to be heavy and inflexible.”

http://www.zdnet.com/article/the-truth-about-goobuntu-google...


From 2010. I wonder if that has changed.


With Windows 10? It made me switch away from Windows. I'd like to be the customer of an OS, not the product of its vendor.


So you also don’t use neither Android nor iDevices.


You can still use an Android phone without the Google Play store if you use a custom rom such as LineageOS. I do not not have a Google account set on my Motorola E LTE.


Haha, good one. I have an Android device since last year (a dumb phone before then), so I am guilty of that one. I try to restrict use as much as possible (I have no Google account). I'll maybe try to install a Lineage OS on it, if that's possible (but afaik that's still Android so there's that).

Privacy wise, I am not sure if an IDevice would be such a bad decision. But afaik they're phoning home still and I have to trust them...


Windows 10 is the best OS in the family so far. The fact that you switched, is most likely just a hyped-overreaction to one of the things that they did that you didn't like.


A fresh installation of Windows 10 Professional has advertisements for Candy Crush in the start menu. I don't think anyone's overreacting.


It depends on your definition of "best". I agree with you from a technical point of view but this is not my sole decision criterion.

I had setup an Active Directory server on a Raspberry Pi for serving my Windows 7 clients. I would have loved to continue using Windows as I think it is great technology. However I was switching because of some crucial decisions by Microsoft:

1. Shoving unwanted "features" along with security updates. As much as I understand Microsoft in wanting a more uniform landscape this is a no-go for me. The only reason I was not hit by the Windows 10 mandatory upgrade was the fact I had the machines in an AD domain (or at least I suspect so).

2. Phoning home without any recourse for me to even know what is collected. How long it is stored. Remember: innocent data today could bring me in trouble tomorrow. Collection can change any time without me even noticing.


If you're talking about the kernel and subsystems underpinning Win 10, I'd agree, but the user experience is a severe downgrade from even Windows 8.


It's not necessarily a hyped overreaction if those things matter to the people switching. Some people actually care about those things that have changed enough to switch to a different OS that doesn't have those issues.


If you have a valid business reason for it, it's no big deal. Ie: I work with electronics EDA tools and the ones we use only work on Windows, so I have a laptop with Win 10 on it, but my daily driver is a Thinkpad with Linux.


Do you think Windows Vista or Win10 have less security problems and require less protection?


You should take a look at U-Boot implementation.

https://github.com/u-boot/u-boot


From my point of view, your professional situation seems really enjoyable.

I guess the first step is to be proud of you. Next, go to the gym, and spend more time with your loved ones (friends/family). Do you have a hobby?


[off-topic] Is the MacBook Pro 15 available in gold now? https://searchads.apple.com/v/basic/a/images/overview/hero_m...


What a refreshing read. Lovely kids, awesome scientists.


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

Search: