Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tcbasche
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
tcbasche
6y ago
Couldn’t agree more. I’m the same as OP; years of OSX now back to Windows and this was the setup I went with. Everything (surprisingly) just worked.
122.
▲
by
tcbasche
6y ago
This is what I’ve done and it’s way easier from a packaging perspective but the thing that stings is Go misses out on all the data science stuff like pandas, numpy etc
123.
▲
by
tcbasche
6y ago
A typescript-like version of Python is basically the latest version of Python with static-analysis tools like mypy or pyright
124.
▲
by
tcbasche
6y ago
Yeah good luck getting something to market quickly if you aren’t in any way familiar with any of those technologies
125.
▲
by
tcbasche
6y ago
Doesn't look like it's loading at all for me ... hug of death?
126.
▲
by
tcbasche
6y ago
Created, yes. But maintained, built upon, iterated over and improved?
127.
▲
by
tcbasche
6y ago
This redirected me to my local pizzahut.com.au, and I get an Access Denied via curl :(
128.
▲
by
tcbasche
6y ago
I think another commenter said something poignant around this as well; it’s great too if you are working to a spec. For exploration it might be a cumbersome approach to go all in with.
129.
▲
by
tcbasche
6y ago
I really enjoy the tooling as well. I feel like these days tooling can be just as important as the more “tangible” benefits of a language. The Phoenix code (and test!) generation in particular is just magnificent, not to mention docs. Pytho
130.
▲
by
tcbasche
6y ago
For me that's been Elixir. It's made me appreciate some of the more functional aspects in Python, like generators, map, filter and the functools library in general.
131.
▲
by
tcbasche
6y ago
The TDD one I sort of half agree with. Purism and zealoutry are rarely a good reaction to anything, but I've seen a lot of dodgy code that, if it had been written with at least testability in mind, or with a test first it wouldn't
132.
▲
by
tcbasche
6y ago
Having worked with a huge Python 2 codebase recently, it's fine[1] but just becomes painful regarding dependencies. It just means you'll never have the latest versions of things. My advice would be to gradually port what you can u
133.
▲
by
tcbasche
6y ago
I have made the decision to take daily notes, almost like a diary, in the hopes that I can look back on the past and have a full history of things that I read, learnt, took in etc. Like version control for your brain :) (except without the
134.
▲
by
tcbasche
6y ago
I went all out crazy and got a Moonlander[1]. I love it. It took maybe a week or two of daily usage (an hour or so - writing code and doing the training exercises that they recommend via their online tool) for me to get back to feeling comf
135.
▲
by
tcbasche
6y ago
Not that regular keyboards are bad necessarily, but given I spend many hours in a day typing in a position that isn't exactly great on my posture or wrists I figured it might be time to make an investment for my future self (mainly j
136.
▲
by
tcbasche
6y ago
Just got a split keyboard, so mainly trying to unlearn bad typing habits :)
137.
▲
by
tcbasche
6y ago
As this is Hackernews, I'm obliged to point out that if they'd just written it in Clojure/Rust/Elixir/Rocket they would have experienced zero issues
138.
▲
by
tcbasche
6y ago
Thanks :) I think my wife did a bit of Codecademy a while back and yeah the interactivity is really nice.
139.
▲
by
tcbasche
6y ago
Ah yes! How could I forget. Thanks :)
140.
▲
by
tcbasche
6y ago
Thanks! Added them now :) Interestingly looks like Lynda is just LinkedIn now
141.
▲
Show HN: Curated List of Online Learning
43 points
by
tcbasche
6y ago
|
11 comments
142.
▲
by
tcbasche
6y ago
It really is super handy to see what was being described in the paper! Curiously I posted this about a year ago and it didn't make the front page. The internet is a fickle place...
143.
▲
Ask HN: What to Spend Training Budget On?
3 points
by
tcbasche
6y ago
|
1 comments
144.
▲
by
tcbasche
6y ago
That's not really true, change is incredibly _easy_ without static types. I've worked an a few large projects now all in Python or JS where the test time has never really been an issue, nor has the ability to make changes. I'
145.
▲
by
tcbasche
6y ago
mypy is great but I've become enamoured with pyright[1] of late. It's super fast and catches way more problems than mypy does. It also catches syntax and semantic errors as a nice aside. [1] https://github.com/micr
146.
▲
by
tcbasche
6y ago
Arguably you should be testing behaviour rather than getters and setters. If a codepath requires a name formatted correctly, then that forms the basis of a test and an assertion. Otherwise you're introducing fragility by coupling your
147.
▲
by
tcbasche
6y ago
It sounds like you’re just reading code with zero context and no further information about the design, all the mistakes along the way and the code that didn’t make it. My first recommendation for large changes would be pair programming (th
148.
▲
by
tcbasche
6y ago
This one is a gem from docker: https://github.com/moby/moby/blob/master/pkg/namesgenerator/... >> if name == "boring_wozniak" /* Steve Wozniak is not boring
149.
▲
by
tcbasche
6y ago
I think it’s become fashionable due to how trackers and dark patterns have used JS. But as someone has pointed out, it’s people not the technology...
150.
▲
by
tcbasche
6y ago
I love this sentiment and I wish more companies would follow suit. What really gets on my goat is unsubscribing, and then still getting emails.
More ›