37 karma · joined Jun 22, 2021 (5y ago) · 34 submissions
comment 6mo ago · link · parent
Your version is nice too!
comment 1y ago · link · parent
This is when I realised it was getting serious. But he’s a Norwegian born in the 40s, so talking about his mental health and opening up to him is near impossible.
I did call him out on these massive lapses in memory, but jokingly though.
However, without formally addressing anything, he started out of no where and never, ever before doing it my entire life: sudoku.
1-2 hours a day, then more, all the time.
He’s now in his mid 80s and as sharp as ever.
I know he went and saw a GP, and they prescribed sodoku.
But the effectiveness of it, taken seriously, is absolutely incredible.
comment 1y ago · link · parent
YAML is more for configuration and meta-data, so my original question didn't make a lot of sense.
You've helped clear my confusions so for that, thanks so much!
As for Obsidian, I just wasn't super keen having a whole extra app just for my note-taking. I like simple Notepad++ (or Geany, now that I'm moved to nix), as it can work on any files, not just text/MD/note docs.
5.
Ask HN: YAML or Markdown for Personal Notes?
2 points · by heigh · 1y ago · 4 comments
comment 1y ago · link · parent
comment 1y ago · link · parent
14.
Ask HN: Project Ideas to Combat Toxic Masculinity Online
1 points · by heigh · 1y ago · 1 comment
comment 1y ago · link · parent
I have the ability to sponsor/build a project with the goal of improving young male minds so that they can get direction, respect women and hopefully realise their intrinsic morals and ethics.
I think you guys know that most of us have these, but youth are especially susceptible to twisting and ultimately ruining that.
I am keen on hearing some ideas to help combat this and building/sponsoring some ideas.
For me, my outlet is art, but that might not appeal to the broader audience. If anyone has a great idea, I would LOVE to hear it.
Honestly, thank you for giving me the platform to discuss this.
16.
3 points · by heigh · 1y ago · 4 comments
17.
Show HN: My Vulnerable Art(heighart.com ↗)
2 points · by heigh · 1y ago · discuss
comment 2y ago · link · parent
UserWarning: You are using a softmax over axis 3 of a tensor of shape (1, 8, 1, 1). This axis has size 1. The softmax operation will always return the value 1, which is likely not what you intended. Did you mean to use a sigmoid instead? warnings.warn(
I know this isn't the right place for this, the right place is raising within github, but because you asked I posted...
comment 2y ago · link · parent
The section "3.2. Training data collection & preprocessing" covers what you're inquiring about: "We train Moonshine on a combination of 90K hours from open ASR datasets and over 100K hours from own internally-prepared dataset, totalling around 200K hours. From open datasets, we use Common Voice 16.1 (Ardila et al., 2020), the AMI corpus (Carletta et al., 2005), Gi- gaSpeech (Chen et al., 2021), LibriSpeech (Panayotov et al., 2015), the English subset of multilingual Lib- riSpeech (Pratap et al., 2020), and People’s Speech (Galvez et al., 2021). We then augment this training corpus with data that we collect from openly-available sources on the web. We discuss preparation methods for our self-collected data in the following."
It does continue...
comment 2y ago · link · parent
Was really hoping it would be a quick, brilliant solution to something I'm working on now, perhaps I'll dig in and invest in it, but I'm not sure I have the luxury right now to do the exploratory work... Hope someone else has better luck than I!
comment 2y ago · link · parent
The bug is actually around a type="number" input field, not a number in an INPUT field. But here goes my summary of it:
<!-- HTML Code //--> <input type="number" id="progress" class="form-control mr-0 pr-0" placeholder="Progress (%)" />
//JS Code $('#progress').on("change",function() { let val = $(this).val().replace(/[^0-9.]/g, '');
// Ensure only one decimal point
let parts = val.split('.');
if (parts.length > 2) {
val = parts[0] + '.' + parts.slice(1).join('');
}
let numVal = parseFloat(val) || 0;
if (numVal > 100) {
numVal = 100;
} else if (numVal < 0) {
numVal = 0;
}
$(this).val(numVal === 0 ? '' : numVal);
});
//Expectation
OnChange, it removed everything except valid numbers (including a single decimal place).//Reality It does this for the first iteration, but not further iterations
//Example 1. Enter "1234.456AB" into the progress field (excluding the quotation marks). 2. blur from the field to trigger the onChange. 3. Observe that it works and produces the result 100 (as per the code). 4. Type in ABCD into the progress field 5. Nothing happens. ABCD remains there.
comment 2y ago · link · parent
I'm a 20 year dev, and it really is a strange bug, but as I mentioned before, I didn't expect a response, so as I only had my password for HN on my phone (which I only have stored there), I didn't have access to my code, nor thought to bother to reset my password and store it so I can access it from my PC.
I'm kicking my laziness/sloppiness-self now, and sorry for my crappy original post. I reset my password and want to thank you both for your feedback.
I will post the bug and see how it goes...
28.
Ask HN: I found an obscure bug with Firefox. Is it worth reporting?
5 points · by heigh · 2y ago · 16 comments
comment 5y ago · link · parent
Could it be better? Sure. Could it be way, way worse? Definitely.