HNHacker News
TopNewBestAskShowJobs

deckiedan

1,083 karma · joined August 12, 2012

submissionscomments
deckiedan··on Ask HN: Are you ok?
I left a comment on your ask HN thread.

It sounds exhausting! If you want someone to chat with, let me know.

deckiedan··on Ask HN: Working fully remotely as a QA and/or deaf person?
I recently had some "how to run a meeting" training, maybe some ideas? This would be just thoughts I have maybe to make remote video/audio meetings work better. Honestly though, I'm just guessing. I'm not an expert (yet!)

Can you delegate the running of meetings to others in your team? Have meetings "chaired" by a different member of your team each time, they're in charge of keeping it to agenda, making sure everyone contributes, doesn't go too off topic, etc. Then they have free reign within that. Use it as a training / mentoring thing for them too.

Before each group meeting, you have a quick 1 on 1 with the meeting chair, let them know your direction, etc, and afterward to debrief if things go badly.

Also, have a PM window open to them during the meeting, and msg them if you need something clarified, or want to say something. I'm sure they'll be happy to ensure that happens. Teams look after each other.

One of the ideas from the meeting training I had was some companies have a "if there's no agenda and notes sent ahead of the meeting with enough time to read them all, then you aren't expected to show up".

Look for information about "Lean" meetings, maybe, there are a few different styles about.

I whole heartedly recommend getting in contact with Dan and Suzie Potter ( https://duzie.com/ ), they're fantastic coaches and team trainers, and excellent and giving out-of-the-box ideas.

deckiedan··on Should lawyers learn to code? Arguments for and against
My grandmother passed away a few years ago, and some of her express wishes were not correctly stipulated in her will - so when things were being sorted out it got messy. Thankfully all the family were really chill and we could sort it out amicably - but I had the idea at the time:

If legal documents have to be parsed and understood almost like source code, could we also have a testing framework? So I could stipulate things I want to happen as tests (user stories) and then run it against the contract / legal document and confirm that it does actually allow what I want to happen?

You'd be restricted to a subset of legal language - and possibly you'd have to actually write documents in some kind of meta-language (probaby lisp...) and then turn it into English or whatever as an output format in the end...

But would this work?

deckiedan··on Blender 2.80 release candidate
The new 2.8 release comes with the Eevee "real time" 3d engine, which should work well with your current system.

If you need to use Cycles, it'll still work fine with your CPU for now - and you can always either use an online render farm (there are many!) for more complex stuff, or buy a separate rig if you end up using it enough.

deckiedan··on Racket Is an Acceptable Python
Since it came up, Tkinter's drag and drop story is pretty grim too.

I've used Tkinter with python to make a whole bunch of quick utilities (sync tools for non-techies, XML editing stuff for file applications which lack needed tools, etc.) and think it's very under appreciated.

deckiedan··on 'Where was the Lord?': Slave testimonies
> This strikes me as extremely flawed reasoning, creating a false dichotomy between ${religion} and nihilism.

Possibly, sorry about that. I guess I've expressed it a bit extreme there - but even toned down, I still feel (yeah, feel. goodbye reason...) that there's some truth to the concept...

Defining "goodness" is difficult. There's a whole bunch of different attempts - logical positivism, utilitarianism, etc, but to me all of them eventually boiled down to some kind of "do whatever makes the happy-chemicals in your brain do their thing...". At some point you have to decide which other non-you-beings you want to compromise with, and which physical/chemical urges you want to cultivate, and which balance between longer-term-goals and instant gratification you want to achieve. Keeping humanity alive, wiping ourselves out to allow other species to survive better for a few more thousand years until something cosmic wipes us all out... It doesn't really make any difference in the end.

> You don't need absolutes to exist in order for a concept to be meaningful. <snip> The same way as you don't need "absolute wet" to exist in order to judge whether something is wet or dry.

Absolutely.

But some kind of definition of wetness, or dryness is probably helpful. :-)

>It's also a common parlor trick to talk about "evil" instead of "bad" as the antithesis of "good". Evil implies intent.

Ah, yes. I guess I'm not really using the right terminology at the moment. Terminology is complicated.

I guess so there should be a scale of "good occurances" and "bad occurances", with evil being intention of bad occurances? But to whom? Is a prison guard commanded to hurt his prisoners intending bad occurances to his prisoners, but intending good for his family being provided for? Is there any way to define whether hurting someone is good or bad? You could argue surgery or chemotherapy is very specifically hurting people with the intention of good for them later... But genocide has been justified under the same argument - but on a societal level. Is there any way to define which things are good, or bad?

