Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 2y ago · link · parent

I think it would be good if they provided some samples on the readme. It would be good for example if their list of languages/accents could be sampled [1]

[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

It's really not clear from that readme what it's about, maybe more people would be interested if it was more descriptive and had a screenshot?

comment 2y ago · link · parent

To be fair, I have seen with some of these robotics platforms they send them by air in a pelican case [1] with custom cut foam inserts. The price for shipping racks up quickly.

[1] https://www.pelican.com/products/cases/

comment 2y ago · link · parent

I'm not sure that is a good comparison. My old car cost ~$500 and weighed about 1000kg. If anything that is a comment on consumerism and not the value of things.

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

Looks like a cool platform, but you won't be paying $1600 USD https://shop.unitree.com/en-gb/products/unitree-go2?variant=... :

> $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

Would like to add that I have purchased myself the SDR so that I can replicate the experiment/work done here - it seems super cool!

comment 2y ago · link · parent

I'm not sure it's the same, IPFS would be another (valuable) thing entirely. I would be tempted to say that the torrent filesystem should be kept strictly in the scope of torrents.

comment 2y ago · link · parent

Nice! A small piece of feedback: I would have the dimensions mentioned in the text also annotated on the diagram. It wasn't exactly clear how the input data was flattened for example.

comment 2y ago · link · parent

Couldn't help but think it would be epic if it went the other way - you throw files into a folder, it's set as read-only and then share that as a torrent.

comment 2y ago · link · parent

I did think about this - but then I thought the variation in displays/monitors and people would enhance the experiment.

comment 2y ago · link · parent

The change was literally just made: https://github.com/google-research/google-research/commit/4a...

It appears this was in response to Hacker News comments.

comment 2y ago · link · parent

> In order to quantify Jpegli's image quality improvement we enlisted the help of crowdsourcing raters to compare pairs of images from Cloudinary Image Dataset '22, encoded using three codecs: Jpegli, libjpeg-turbo and MozJPEG, at several bitrates.

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

Almost definitely billions and almost definitely multiple years. Planning, testing and clean-up alone could be over a year. It's far too early to even put a number on it.

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

> I think with esp32s3 and floppies we can make some cool computer kits :) there are also 5" spi displays 800x480 that are pretty fast

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

Registers can be worked around by using the stack and/or memory. Division could always be implemented as a simple function. It's part of the fun of working at that level.

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...

[2] https://www.aliexpress.us/item/1005006222846299.html

comment 2y ago · link · parent

Also saves some CPU cycles, less to encode/decode. Once you get that last '}' you know you're at the end.

> 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

> This sounds like a case of Schrödinger's documentation: it may or may not exist. I think Boeing is still looking for it and doesn't want to admit they don't have it until they're absolutely, positively certain they don't.

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

Exactly this - US law applies to the US only. In order for Apple and Epic to operate in the EU, they must abide by EU laws.

comment 2y ago · link · parent

I took the Ackermann function [1] from Rosetta Code [2]:

    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

Oh man, that really sucks, to the point I would consider against using Docker for anything deployed. 5 years and such a basic security issue goes unfixed.

comment 2y ago · link · parent

> I'm not talking about static content.

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

Tested earlier, still seems to be working fine. I can only suggest to try a VPN/alternative DNS?

comment 2y ago · link · parent

> 3. Make the project enter the 21st century by adding CI, linters, fuzzing, auto-formatting, etc

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

+1 On this, the real proof would have been testing both models side-by-side.

It seems that it may be published on GitHub [1] according to HuggingFace [2].

[1] https://github.com/microsoft/unilm/tree/master/bitnet

[2] https://huggingface.co/papers/2402.17764

comment 2y ago · link · parent

I can't speak for you, but it's really not too difficult to host some static content on a VPS. At the very worst, the VPS is compromised somehow, and you refresh it from the admin panel.

comment 2y ago · link · parent

> The ddos attack was focused on a file on my site. Yes it’s partly my fault to put a 3.44MB size sound file on my site rather than using a third-party platform like SoundCloud. But still this doesn’t invalidate the point of having protection against such attacks, and limit the spending.

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.

[1] https://lowendbox.com/blog/1-vps-1-usd-vps-per-month/

comment 2y ago · link · parent

> The biggest worry is GPS. Way too much stuff is dependent on GPS. Including stationary stuff that ought not to be.

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

Looks quite easily fixable too, the JS is quite simple.

comment 2y ago · link · parent

> Edit: Just want to make one point really clear; these errors don't generally manifest out of the box. That is, it takes time before the CPU becomes affected. In my case, every CPU took between 1-3 months before the exact same behaviour started to show. DX12 and shader comp, either at initial shader comp or during gameplay, would crash the game client out.

> 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

> * pinetab 2 has some noname WiFi chipset without any hope for mainline drivers, literally will need an out of tree module for the main networking of the device. Why didn't they just use a replaceable e key m.2 module??

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.

1
192021
78