HNHacker News
TopNewBestAskShowJobs

marble-drink

302 karma · joined June 25, 2019

submissionscomments
marble-drink··on Python Is Eating the World
The only problem with that is it's hard to keep the dependencies up to date. Pip-tools solves this problem.
marble-drink··on Python Is Eating the World
It's not that bad if you use the right tools. The two main options are an all-in-one solution like poetry or pipenv, and an ensemble of tools like pyenv, virtualenvwrapper, versioneer and pip-tools. I prefer the latter because it feels more like the Unix way.

Why should Python have some "official" method to do this? Flexibility is a strength, not a weakness. Nobody ever suggests that C should have some official package manager. Instead the developers build a build system for their project. After a while every project seems to get its own unique requirements so trying to use a cookie-cutter system seems pointless.

marble-drink··on Food is free if you know where to look
I use a bicycle but I'd only do this if I enjoy it anyway, otherwise you're just paying with your time instead of money which is actually a worse deal.
marble-drink··on Food is free if you know where to look
I always wonder why projects like this don't use OpenStreetMap. Public (and private) fruit sources could actually be added to OSM itself.
marble-drink··on The Case Against Octopus Farming
It's amazing to me that people can make the argument that it's not right to eat something based on intelligence. We should give extra care to less intelligent feeling beings, not less.
marble-drink··on The Case Against Octopus Farming
> Though be forewarned: It's a dietary path that gets you equally harassed by vegetarians and the meat-and-potatoes crowd

What kind of people are you mixing with if they are ceaselessly harassing you for what kind of food you're eating?

marble-drink··on Europe is edging towards making post-car cities a reality
You just can't compare commuting on time alone. If you commute by car then 100% of that time is spent sitting down either driving or stuck in traffic. If you commute by public transport then maybe 50% of the time is spent reading, and 50% is spent walking. If you commute by bicycle then 100% of the time is spent cycling.

It's a shame that study only shows a mean aggregate. I'd be interested to see the raw distribution in commute times. Just anecdotally I've known many people in the UK who spend only ten minutes "commuting" to work each day. That rarely seems to be possible in the US from what I've seen.

But, yes, European people don't understand the American way of life. The amount of waste and unsustainable consumption would shock them to the core.

marble-drink··on Oil Needs to Fall Below $20 to Compete With Green Alternatives
Not quite. Oil and its derivatives are also subject to heavy subsidies and taxation. These "corrections" are supposed to take into account external costs and benefits that wouldn't be otherwise in the price but, unfortunately, it is also susceptible to corruption. In the case of oil the external costs are so large that taxation can completely take its competitive edge.
marble-drink··on Plastic bag sales in England halved in past year
Multiple-use plastics. You can use a plastic bag way more than a few times.
marble-drink··on Alan Turing to feature on new £50 note
The wheels are already in motion. It's been that way for decades now. Look around you. The banks will start pushing even harder to get rid of physical currency soon. Except strong discouragement. You already can't do many things with physical currency. Like downloading music or films. This list will just keep growing until eventually physical currency just won't be accepted in most places. This is perfect for the banks.
marble-drink··on Raising the American Weakling (2017)
Yeah, it's at least intermediate. I pulled 220kg at 80kg BW and that took more than a year of consistent training. I know it's a lot because I was lifting with people who lifted for competitions.
marble-drink··on Raising the American Weakling (2017)
I didn't say starting weight. That's not a starting weight for anyone. But it's attainable for most people with training.
marble-drink··on Raising the American Weakling (2017)
Ugh... really? I meant to train yourself to be able to lift two times bodyweight. Nobody can do that without training. Of course I didn't mean that someone should just go into the gym and try it. You should aim for two times bodyweight. Many people just keep lifting the same low weights over and over again.
marble-drink··on Raspberry Pi 4 not working with some chargers
No USB3. I don't think it's any good as a thin client any more, it's only good as a low power server. Before the Pi4 it was much more attractive, especially because of GigE and because the Atom chip in it is pretty good compared to the ARM in the Pi3. But after reading the replies here I'm thinking it's not as good a choice as it once was.
marble-drink··on Raising the American Weakling (2017)
Deadlifts are great. But people need to know what "heavy" really means. For a deadlift that means at least two times your bodyweight. Many people in the gym just don't try hard enough.
marble-drink··on Raspberry Pi 4 not working with some chargers
The power supply in this case was just a wall-wart plug and I always thought they were just transformers which are too simple to fail. But thinking about it now, there must also be a rectifier in there at least. Maybe there's much more than that...
marble-drink··on Raspberry Pi 4 not working with some chargers
Yeah, well I don't think you'd get a 4-core Atom for the same price, so maybe not so good compared to the Pi4 then.
marble-drink··on Raspberry Pi 4 not working with some chargers
Funnily enough my trusty Pi2 which has been running continuously for several years now stopped working last night. At first I thought it must be the SD card, as those are known to fail. Nope. So I thought it must be the Pi itself. I suppose they weren't really designed to be left on for several years? I was sure it couldn't be the power supply, but somehow it was. It will now power up a Pi1, but not a 2 or 3. I've no idea why but it's gone in the bin and the Pi2 works again on a new one.

People really should consider a refurbished Dell Optiplex FX160 instead of a Pi if it's going to be in a headless server role, though. You can get one for about half the price of a new Pi4 on eBay and it comes with a proper power supply unit, high quality case, and of course an Atom CPU which I'm sure compares favourably even to the new Pi4. There was an article about them on HN a while back. Mine has been running happily for almost two years now.

marble-drink··on How FZF and ripgrep improved my workflow
I run Gentoo. Very minimal system. Really quick. sway window manager (i3 clone for wayland). It's probably not as bad as I made it sound, though. I use tools and I am always trying to automate away any work in my life. But I like simple tools that I can understand. I don't like magic. I won't use a tool that promises to solve all my problems and make me rich at the same time. I like to stay on top of it all.
marble-drink··on How FZF and ripgrep improved my workflow
I went back and forth for a bit. Ultimately ivy was faster, though, which meant I could use it for more things. I used ido-hacks before which sped ido up enough to use it for M-x, but ivy is already easily fast enough for that.
marble-drink··on How FZF and ripgrep improved my workflow
Honestly? I derive pleasure from hard work. I'm somewhat of a masochist in that way, I guess. I shun convenience and choose the hard path towards personal enlightenment.
marble-drink··on How FZF and ripgrep improved my workflow
ido-mode was the standard back in the day. I have since moved to ivy/swiper but it was ido-mode that showed me the way some ten years ago (or more).

One sad thing about FZF is that it doesn't also support tab-completion. Both ido and ivy support both tab-completion and fuzzy searching at the same time. They compliment each other really well and make these both much more general purpose tools. One import application is when your search space is a tree (like a file system). FZF sucks at that and the authors have no interest in supporting tab-completion or trees.

marble-drink··on How FZF and ripgrep improved my workflow
That's why emacs users tend to use emacs for everything. Ultimately, everything we do is all text. Editing source code, writing notes, searching through documents, writing emails. It's natural to want to use your favourite tool for all of your text editing needs.
marble-drink··on Productivity brought by Clojure [slides]
Python in a REPL isn't really possible because you can't reload modules. It's OK if you're working on just one module but as soon as that's not true it's just not possible. And if you use relative imports you can't even do that.

I'd love to know if anyone has a way to get it to work because I really miss REPL based development from my common lisp and Clojure days.

← PreviousPage 3 of 3