| Which is why when folks nowadays say "you cannot use XYZ for embedded", given what most embedded systems look like, and what many of us used to code on 8 and 16 bit home computers, I can only assert they have no idea how powerful modern embedded systems have become. Now that it is a pity that when people talk about saving the planet everyone keeps rushing to dispoable electronics, what serves me to go by bycicle to work, be vegetarian, recicle my garbage, if everyone is dumping tablets, phones and magnificient thin laptops into the ground, and vapes of course. |
| |
| ▲ | smokel 2 hours ago | parent | next [-] | | One of the more inspired design choices of the parking ticket devices in my area is the inclusion of a key repeat feature. If you keep your finger on the touchscreen for just long enough, it helpfully repeats the keystroke while you're entering a license plate. Given the inevitable hardware issues, this means that what should be a single tap frequently becomes a burst of identical characters. The programmers who worked on this probably would've liked to be game developers instead. | |
| ▲ | contravariant an hour ago | parent | prev | next [-] | | Give it some slack, it's probably doing its best to inexplicably run windows. | |
| ▲ | HWR_14 8 minutes ago | parent | prev | next [-] | | It could also be intentional UX design. Or a result of the keyboard hardware. | |
| ▲ | jwr 2 hours ago | parent | prev | next [-] | | That's programmer incompetence. Unfortunately pervasive, especially with devices like parking meters, EV chargers, and similar, where the feedback loop (angry customer) is long (angry customers resulting in revenue decrease) or non-existent. | | |
| ▲ | ttoinou 19 minutes ago | parent [-] | | It could be a management problem instead also, while developers are just following instructions sent by management |
| |
| ▲ | stavros 3 hours ago | parent | prev | next [-] | | Or maybe they think they should be sending each keystroke to a server and waiting for the response. | | | |
| ▲ | csomar 3 hours ago | parent | prev | next [-] | | Everyone was locked out in a building am staying at (40 something stories) for several hours. When I asked the concierge if I can have a look at the system, it turns out they had none. The whole thing communicated with AWS for some subscription SaaS that provided them with a front-end to register/block cards. And every tap anywhere (elevators/doors/locks) in the building communicated back with this system hosted on AWS. Absolute nightmare. | | |
| ▲ | exikyut 3 hours ago | parent | next [-] | | I wonder what happened to the building when us-east-1 went down. | | |
| ▲ | Ekaros 25 minutes ago | parent | next [-] | | Now I am waiting for time when they move us-east-1 physical security to run in us-east-1... Thus locking themselves out when needing some physical intervention on servers to get backup. | |
| ▲ | csomar 2 hours ago | parent | prev [-] | | This is in SEA. They probably operate from ap-southeast-1 or 2. But yeah, if the internet goes down, the provider service goes down or AWS goes down they are cooked. |
| |
| ▲ | sofixa an hour ago | parent | prev [-] | | > Absolute nightmare. Yes, but still probably a million times easier for both the building management and the software vendor to have a SaaS for that, than having to buy hardware to put somewhere in the building (with redundant power, cooling, etc.), and have someone deploy, install, manage, update, etc. all of that. | | |
| ▲ | potato3732842 17 minutes ago | parent | next [-] | | >than having to buy hardware to put somewhere in the building (with redundant power, cooling, etc.), and have someone deploy, install, manage, update, etc. all of that. You don't need any of that. You need one more box in the electrical closet and one password protected wifi for all the crap in the building (the actual door locks and the like) to connect to. | |
| ▲ | Nextgrid an hour ago | parent | prev | next [-] | | > with redundant power, cooling, etc The doors the system controls don't have any of this. Hell, the whole building doesn't have any of this. And it definitely doesn't have redundant internet connections to the cloud-based control plane. This is fear-mongering when a passive PC running a container image on boot will suffice plenty. For updates a script that runs on boot and at regular intervals that pulls down the latest image with a 30s timeout if it can't reach the server. | | |
| ▲ | onli 24 minutes ago | parent | next [-] | | What updates? That would be on a local network and have no internet connection, if done right. | |
| ▲ | Telemakhos 13 minutes ago | parent | prev | next [-] | | You know what else would suffice plenty? Physical keys and mechanical locks. They worked (and still work) without electricity. The tech is mature and well-understood. | |
| ▲ | lazide 23 minutes ago | parent | prev [-] | | Those devices can be trivially power cycled, and won’t have as many issues with dodgy power. Some PC somewhere with storage is a bigger problem. |
| |
| ▲ | csomar 14 minutes ago | parent | prev [-] | | The system was not built with resiliency in mind and had no care/considerations for what a shit-show will unfurl once the system or the link goes down. I wonder if exit is regulated (you can still fully exit the building from any point using the green buttons and I think these are supposed to activate/still work even if electricity is down). > Yes, but still probably a million times easier for both the building management and the software vendor to have a SaaS for that, than having to buy hardware to put somewhere in the building (with redundant power, cooling, etc.) A isolated building somewhere in the middle of the jungle dependent for its operation on some American data-center hundreds of miles away is simply negligence. I am usually against regulations but clearly for certain things we can trust that all humans will be reasonable. | | |
| ▲ | HWR_14 4 minutes ago | parent [-] | | In the US, the answer is that exit would have to work in the event that AWS is down or power is out. Some exceptions exist for special cases. |
|
|
| |
| ▲ | pjmlp 3 hours ago | parent | prev [-] | | What can you expect, when people assume as normal shipping the browser alongside the "native" application, and scripting languages using an interpreter are used in production code? Maybe that ticket machine was coded in MicroPython. /s | | |
| ▲ | eru 3 hours ago | parent | next [-] | | Interpreters don't have to be slow. Forth is usually interpreted and pretty fast. And, of course, we have very fast Javascript engines these days. Python speed is being worked on, but it's pretty slow, true. | | |
| ▲ | anthk 3 hours ago | parent | next [-] | | Some Forths are dog slow such as PFE compared to GForth. Meanwhile others running in really slow platforms such as subleq (much faster in muxleq) run really fast for that the VM actually as (almost something slightly better than a 8086). | |
| ▲ | ErroneousBosh 2 hours ago | parent | prev [-] | | It's not really "interpreted", in the way that for example BASIC or Java is. It's a list of jumps to functions. |
| |
| ▲ | anthk 3 hours ago | parent | prev [-] | | - TCL/Tk slowish under P3 times, decent enough under P4 with SSE2. AMSN wasn't that bad
back in the day, and with 8.6 the occasional UI locks went away. - Visual Basic. Yes, it was interpreter, and you used to like it. GUI ran fast, good for small games and management software. The rest... oh, they tried
to create a C64 emulator under VB, it ran many times slower than one created in C. Nowadays, with a P4 with SSE2 and up you could emulate it at decent speeds with TCL/Tk 8.6 since they got some optimized interpreter. IDK about VB6, probably the same case.
But at least we know TCL/Tk got improved on multiprocessing and the like. VB6 was stuck in time. - TCL can call C code with ease, since the early 90's. Not the case with Electron. And JS really sucks with no standard library. With Electron, the UI can be very taxing, even if they bundle FFMPEG and the like. Tk UI can run on a toaster. - Yeah, there is C#... but it isn't as snappy and portable TCL/Tk with IronTCL, where it even targets Windows XP. You have JimTCL where it can run on scraps. No Tk, but the language it's close in syntax to TCL, it has networking and TLS support and OFC has damn easy C interops. And if you are a competent programmer, you can see it has some alpha SDL2 bindings. Extend those and you can write a dumb UI with Nuklear or similar in days. Speed? It won't win against other languages on number crunching, but for sure it could be put to drive some machines. | | |
| ▲ | pjmlp an hour ago | parent [-] | | I worked on a startup that was mostly powered by Tcl, the amount of rewriting in C that we had to do between 1999 and 2003, when I left the company among all those dotcom busts, made me no longer pick any language without at least a JIT, for production code. The founders went on creating OutSystems, with the same concepts but built on top of .NET, they are one of the most successful Portuguese companies to this day, and one of the few VB like development environments for the Web. |
|
|
|