News for hackers. Stuff that matters.

10-6

Re:The Baseline Costs of JavaScript Frameworks on Wednesday November 28, 2018 @11:57AM (#18553176)
This is exactly right. A lot of posts regarding loading times or bundle sizes for frameworks/libraries forget that there are trade-offs when it comes to building an application.

The correct way to frame this is: use a slow/clunky/large/etc framework vs. build everything from scratch (which comes with its own costs).

Sure, you can optimize parts of your application to speed up the JS portion or even remote it completely [1], but it's not always as simple as "your framework is making your application slow so you should think about ditching it."

This article actually ends with a very reasonable conclusion in the section "Are Frameworks Evil?" but I've seen plenty of articles where the author doesn't offer an alternative to some library/framework [2].

[1] https://twitter.com/netflixuie/status/923374215041912833?lan...

[2] https://dev.to/gypsydave5/why-you-shouldnt-use-a-web-framewo...

Re:Reinvent the Social Web on Thursday October 18, 2018 @06:23PM (#18252698)
The author explains a few problems with the current state of the Web under the section The Five Lacks:

- "On the closed social web... We lack freedom, innovation, trust, respect, and transparency."

- "Innovation on these platforms is dying."

- "And there’s little transparency. All of the data is locked up or rate limited to a prohibitive degree."

While some of these may or not even be true (innovation dying, really?), I think the author makes a large leap from his premises to the conclusion. So just because the author claims there are issues with the current state of the web, that doesn't mean the solution is to completely ditch "the tech giants in control suppress our freedom" and remove yourself from the current web platform and applications (e.g. fb, google, etc.)

The best way to determine whether this is a viable and useful solution, and whether or not some of the apps are actually something people want and find useful is to see how many people ditch applications from the "tech giants" start using these new apps built for the social web.

A lot of ideas sounds great in theory, but then don't hold up years down the line. Plenty of new applications and social networks have been created over the years with great explanations and a "Our Philosophy" section, but what actually matters is whether or not people change their habits and start using these new applications.

The problems the author listed in The Five Lacks section are completely real problems on a lot of the applications on the Web, but I don't think any of these social web apps listed in the article are the solution.

So for beginner/intermediate alg/data structures challenges with explanations and solutions I would recommend the following resources:

1. Read the Algorithm Design Manual.

2. Practice coding simple and then more advanced algorithms on sites like Coderbyte (aimed at beginners -> intermediate) and HackerRank (a bit more mathy).

3. Read as many algorithm explanations and code examples as you can on GeeksforGeeks.

4. Try and implement basic algorithms yourself like: shortest path, minimum spanning tree, DFS/BFS, tree traversals, different sorting algs, min/max heap, etc. and learn their running times.

* Also this article may be helpful for you: https://medium.com/coderbyte/how-to-get-good-at-algorithms-d...

Some more I actually should have mentioned:

https://flexboxfroggy.com (CSS)

https://www.datacamp.com (data science challenges)

https://www.codingame.com/start (learn to code via fun games)

https://screeps.com (cool MMO AI game w/ JS coding)

Ah yeah I forgot to mention screeps which is awesome!
Re:Can We Copy the Brain? on Tuesday January 30, 2018 @05:02PM (#16269501)
This report by IEEE is actually a very good collection of topics and research currently being done in this field. They discuss specific problems and topics like the neocortex, IIF [1], neuromorphic engineering [2], pose cells, SLAM [3], and more.

For anyone interested in research being done in AI, ML, consciousness, etc., these are great articles written by actual scientists and researchers who are doing the work (as opposed to the hyperbolic articles or tweets you see online these days about AI).

[1] https://en.wikipedia.org/wiki/Integrated_information_theory

[2] https://spectrum.ieee.org/semiconductors/design/neuromorphic...

[3] https://spectrum.ieee.org/robotics/robotics-software/why-rat...

Re:What Is It Like to Be a Bee? on Wednesday December 27, 2017 @01:22PM (#16016697)
This reminds me of "What Is it Like to Be a Bat?" by Nagel.

https://en.wikipedia.org/wiki/What_Is_it_Like_to_Be_a_Bat%3F

this is great, the docs/tutorial are pretty clear as well. shameless plug: I made a js library [0] for creating and playing board games a while ago. It allows you to focus on gameplay and logic without worrying about the user interface so much. It allows you to create games like chess [1] and simulations like game of life [2] pretty easily.

[0] https://github.com/danielborowski/jsboard

[1] https://danielborowski.github.io/site/jsboard/demo/demo8/

[2] https://danielborowski.github.io/site/jsboard/demo/demo9/

Re:Project Euler on Sunday December 10, 2017 @06:31PM (#15894106)
shameless plug: I loved project euler and topcoder when I in high school. In 2011, there weren't really any nice, easy-to-use, interactive websites that allowed me to solve coding/algorithms challenges online easily, so that winter break my first year of college I made coderbyte.com for people to solve challenges online. Been running it ever since, but now there are like 20 similar websites as well.
Re:A recap of front-end development in 2017 on Thursday December 07, 2017 @01:00AM (#15867954)
I really enjoyed you recap, nice job. I think vue.js, GraphQL, and wasm will become more popular in 2018. We'll see though :)
I agree with what you said at the beginning of your comment, and what I think you're getting at is something like panpsychism [1], where consciousness is an inherent property in the universe, as opposed to an emergent view where at some point there is no consciousness in a given system and once it becomes complex enough consciousness emerges or develops.

I don't necessarily have an argument for either of them right now. But you asked me "why believe in the line at all?" -- I'm not making an argument for what consciousness is, I'm only claiming that the current state of the art algorithms we have developed and AI we currently build have nothing to do with topics like self-awareness, consciousness, theory of mind, etc. One day we'll get there I'm sure.

[1] https://en.wikipedia.org/wiki/Panpsychism

Older »