Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
coltonv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
coltonv
10y ago
I think a lot of the hate for NoSQL comes from 2 places: 1. Imperfect implementations. For example Mongo with it's lack of transactional safety (if that's still an issue, haven't worked with Mongo in a long time). Since then
182.
▲
by
coltonv
10y ago
This isn't correct. The users/1 doesn't take you to the user with id=1, it takes you to the user with username=1, which is very different. For example you can see my github profile on this api by doing https://api.
183.
▲
by
coltonv
10y ago
Isn't that part of the React mantra? Everything is completely unopinionated except for rendering HTML based on data? Like it makes no opinion on how you should do state or HTTP requests as well as no opinion for styling, which is somet
184.
▲
by
coltonv
10y ago
I've been doing SPA's in react for a while and have had 0 problems whatsoever with styling. As long as you stick to good standards and naming conventions and use SASS or Stylus or something to keep things organized. What tends to
185.
▲
by
coltonv
10y ago
Not sure why you spent 4 hours on that, in addition to the other response there's also this method, which lets you call map on it and also call all the methods available to NodeList (you'd lose access to those if you converted it
186.
▲
by
coltonv
10y ago
I disagree because I do find JavaScript to be the best tool for client side development. You get full access to the DOM without worrying about your transpilers abstractions. Also I think JavaScript is a pretty wonderful language to code in
187.
▲
by
coltonv
10y ago
I see a lot of people working really hard to use the same language on client and server, but I've never had any difficulty working with multiple languages nor have my teammates. The biggest advantage for using different languages for m
188.
▲
by
coltonv
10y ago
If you had to explain that your party stands for in a simple comment, what would you say it is?
189.
▲
by
coltonv
10y ago
I've had similar success. The biggest benefit has been with memory in my experience, much much less RAM usage although i don't have specific numbers right now.
190.
▲
by
coltonv
10y ago
This title is not click bait at all. It presents a question and spends a brief article explaining the exact answer to the question. The answer is too long to fit in the title, and there's no click every paragraph to get to the next one
191.
▲
by
coltonv
10y ago
They should really mention that on the website for crystal. I think a lot of people are scared off by seeing the words alpha and breaking changes. Changing those to "beta" and "stable" on the site would help a lot IMO. A
192.
▲
by
coltonv
10y ago
That's good! It's always frustrating trying to find a breaking change in an interpreted language, so I can imagine it would be much easier in Crystal.
193.
▲
by
coltonv
10y ago
Thanks for answering! I feel like Crystal is one of the best projects out there but it's not getting much attention. What do you think it will take to get people to start writing projects and contributing? IMO the number one thing will
194.
▲
by
coltonv
10y ago
I was more just talking about how as language popularity goes up so does your likelihood of finding the solution to any given problem on the internet.
195.
▲
by
coltonv
10y ago
Yeah and that behavior of automatically switching has overhead, and should be taken into account when comparing languages.
196.
▲
by
coltonv
10y ago
My biggest concern if i were to try to use Crystal in production would be the lack of "googleability". I'm guessing your team is very familiar with the language, so it's not as much of a problem that you can't Googl
197.
▲
by
coltonv
10y ago
i actually think it's a good example for just that reason. Ruby will automatically use those big number types on production applications as well as the fibonacci application, so it's demonstrating that difference and the effect th
198.
▲
by
coltonv
10y ago
Nothing in Javascript can ever be completely type safe right now. For example, you compile your TS code and it compiles without error, but you pull a JSON object from the server and pass it into a function which is expecting the argument to
199.
▲
by
coltonv
10y ago
Yeah I was just using createClass as an example of a feature that's not strictly necessary and could be removed to slim up the library. Thanks for responding! Any idea when you will be trimming stuff like that out? Do you think you wil
200.
▲
by
coltonv
10y ago
The "afraid of the security practices" was more of a joke than an actual serious jab. But I do still hold that site-wide TLS should be default by all major websites at this point in time.
201.
▲
by
coltonv
10y ago
Can I ask you why you say it would be too high for NYT to afford it, when many companies with significantly more traffic have site-wide TLS?
202.
▲
by
coltonv
10y ago
That's scary honestly. Thanks for sharing at least.
203.
▲
by
coltonv
10y ago
Can you point out some other major sites used by the general public which have spent the last few years without site-wide SSL to back up your claim?
204.
▲
by
coltonv
10y ago
> HTTPS has been around since 1996 A blog post about spending several years updating to a protocol that's been around for 2 decades and has been standard for full sites for years. This makes me feel like anyone who has an account on
205.
▲
by
coltonv
10y ago
So there are a lot of features in React that are basically getting deprecated, like createClass in favor of ES6 components, mixins, etc. This is good that you guys are learning as you go, my question is will you ever release a version of R
206.
▲
by
coltonv
10y ago
Wow you took that joke way too seriously my friend.
207.
▲
by
coltonv
10y ago
This is incorrect. Evolution is simply change over generations by natural selection. the mechanism by which that happens, be it DNA or epigenetics or whatever, is not strict
208.
▲
by
coltonv
10y ago
If you're going to set pixel based margins on the left and right side of your page, you need a media query to disable it or at least lower it to 5 pixels on small screens. This is unreadable on mobile :/
209.
▲
by
coltonv
10y ago
Because If someone contracted them to make these assets they would have charged that person $2500. But here they sell it to you much cheaper in hopes That enough people will buy the book thus making more that the 2500 they could have made.
210.
▲
by
coltonv
10y ago
I'm a big fan of ruby but doesn't saying "Pure ruby" kind of detract from rather than improve a libraries value? Ideally it would have rust/C bindings for all the computationally difficult stuff.
More ›