HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ciarcode

no profile record

Submissions

[untitled]

1 points·by ciarcode·há 2 anos·0 comments

U.S. to announce fusion energy ‘breakthrough’

web.archive.org
4 points·by ciarcode·há 4 anos·0 comments

English Is the Language of Science. That Isn’t Always a Good Thing

smithsonianmag.com
2 points·by ciarcode·há 4 anos·1 comments

comments

ciarcode
·há 3 meses·discuss
Well, this is used in the automotive domain for long time now. Look at matlab/simulink: you can draw your algorithm as a state machine and generate the code out of it. Recently I implemented a state machine to manage a quite complex react component, who moves from one visual state to another through some css transitions. It’s not a difficult state machine, but I think people are not so well versed in it.
ciarcode
·ano passado·discuss
In the post, they specifically talk about two points that seems to address some of your doubts

1. “We expect to have a more curated API that is informed by critical use-cases (e.g. linting, transforms, resolution behavior, language service embedding, etc.).”

2. “We also can imagine opportunities to optimize, use other underlying IPC strategies, and provide batch-style APIs to minimize call overhead.”

Anyway, I’ve used the compiler API a lot too, and I really enjoy its huge capabilities, making possible practically everything on the source code (EDIT: and hijack the build process too). I hope we won’t miss too much.
ciarcode
·ano passado·discuss
I think they answered in their FAQ here: https://github.com/microsoft/typescript-go/discussions/455#d....

If I got it correctly, they created a node native module that allows synchronous communication on standard I/O between external processes.

So, this node module will make possible the communication between the typescript compiler GO process, that will expose an “API server compiler”, and a client side JavaScript process.

They don’t think it will be possible to port all APIs and some/most of them will be different than today.
ciarcode
·há 3 anos·discuss
Ah ok, that kind of lager!
ciarcode
·há 4 anos·discuss
What about SETs?
ciarcode
·há 4 anos·discuss
It’s a war among poor people, that the ruling class love to maintain power.
ciarcode
·há 4 anos·discuss
In automotive, development of control algorithms for the engine is entirely “visual”, through simulink/matlab. You design the model on simulink, then it generates the C code. I don’t have direct experience outside the automotive sector, but I believe that this approach is used in other sectors like aerospace. Maybe designing models is better than writing low level code for control algorithms?
ciarcode
·há 4 anos·discuss
You do maybe
ciarcode
·há 4 anos·discuss
I don’t think you’re really Italian ahahah
ciarcode
·há 4 anos·discuss
These days remember us that is better to have top class military. I’m sad about it, but this is the reality, I guess.
ciarcode
·há 4 anos·discuss
I always think to priority-based scheduling in this way. Maybe it can help someone else.

The scheduler will always schedule the highest priority task among ones in the ready queue, but at different times.

- If preemptive, the scheduler will schedule the higher priority task (higher than the currently running one) as soon as it enters the ready queue.

- If non preemptive, the scheduler will schedule the higher priority task only when the running one terminated or explicitly call a yield() (call to yield --> cooperative)

In principle, you can mix both scheduling types, making some tasks "non-preemptable" and other tasks "preemptable".
ciarcode
·há 4 anos·discuss
Then it would be not an hard real time system.