HNHacker News
TopNewBestAskShowJobs

danmur

739 karma · joined November 23, 2018

submissionscomments
danmur··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
Your last point is why I use hibernate. The actual boot time is barely noticeable on new laptops but even if I remember what I was doing when I hibernated it, which is rare, it still takes a while to get all my terminal windows back and everything where it was.
danmur··on Disclosure of three 0-day iOS vulnerabilities
Given they can apply censorship per region I'm sure they could apply a simple setting change per region if they wanted to.
danmur··on Apple's Power Move to Kneecap Facebook Advertising Is Working
I meant it feels icky to approve of anything Apple does :P.

EDIT: just to clarify, I 100% agree it's a great change, it's just that "right thing for the wrong reasons" situation. But it's a very good change and I hope it continues.

danmur··on Apple's Power Move to Kneecap Facebook Advertising Is Working
I agree, even though it feels a bit icky. I'm sure Apple have their eye on that advertising money in some way but anything that damages Facebook is highly likely to be a net positive.
danmur··on Social media influencer/model created from AI lands 100 sponsorships
I wonder if Max Headroom counts :)
danmur··on Firefox Browser: best for a free web
I don't use it a great deal, but if you try it you can see why you'd use it over the OS screenshot. The easy answer is you can take a screenshot of a while page, or more than the portion that's showing.
danmur··on Helio Project: libre music composition software
Sex is the same if you're selling it (although buggy software will most likely not play a part)
danmur··on Cat Automatic Sprayer
I like harvesting grass by hand. They only like a small subset of grass (my spoiled cats anyway) so I might as well get credit for it.
danmur··on The Dual-Drive IDE Hell
It doesn't seem to be what this article is about, but 25 years ago I needed to have a hdd and a cd writer on the same IDE cable and I couldn't get it to work without windows blue-screening. It forced me to switch to linux and I never switched back (except for work and various other annoyances).
danmur··on The State of Python in 2021
I use scalene, it's great. py-spy is good too for more real-time use
danmur··on Ask HN: Why is YouTube adding “&pp=sAQA” to video URLs?
That's hilarious
danmur··on Do Developers Read Compiler Error Messages? [pdf]
I know what you mean, it should store everything but not print it all out. That's kind of on application developers too though, so many programs I've worked on had terrible logging (too much information, the right information not at the right level).
danmur··on APSE – A Personal Search Engine
I'm positive there are programs that can take a screenshot on a timer already, or at worst easy ways to achieve that
danmur··on Don’t Wanna Pay Ransom Gangs? Test Your Backups
I think buying insurance would be a better analog to having good backups. You save some money by not buying insurance, just like when you skimp on IT infra. Warehouse fires / ransomware gangs will cost more if they happen, but if they don't you came out ahead (I guess).
danmur··on BANCStar (2000)
BA's can write this though :). It's a spreadsheet after all.
danmur··on The worst volume control UI in the world (2017)
It absolutely did, it's only just started doing it recently. Drives me freaking nuts.
danmur··on This Website is hosted on an Casio fx-9750GII Calculator
My school let you have two calculators so you could have notes on one of them and use the other. I don't really understand why, I'd rather just have paper notes. Fun things to play with though, the HP38G's we had had a nifty infrared communication thing so you could trade stuff with other people.
danmur··on The short tale of an online scam
Plus the redirect shenanigans some companies pull is pretty ridiculous too. It seems like logging into an intranet protected by MS login it flashes through about 15 different domains that I can't even make out.
danmur··on How Julia Uses Multiple Dispatch to Beat Python
So just to clarify since it perhaps wasn't clear, I'm talking about singledispatch from the standard library: https://docs.python.org/3/library/functools.html#functools.s...
danmur··on How Julia Uses Multiple Dispatch to Beat Python
Singledispatch is old, dates back to py2: https://docs.python.org/3/library/functools.html#functools.s...

I definitely agree that multiple dispatch is a lot harder :). But most of the examples in the article didn't need it, and it would have been appropriate I think to show equivalent code in Python. All that article did was make me think the author didn't know Python very well.

There are several libraries for multiple dispatch too, for e.g. https://github.com/wesselb/plum

danmur··on How Julia Uses Multiple Dispatch to Beat Python
I have nothing against Julia, but most of those examples could have been written with singledispatch in Python. Seems a bit disingenuous to just completely ignore it. (not to mention the "In Python, this is solved with" type examples aren't representative of how anyone would actually write it)
danmur··on Why it took us thousands of years to see the colour violet
It took decades to fashion them out of tables
danmur··on Your CPU may have slowed down on Wednesday
Just as a fun test a while ago I made a small desktop app with scala and scalafx/javafx. It's not bad, gives you some of the nice things you get from js guis (reactive rather than loads of callbacks etc).
danmur··on Your CPU may have slowed down on Wednesday
It's a shame that cross-platform GUI toolkits seem to have fallen out of favour somewhat (as in, native toolkits like Qt or GTK). I wish it were not so. I can see why the electron route is so tempting, I just really hate them as a user.

I wrote a bunch of GTK desktop apps with Python like 15 years ago and they were snappy and you'd never even know it was Python behind it, but I wouldn't do that now. Too hard to distribute, bindings a bit clunky, lots more cross-platform testing, it's hard to look at the relative levels of effort and not take the faster path.

danmur··on Julia: Faster than Fortran, cleaner than Numpy
Python has importlib.reload(), though I haven't found much need to use it
danmur··on Maddy: Composable all-in-one mail server
This doesn't answer your question, but I gave up on hosting my own email. I host my own other stuff where I can but email is just too much of a pain; constant delivery problems (especially to MS), spam is a pain to keep up with etc.
danmur··on Tim Cook: Sideloading is “not in the best interests of the user”
I highly doubt any issues with security of the Android ecosystem in general have anything to do with side loading.
danmur··on BuzzFeed News Has Won Its First Pulitzer Prize
Wow ok, I did not know that. I thought I'd become tainted somehow because I liked a few articles I read.
danmur··on Good and Bad Elixir
I've noticed this is much more pronounced if there's been no discussion before the PR (talking more about larger decisions than what's in the bulk of code review feedback I guess). I've observed many times people being frustrated because they write some code without making sure the relevant people are happy with the overall approach, then getting torn apart in the PR.
danmur··on What Are “Unusual Characters”?
They could just be lazy/uncaring/incompetent. At least as many of them as racists.
← PreviousPage 9 of 14Next →