Details
Joined devRant on 5/15/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
If you're like me and you never close your editor, go with VS Code. I used to use Atom using over a dozen plugins and it would had a ton of errors and plugins would stop working until I rebooted the editor. After switching to VS Code about a month ago I've noticed a huge improvement in the time I spend fucking with my editor
-
Check out React Native or Vue
-
@Linux it really is full of juniors in here
-
It's important for us to be able to differentiate between hype and innovation, that's why it's so important to have of mixed age group of developers. Mongo was hype, "Webscale" was hype. Some of the best tools to come out this decade were built by large companies to solve the problems that were revealed as a company grew, Node, Go, Cassandra, GraphQl, React are all examples of those and they aren't hype, they power a significant portion of the content you view everyday
-
The first iteration of my company's application was built in Angular 1, it was riddled with bugs, tests would sometimes pass and sometimes fail at random and took 6 minutes to deploy and was not phone or small tablet friendly. It was built by 4 people over the course of 8 months.
The second iteration I built by myself in React in 3 months. Very few bugs, and the ones that do exist I know why, 100% code coverage on logical components, and over 80% on presentational components. It uses 1/3 the bandwidth, deploys in less than 20 seconds, and works on mobile and web.
It's not that React is the one true library or anything it just encourages and enables good coding habits and help me to develop and iterate faster -
I had a thermostat that was in celsius and I could never get my apartment to the temperature I liked because it would've been 20.5 C but I could only choose 20 or 21 so it was always a Fahrenheit degree off, it drove me nuts
-
You're assuming that a sequence of random numbers picked by a human is truly random when in fact it is not
-
How can they make you stay for 2 years?
-
@tnnn
-
@tnnn I used to use one of these (attached) to dock my Surface Pro and it just never really met my expectations, idk if docking stations have gotten better but that's my experience.
Your right USB C would be able to handle all of those except for the 120w but even then it would still charge the mobile workstation, just not as fast as its full potential.
Just another anecdotal point but the next specification of USB type C 3.X will have the same port but be capable of up to 180w (not finalized) so there is room to grow -
@mpotratz Yeah Henge line is pretty cool
-
@tnnn Except with USB C you don't need a docking station, just a hub. I guess it really depends on how you define a docking station, in my mind most docking stations require external power.
Your charger is rated for that but that doesn't mean your laptop pulls or needs all 100w to charge. Most laptop batteries don't even need more than 60w. Sure there will be outliers but it will be few. -
I'm going to play the devils advocate here, yes that's a lot of cables but there's only 2 plugged directly into the MacBook. When I bring my laptop in to work I have to plug in: power, hdmi, mini display, and a USB hub. If I could have all of that plugged into 1 adapter and then have that adapter be the only thing I have to plug into my laptop it would be a huge improvement. Also yeah MagSafe was cool, but how cool will it be when you can use the same USB C cable to charge any device? It's about time we had a universal charging port for phones, tablets, and laptops
-
Ouch
-
@cako91 I don't because there are somethings hard coded into that would make it a pain to use for anyone else but I've been meaning to refactor it for a while
-
@cako91 I started doing this a year ago, I now have a script that I can curl and pipe into bash and it sets up everything how I like it from a fresh install 🙌
-
Q: how many programmers does it take to change a light bulb?
A: none, that's a hardware problem -
@brod Yeah I don't even use React but I'm so tired of people who don't even understand a technology talking about it and critiquing it as if they do. React is one of the first of many technologies that bring Functional Programming to the masses and yet you have people comparing it to MVC frameworks and PHP of 15 years ago. As someone who has been using Haskell and Clojure for years, the influx of people into our community lately has been huge and a lot of the credit goes to React inspiring people to learn more about a paradigm they haven't been introduced to before and that's a wonderful thing. IMO the shift from Object Oriented Programming to Functional Programming is going to change the industry for the better. That's not to say OOP will be dead, just as sequential programming sill has a place.
-
@danielkalen well said
-
@dev-nope And as someone who has been using Haskell and Clojure for years that's the best thing I could've ever hoped for. JavaScript is mainstream and now that React brings functional programming to JS it helps bridge the learning curve of FP introducing the ideas of it to the masses.
-
@dev-nope it's not even the library I care about, its functional programming
-
@dev-nope right, because discussing the merits of a library makes me a fanboy
-
@hiestaa Yeah it is more efficient and offers a much faster compile target but it's meant to augment JavaScript, after all it is being developed by the creator of JavaScript, Brendan Eich
-
@dev-nope the code doesn't have any knowledge about the view! The business logic and presentational logic are completely separate in React
-
Before you decide that React is just another flavor of the month library I encourage you to learn about the advantages that functional programming provides (https://medium.com/@cscalfani/...) and checkout Elm (http://elm-lang.org/) as well. The nice thing about React + Redux is that it gives us a way to start programming functionally, without having to learn ML style syntax like Elm and ClojureScript. Keep in mind, when Object Oriented Programming was becoming popular it was widely controversial as well and look at all it has done for us.
-
When I first saw React and Redux I realized what this is all really about, a shift in the paradigms of programming. React + Redux is the first time that functional programming has entered mainstream. We've had functional programming available to us via Haskell and more recently Clojure for a while now but it was never very obvious how powerful functional programming could be outside of the niche that used it for more analytical type tools. Now we have things like hot reloading (https://youtube.com/watch/...) and state playback (https://youtube.com/watch/... skip to ~3min to watch the magic) thanks to immutable state.
-
@nblackburn it still is a separation of concerns by breaking things down into components
-
@dev-nope because PHP mixes things like API calls and impure functions. You can't even compare the two, React is purely the view as renderable by the browser. The separation of concerns is what's important here.
-
@hiestaa no it's not most people won't have a use for webassembly. Its purpose is to compliment JavaScript by allowing devs to implement performance critical things in webassembly and import it like a regular js module
-
I used to think like that at first, after studying Elm and function programming though I realized it's more to be compatible with the ideas and concepts from FP