Better HN
topnewbestaskshowjobs
Log inSign up

padf

5 karma · joined Aug 22, 2022 (4y ago) · 10 submissions

Submissions

comment 1d ago · link · parent

I think that it is a language to care a lot. In Elixir (Erlang/BEAM under the hood) you build a system from independent processes that communicate through message passing. As long as the behaviour of a process does not change, using Elixir HLS is a way of doing embedded SW/HW partitioning in "one language".

You first build your system using Elixir, find the critical processes, and after migrate those to HW (FPGAs)using Elixir HLS.

Very interesting!

comment 2y ago · link · parent

Also useful if you want to do microprocessor debugging.

OpenOCD is scriptable/configurable using a small variant of TCL called JimTcl.

https://openocd.org

https://jim.tcl.tk/index.html/doc/www/www/index.html

comment 2y ago · link · parent

The taxes are 'abusive' because they are sometimes very carefully "hidden". Ryan Air is wonderful compared to the nightmare called WizzAir.

The issues with WizzAir:

-Administrative fees of 9 Euro on each flight, for each passenger.

-Trolley bag (10 kg) an extra of around 60 Euros.

-Want have the same fare for 48 hours? Pay an extra 12 Euros.

-After that, checked in bag, is around 40 Euros per flight.

-Check in at the airport costs around 40 Euros.

-Online check in costs 5 Euros, and the say they mail you the tickets two days before.

-They don't mail you the tickets and they don't say anywhere you can only print the tickets on the same day of the flight (atrocious if the flight is at 6 am).

-You can get a refund for a cancelled flight, but the refund link cannot be found on their site. You have a post on Trip Advisor that points to that site.

-If you have paid for a small check in bag (10 kg) but bring that bag to the plane that's an extra 58 Euros (I can live with that).

-The boarding queue may stop for around 15 minutes, because a client needs to pay 58+58 Euros and the boarding attendant is unable to calculate such a complicated mathematical operation, needing the intervention of another boarding attendant (busy). That is a big no NO!

-Of course the web site has "bugs" and you may encounter "issues" that may force you to restart your session, specifically when asking for a refund...

-The "bugs" do not depend on the browser, or the OS (tested on Windows, OSX and Linux).

comment 2y ago · link · parent

Answering myself. Yes, it was an ignorant question as the name is Cocktail Shaker sort: https://en.wikipedia.org/wiki/Cocktail_shaker_sort

comment 2y ago · link · parent

Yes. Ignorant question: if you use bubble sort but go through the array in alternating senses, could it not improve locality and speed?

Array v with N elements:

First pass: go from v[0] to v[N-1] comparing v[i] with v[i+i] Second pass: go from v[N-1] to v[0] comparing v[i] with v[i+i]

This is so obvious that it should have a name...

comment 3y ago · link · parent

Repairable by who?

With Lenovo vendor locking CPUs on desktops?

https://www.servethehome.com/lenovo-vendor-locking-ryzen-bas...

comment 3y ago · link · parent

I don't think there is any evidence of this. Open Source tools fully support Lattice (low end) FPGAs, and support for Gowin FPGAs is not quite as mature. It seems that many of the initial FPGA patents have expired, and that's why many small FPGA vendors are appearing. Please correct me if I am wrong.

comment 3y ago · link · parent

The most interesting tea story is this one: https://www.tea.co.uk/catherine-of-braganza

comment 3y ago · link · parent

Many years ago: Z80 + 6502

CWP Cortex: https://www.computinghistory.org.uk/det/43408/CW-P-Cortex/

aka Ontel Amigo: https://www.old-computers.com/Museum/computer.asp?c=1151&st=...

Another Z80+6502: https://en.wikipedia.org/wiki/Visual_1050

comment 4y ago · link · parent

The trouble is not supporting all the different Operating systems/compilers, as make can do that. The issue is when the OpenGL library location varies, even on the same OS/compiler set.