Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alephu5
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
alephu5
6y ago
Over the past couple of years I've become proficient with haskell and can throw out an arbitrary program with it about as easily as I could with Python, which I have 10 years of experience with. I've built and worked on large real
152.
▲
by
alephu5
6y ago
I completely agree with this sentiment, I've seen a lot of people throw ML at problems because they don't know much mathematics. Especially when you have a lot of data, I can understand the allure of just wiring up the input &
153.
▲
by
alephu5
6y ago
As a beginner you're just trying to keep your head above water and get the damn thing to compile. For me at least I cared more about that than making the code pretty. Moreover I don't see much harm refactoring your code with these
154.
▲
by
alephu5
6y ago
I'm in my late 20s and used to believe something like this, but I've become quite cynical. I think that modern work is just about capturing wealth and passing it onto the wealthy, so they can have more control over their time and
155.
▲
by
alephu5
6y ago
Why does it matter whether you're transcribing lyrics or transcribing geography? In both cases you're effectively just writing down something that exists already.
156.
▲
by
alephu5
6y ago
People think I'm a charlatan when I advocate copy and pasting code around, but really it just takes a few seconds so I don't think time concerns are a good argument against it. Rather you should ask yourself if you want these two
157.
▲
by
alephu5
6y ago
In my experience this is quite typical in the python community, I think it's a consequence of the batteries-included philosophy. Many people are very averse to using primitive data structures and operations to solve their problems, so
158.
▲
by
alephu5
6y ago
That's how I configure my projects using dhall. I'm working on a web application at the moment with a REST API, database, rabbitMQ, a few python workers, nginx, 2 react projects and a Gatsby project plus some docker composes for t
159.
▲
by
alephu5
6y ago
Yes, this is beyond incompetent. Even someone without any programming knowledge would probably know that you can't have an API for checking the username and password combinations of all users.
160.
▲
by
alephu5
6y ago
The whole point of a helmet is to absorb impacts. It's designed to dampen rapid accelerations so your head doesn't have to.
161.
▲
by
alephu5
6y ago
What about these terms? Black/White magic White lie Dark patterns Black/Grey/White hat Black comedy Whitewash Personally I feel these usages of black/white don't come from skin colour, rather from something like nig
162.
▲
by
alephu5
6y ago
I think its influence on the organisation is what makes it hated. Where I work we spend so much effort and time setting up filters and rules, creating dashboards and health checks. The CTO becomes irate on slack if a sprint is started witho
163.
▲
by
alephu5
6y ago
I work on a codebase full of crappy unit tests that require more maintenance than the software itself. There's even a test that asserts the dockerfile matches a particular regex. It's made me realise that you should only encode yo
164.
▲
by
alephu5
6y ago
https://toys.lerdorf.com/low-cost-vps-testing#hetzner Here you go
165.
▲
by
alephu5
6y ago
They don't justify any of this advice that goes against the prevailing wisdom of "just build something". Beyond some book recommendations this isn't very useful.
166.
▲
by
alephu5
6y ago
The problem is it's not as useful as many people seem to think. I often hear my colleagues suggest ML for anything remotely complicated, even something like "measuring body fat percentage using electricity" that in reality on
167.
▲
by
alephu5
6y ago
This isn't true at all, promises in JavaScript are monadic, as are chains of conditional logic. Stuff like this is literally everywhere: if a: b = f(a) if b: c = g(b) ... else: p() Which as a monad would be
168.
▲
by
alephu5
6y ago
I've got a REST API in production linking to postgres and rabbitmq and I'm very happy with the performance and maintainability. The ecosystem is a bit more bare than with other languages like node, python or java but in exchange t
169.
▲
by
alephu5
6y ago
Digital ocean write some really good articles too.
170.
▲
by
alephu5
6y ago
I am a big fan of using namespaces via docker, in particular for development. If I want to test my backend component I can expose a single port and then hook it up to the database, redis, nginx etc. via docker networks. You don't need
171.
▲
by
alephu5
6y ago
Yes exactly, I have an API and a couple of static sites exposed via nginx. None of the other services have exposed ports and all the networking is done through docker.
172.
▲
by
alephu5
6y ago
I've been using docker swarm on Hetzner for my fledgling business and am quite happy with it. The main feature I use is rolling upgrades that make it very easy to deploy changes. It's simple, and has all the features I need for th
173.
▲
by
alephu5
6y ago
In terms of pedagogy I think there's a valid argument that we shouldn't teach beginners about the do notation until they're comfortable with monads. Coming from an OO background they can grok typeclasses as interfaces quite e
174.
▲
by
alephu5
7y ago
I've heard it's common for people to accept a lower income to live like this and I can understand why. No need for bullshit meetings and you can do things as you think they should be done.
175.
▲
by
alephu5
7y ago
Seems like two different discussions going on here, on the one hand you have core language design such as not having typeclasses, and it's fair to say it's the core team's prerogative to organise these decisions as they want.
176.
▲
by
alephu5
7y ago
There's a tendency to be very idealistic when talking about IO in haskell, people talk about launching missiles when you ask to print a string and it makes you think we're purist fools. For debugging you can easily drop print stat
177.
▲
by
alephu5
7y ago
I am trying to bootstrap a SaaS business by myself and chose to split between SPA+rest for the product itself and static html + CSS + vanilla js for the landing page and documentation. I chose this because I've got limited resources an
178.
▲
by
alephu5
7y ago
I'm combining servant and Yesod into a single WAI app so that I can serve a web app and provide an API from the same server. For DB access I'm using persistent.
179.
▲
by
alephu5
7y ago
I've been been learning haskell by building a standard monolithic web application: Postgres DB, some static content, REST API and firebase authentication. It's taking longer than it would with a familiar language but so far I'
180.
▲
by
alephu5
7y ago
Yes, give the employees back the time they've spent and they'll refund the money.
More ›