I believe there is Good, and anti-good. And I believe that there is a being beyond of our limited perspective, God, who cares about that, and wants us to aim for Good, and if we're willing, will help us in that direction.

> Religious morals generally don't care about good and bad, they care about adherence to a set of strict but arbitrary rules.

Sad, but true.

However, from how I've read the bible, I don't think that's how God (if there is a God) really wants it to be. And if there is a God, and if that's all they care about, they're really not worth caring about.

deckiedan··on 'Where was the Lord?': Slave testimonies
I suspect you're just trolling - but in case you're interested in /a/ perspective from within the broader Christian tradition...

What is evil? What would "evil in men's hearts" mean?

Evil as a concept can only exist if there is some kind of definition of Good, or Anti-Evil as well.

If Good and Evil are both just arbitary made-up definitions by some supreme being with a control-complex, then screw everything, it's all a meaningless shitshow.

Equally, if there is no Good or Evil, just physical/chemical/quantum reactions in a purely mechanical universe, then equally, screw everything. Do whatever makes the happy-chemicals in your brain do their thing.

However, if there is some kind of absolute Good, and absolute Evil, and it's just figuring out what those are and mean that's the complex bit - now we have an interesting universe, and the potential for some kind of meaningful life.

We all argue about whether or not there is a God - or if there is, what He/She/It/They think is Good and Evil, both in our behaviour and in theirs.

But the concept of there being actions which are Good, or Right, and actions which are Evil or Wrong somehow seems baked into our outlook. We disagree about specifics, sure.

It could be that for there to be the potential for Good there is also the potential for Evil. Maybe it's impossible to have Good in our hearts if there is not also Evil.

So what would a supreme being want from us? To aim for good, and avoid evil, sure. We want that from each other too. And from ourselves.

But there are other things too. The bible trys to say God's desired interaction with us is closest understood by the analogy of a Father/Child relationship.

So as a Dad, sure, I want a bit of obedience, especially when they're young and learning... But I'd rather my kids choose Good themselves, and listen to me for advice, and decide for themselves whether or not what I say is Good. And if they disagree, but it's not going to hurt them (too much) or others, then I prefer them do something I think is wrong than them to blindly obey me. I can give them advice, direction, but the older they grow, the more what I really want from them is more and more towards a real friendship.

And I believe the same is true with our interaction with God. I believe God is more interested in a relationship with us, even if we're arguing and debating with Him/Her/It/Them, than in us blinding obeying. I believe there is the potential for a much more fulfilling life by pursuing meaning (and God) than by deliberately turning our backs on the idea.

Jesus said "seek and you will find, knock and the door will be opened to you". Seems like a good advice to me.

