7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions
comment 2y ago · link · parent
[1] https://github.com/espeak-ng/espeak-ng/blob/master/docs/lang...
> eSpeak NG uses a "formant synthesis" method. This allows many languages to be provided in a small size. The speech is clear, and can be used at high speeds, but is not as natural or smooth as larger synthesizers which are based on human speech recordings. It also supports Klatt formant synthesis, and the ability to use MBROLA as backend speech synthesizer.
I've been using eSpeak for many years now. It's superb for resource constrained systems.
I always wondered whether it would be possible to have a semi-context aware, but not neural network, approach.
I quite like the sound of Mimic 3, but it seems to be mostly abandoned: https://github.com/MycroftAI/mimic3
comment 2y ago · link · parent
The value of this platform comes from the R&D, scale, support, packaged software, etc, etc.
Assuming they sell 10000 units at an average ~$300. At that scale likely a $100 of each unit is in parts/tooling, then assembly/flashing/testing. That's approximately $20mn to be split by:
1. Likely minimum team of 10 people on development for 4 years, at ~$100k per year (with overheads), for $4mn. Kickstarter in 2020: https://www.kickstarter.com/projects/petoi/bittle
2. Investors probably threw in $4mn along the way and look to claw that back (couldn't find investment info on a quick search).
3. Tax appears to be ~20% in most places, so 20% of $30mn is $6mn.
Leaving approximately $6mn, everybody gets a bump and they are left with enough to expand and run the company for ~2-4 years without needing to raise additional investment. That's a lot of pressure to get a new product out there.
comment 2y ago · link · parent
> $1,600.00 USD
> Shipping costs $399 per unit, Remote Countries $500-$1000
> Not include customs duties, Please comply with local customs laws pay customs duties and clear the goods
By the time you are done, you will be paying between $2000 and $3500 for the base model. It might still represent good value, but it's still more than it is advertised.
comment 2y ago · link · parent
It appears this was in response to Hacker News comments.
comment 2y ago · link · parent
Looking further [1]:
> It consists in requiring a choice between two different distortions of the same image, and computes an Elo ranking (an estimate of the probability of each method being considered higher quality by the raters) of distortions based on that. Compared to traditional Opinion Score methods, it avoids requiring test subjects to calibrate their scores.
This seems like a bad way to evaluate image quality. Humans can tend towards liking more highly saturated colours, which would be a distortion of the original image. If it was just a simple kernel that turned any image into a GIF cartoon, and then I had it rated by cartoon enthusiasts, I'm sure I could prove GIF is better than JPEG.
I think that to produce something more fair, it would need to be "Given the following raw image, which of the following two images appears to better represent the above image?" The allowed answers should be "A", "B" and "unsure".
ELO would likely be less appropriate. I would also like to see an analysis regarding which images were most influential in deciding which approach is better and why. Is it colour related, artefact related, information frequency related? I'm sure they could gain some deeper insight into why one method is favoured over the other.
[1] https://github.com/google-research/google-research/blob/mast...
comment 2y ago · link · parent
Even if we assume $600m is the correct number, the expenditure is evenly distributed, and it takes 6 years to be fully up and running. Based on 3% inflation alone:
Year 1: $100m, Year 2: $103m, Year 3: $109m, Year 4: $112m, Year 5: $116m, Year 6: $119m = $666m
comment 2y ago · link · parent
Not sure there is much interest from younger people these days outside of a small niche. Checkout any kind of OS/computer architecture classes on a University campus.
Could be super cool to build a 'mobile phone' that runs on floppy disks.
> PS: I am working on adding UFI support, it is using CBI to the esp32 mass storage which support only BOT, but its going quite slowly because I am trying to use cheap 4$ logic analyzer to debug and its losing samples :(
Have you documented this somewhere?
comment 2y ago · link · parent
Regarding graphics, initially output serial. Abstract the problem away until you are ready to deal with it. If you sneak up on an Arduino and make it scream, you can make it into a very basic VGA graphics card [1]. Even easier is ESP32 to VGA (also gives keyboard and mouse) [2].
[1] https://www.instructables.com/Arduino-Basic-PC-With-VGA-Outp...
comment 2y ago · link · parent
> Once we got word of this research work and how exploiting the technique could potentially impact our AI products, we did what we always do in situations like this: we assembled a team of systems engineers, security engineers, and product managers and started discussing risk mitigation strategies and next steps. We also had a call with the researchers, who kindly attended, presented their conclusions, and answered questions from our teams.
Talk about making a mountain out of an ant-hill.
At work today I 'got word' of a bug in a meeting consisting of our top engineers. We discussed the issue extensively and were promptly able to devise a solution that was delivered to our products shortly after via our cloud-based code management system.
Otherwise, the missing semi-colon didn't cause too much issue and the every day stand-up meeting went well.
comment 2y ago · link · parent
I can imagine that for each plane could exist millions of documents, hidden away on different servers. Best-case scenario they could claim that a subcontractor was order to create it and lost it.
From experience I saw a company where people would have single copies of documents stored on hard drives, personal cloud drives, memory sticks, etc. They were always able to find what they needed, but there were a few close calls.
This is where being under so much pressure to produce the documentation, somebody ends up magic-ing it into existence. I wonder if they even have a chain of custody that would highlight that forms, etc, were retroactively created?
comment 2y ago · link · parent
function ack(m: number, n: number): number {
return m === 0 ? n + 1 : ack(m - 1, n === 0 ? 1 : ack(m, n - 1));
}
I tried `ack(m = 2, n = 2)` but the recursion depth prevented (3, 2) or (2, 3).[1] https://en.wikipedia.org/wiki/Ackermann_function
[2] https://rosettacode.org/wiki/Ackermann_function#JavaScript
comment 2y ago · link · parent
I think the person in the original article was, at least for the sound file.
> I need the whole enchilada: DB, Web Server, Dynamic Languages, etc. Also, for a shipping, production application, with hundreds of users; where privacy and security are of paramount importance.
It seems quite simple to me, you either learn security, or pay for the expertise of someone that has. You need to decide whether it's worth your time.
I would suggest one thing, though - even with the likes of <big cloud>, they will only provide security in limited cases, i.e. DDoS. Nobody at <big cloud> is going to make sure your application logic works correctly - they clearly won't even make sure you use their resources within sensible bounds.
comment 2y ago · link · parent
I would break this down:
a) CI - Ensure not just you can build this, but it can be built elsewhere too. This should prevent compile-based regressions.
b) Compiler warnings and static analysers - They are likely both smarter than you. When it says "warning, you're doing weird things with a pointer and it scares me", it's a good indication you should go check it out.
c) Unit testing - Set up a series of tests for important parts of the code to ensure it performs precisely the task you expect it to, all the way down to the low level. There's a really good chance it doesn't, and you need to understand why. Fixing something could cause something else to blow up as it was written around this bugged code. You also end up with a series of regression tests for the most important code.
n) Auto-formatting - Not a priority. You should adopt the same style as the original maintainer.
> 5. If you can, contemplate rewrite some parts in a memory safe language
The last step of an inherited C++ codebase is to rewrite it in a memory safe language? A few reasons why this probably won't work:
1. Getting resources to do additional work on something that isn't broken can be difficult.
2. Rather than just needing knowledge in C++, you now also need knowledge in an additional language too.
3. Your testing potentially becomes more complex.
4. Your project likely won't lend itself to being written in multiple languages, due to memory/performance constraints. It must be a significantly hard problem that you didn't just write it yourself.
5. You have chosen to inherit a legacy codebase rather than write something from scratch. It's an admittance that you don't have some resource (time/money/knowledge/etc) to do so.
comment 2y ago · link · parent
It seems that it may be published on GitHub [1] according to HuggingFace [2].
comment 2y ago · link · parent
This is extremely sad. It's like we are taking steps backward. A 3.44MB should not be an issue and if it is, the answer should not be to host it elsewhere. If there is no other lesson learned here, it's that there is no such thing as 'free'. As others have said, there should be more done to prevent such large losses without some kind of limit.
I would also like to point out that VPS's are extremely cheap [1] and extremely easy to manage. They have automatic limits.
comment 2y ago · link · parent
Yeah, it's a major concern. It's not just from solar storm events, but also warfare/cyber security. I suspect if a major world war were to breakout tomorrow, the internet (under sea cables) and satellites of all kind would be a significant target.
comment 2y ago · link · parent
> The issues started small. Very occasional errors as per the title, when trying to load the game, but clicking away and trying again would mostly work. Then sometimes work. Then never work, indicating the CPU was degrading. Then even in times where it would load to the menu, trying to get to the staging area would crash out, again with the same error. Checking the game log, it pointed to the shader comp causing a fatal error.
> Replacement CPUs fixed all that. For a while. But in those cases, the game would load up and go into a match but during gameplay, would CTD. Checking the game log again, it showed that shader decompression, due to traversal, was again causing a fatal error.
Uh oh, looks like the physical CPU itself degrades over time. The problem here is that currently, the only fix once you start experiencing the degradation appears to be a complete replacement of the CPU. I have a sneaking suspicion we will see some micro-code or dodgy kernel patches which affect performance.
The only current proposed work around will buy time, but will still degrade:
> "Intel i9 13900k/i7 13700k: Underclock 'Performance Core' Speed It has been noted that players with the Intel i9 13900k/i7 13700k CPU are prone to these crashes. Players have been able to work around this by underclocking the 'Performance Core' speed using Intel XTU, from x55 to x53."
Note to self, steer well clear of Intel for a while.
comment 2y ago · link · parent
I was trying to push these guys towards modularity years ago. There is zero upgrade path and you are essentially buying what will become e-waste within 2 years of purchase.