(If you want some links, Luke's gospel is an interesting place to start. Or "The Case for Christ" (The book by Lee Strobel - ignore the preachy movie) might be interesting.)

deckiedan··on Google launches new “portal” HTML element
Counter data point: I've had it running with 100+ tabs open for at least 2 months now. Yes, it gets restarted when my phone does - or when I need the resources for something else, or doing updates, but it's working great. Motorola Moto G second gen, running LineageOS...
deckiedan··on Haskell, Ada, C++: An Experiment in Prototyping Productivity (1994) [pdf]
"Rapid Prototyping in Haskell"

would be fantastic.

deckiedan··on How Inuit parents teach kids to control their anger
"Santa Claus is a great game we (our culture) plays. Every year we pretend (x) (y) and (z) about someone called Santa Claus, and pretend he's real! Do you want to play this game too, or would you rather not?"

and

"A lot of other kids really enjoy the Santa game. So don't spoil it for them. Like when you're playing being a pirate captain you don't like it if another kid says you're too young to be captain or your cardboard pegleg is fake..."

Kids more easily accept games and makebelieve, and happily hop into different games.

(2 kids, 4 3/4 and 2)

deckiedan··on Moving from Go to PHP Again
How I've been running multiple wordpress installs for years:

user: $sitename - the 'owner' of the whole hosted dir. rwX

user: $sitename-PHP - the user that php-fastcgi or whatever runs as, r-X permission on the dir, and write permission on the content uploads directory, but CANNOT write to any plugin install dirs, or upgrade php files.

user: nginx - can read all files except the wp-config.php file, which is limited to only the $sitename group reading it.

then use wp-cli to do automatic upgrades every few hours, and a localhost-only ftp server for wordpress to do plugin installs with. When you try to install a plugin, it asks for a ftp username, host as password. You put in the $sitename user, '127.0.0.1' and $sitename password, and you're set. Those login details are never saved anywhere, so the admin has to put them in each time (or their browser stores them).

Works pretty well for me.

deckiedan··on Brexit Deal Fails in Parliament
Taking the "they voted to leave regardless of deal" concept to the absurd: technically pointing all the british nukes at ourselves and literally wiping ourselves off the face of the earth would remove us from the EU. But no-one voted for that.

On the other end of the spectrum, leaving the EU, but remaining under all EU regulations, staying in the free trade / free movement / etc laws, being in a similar position as now, paying massive divorce bills and paying essentially membership fees / EU taxes with no return EU investment into the UK and with no voice or representation in the EU politics at all, the whole 'vassal state' thing, could be technically "leaving the EU" as well. But that's also not what anyone voting to leave meant either.

"Out at any price / In at any price" is as absurd a polarisation as the above examples.

People have been trying to paint this as a binary issue - ever since the referrendum put it in such a YES/NO terminology. But we're not binary creatures, life is messy and complex.

deckiedan··on Ask HN: Fastest way to get started with freelancing?
One possibility for showing the projects off behind the firewall would be creating a intro/demo video of the systems - for new employee on boarding, but also you could probably get permission from your manager or whoever to take a copy of the video home (or put online) to show family/others what you've been up to.
deckiedan··on Ask HN: Great books you read in 2018?
"The coaching habit" by Michael Bungay-Stanier - I've done some coaching training, and this is a great intro to using some of those concepts in looking after a team.
deckiedan··on PyQt5 Tutorial: Create a Python GUI in 2018
I have 3 "internal" tools in electron I need to have running all the time on my PC... It's a corporate dell mini PC, poor thing.
deckiedan··on Vbuild: “Compile” Vue components to standalone HTML/JS/CSS
This could be very useful for django/vue stacks, to limit what's needed server side...
deckiedan··on The Story of Why I Left Riot Games
It's older than just "a slogan about sexual assault".

"No means No!" is a common parenting phrase to teach kids when a parent says "no", they mean it. If you asked for an ice-cream, and I said no, then stop asking again!

I have no data on the origins on the phrase in English as such, but certainly the concept has been around even back to the 1st Century - with the Phrase "let your yes mean yes, and your no mean no, everything else comes from the evil one" back in Matthew's gospel (5:37).

deckiedan··on Bail has become a way to lock up the poor regardless of guilt or threat
If the system is broken/to blame, then the system should be sued. What if the state had to pay compensation in cases of "honest" mistakes? Then the state would start having to try harder to not let innocents get imprisoned.
deckiedan··on South Korea has limited a working week to 52 hours, in order to stop overwork
To me, an American and a male, work is the number one way I choose to be valuable. If I chose not to work, or to work less, I would unquestionably provide less value to my society and my loved ones.

Don't sell yourself short. Your loved ones love you too - for who you are, not for the money you bring in.

Quality time spent with your loved ones should be waaaay higher up the valuable list. Maybe ask them: If I earned 30% less, but had an extra day of time off per week with you guys, would you day that was worth it?

Of course, there's basic provision - providing enough that off time can be quality time. Providing enough that schooling can be decent... But your value is way greater than your income.

deckiedan··on The final step for huge-page swapping
All those quoted performance improvements sound great - but what kind of Real World workload or environment would one need to be in to see this in action? Anywhere when swapping? Or does it need to be with special hardware? Would a SSD backed low-memory VM be improved?
deckiedan··on Minimalist C Libraries
At this level, surely it's better to leave it to the "user" of the library - who can always write a wrapper for all their used libraries to the same style API for use in the rest of the program
deckiedan··on Fifty Years of Basic, the Language That Made Computers Personal (2014)
Lua and the löve ecosystem / thing is quite fun.

https://love2d.org/

deckiedan··on What's Going on in Your Child's Brain When You Read Them a Story?
Worked great for us - we only used about 10 signs, but things like our son suddenly at the table refusing all food and waving randomly at the table - so we asked (rhetorically) 'fine! What do you want?' And he signed "water". After a swig he happily carried on eating. Also our daughter running up to us (11 months) and signing she wanted her diaper changed. Sure enough...

We have other friends with similar aged kids who's kids get incredibly frustrated when they cannot communicate something like that and just scream until the parents five then what they want.

Our kids did use it both differently, and different amounts, but it was a minor helpful extra for us.

deckiedan··on KRust: A Formal Executable Semantics of Rust
The really awesome thing with rust is how easy it is to make library code which can be called from any language including C and C++ (in most situations) - just as easily as writing a library in C or C++. In some situations even easier than C++.

Thus I can easily see rust replacing C/C++ as the default language for writing 'high performance libraries' in, for use in Ruby/Python/etc. It's usually more similar to what higher level programmers are used to too. You get to use functional code for a start.

But also exactly as in Firefox - libraries / modules can be written in Rust, and then brought in to replace existing C++ code. And I'm sure the ergonomics of this process will improve too.

If a C++ project lead / manager can say, in all honesty: "The x component needs to be re-written for whatever reason - either major refactoring for a desired feature, or performance, or to split out to use in another product. We can either do it in C++, or Rust, and Rust will garentee no new segfaults, we can trivially parellelise a lot of it for improved performance, etc. etc. with no major disadvantages..." then Rust will inevitably grow.

deckiedan··on Reading Aloud to Young Children Has Benefits for Behavior and Attention
My parents read to my brother and I up until I left home at 18. By then it was more so that we didn't all (parents included) squabble about who got to read the new books first.

My dad read the Swallows and Amazons series to us, then a bit later the Hornblower series, also the Redwall series, the Hobbit, the Lord of the Rings, Treasure Island, Kidnapped, a few Dickens, Robinson Crusoe, all Narnia, possibly a couple of Shakespear. A bunch of classic Sci-Fi: Day of the Triffids, the Foundation series, etc.

My mum read first quite a lot of Enid Blighton (Famous 5, Secret 7, magic faraway tree, etc)(really dated now), a few of the 'Chalet School' books (I got bored of those though my brother read the rest to himself), Agatha Christie, Jane Austin, Jane Eire, Don Camilo, Adrian Plass, Harry Potter, an Abridged Narnia and Abridged Lord of the Rings when we were younger (I think she just skipped the scary parts), Roald Dahl and Dr. Seuss (our 3 year old loves them now), Katie Morag (lovely gentle stories), Dick King Smith, Alexander McCall-Smith has a few great calm fun fiction for kids (The Perfect Hamburger, for instance), Treasures of the Snow, Paddington, E.Nesbit, the Princess and Curdie et al, The Secret Garden, Dogger, the Story of Ping (AFTER you read it, check the amazon reviews), Politically Correct BedTime Stories ...

My wife and I are now reading (for the second time) through David Eddings' 'The Belgariad' together. I grew up reading those, although my parents never read them out loud, I dunno why. They work great out loud, but are definately for older readers. Teenagers or so. Kind of obvious plot - but the characters are so much fun to read, and it's a predicatable enjoyable journey.

Other older teenager series to read might include Ted Dekker's the Circle, Tamora Pierce, some of Anne McCaffery (depending how comfortable you are reading stories which include sex - maybe read them yourself first), Eragon (don't watch the movie though), Stephen Lawhead's various serieses, the Empryion one is a good start. Not too long, nor too heavy. Some John Grisham (The Street Lawyer is EXCELLENT.)

I'd recommend all of the above to get started :-)

deckiedan··on Python’s Weak Performance Matters
Have you tried using Cython to compile code like the above? Python's sets / maps / reading data etc should be fairly optimised, so Cython might let you bypass boxing counter variables instead using native C ints or whatever.

Also, if the data you're reading is numeric only - or at least non-unicode / character data - you might be able to get a speed boost reading the data as binary not as python text strings.

deckiedan··on Async Iterators: These Promises Are Killing My Performance
Perl is great, but not that much (if any) faster to run than the equivalent Python, these days.

If you use perl regularly, then the $_ syntax stuff is super fast to type and do all kinds of cool stuff, but I find as a irregular scripter that I forget after 6 months or so. Python's monotonous syntax means stuff is generally still understandable even by non programmers.

deckiedan··on Show HN: Moon – fast 7k Vue alternative
Which do you use? I've been bitten numerous times by a seemingly normal object or array method being Mozilla only or not yet standardised...
deckiedan··on Why I haven't jumped ship from Common Lisp to Racket just yet
Rust. https://doc.rust-lang.org/book/second-edition/ch11-03-test-o...
deckiedan··on Ideal OS: Rebooting the Desktop Operating System
I think the macOS sandbox, "apps can only access their own files, unless the OS file open dialog is used to select" is a really clever solution, and could be extended -possibly to URLs too? On install an app can list "home domains" everything else requires a confirm or general permission (for web browsers).
← PreviousPage 3 of 14Next →