Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
di4na
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
721.
▲
by
di4na
10y ago
They don't have to. An usual Elixir problem is IO bound, which means that most of the time you don't have to do GC. The BEAM GC each process isolately, which means that if a process die before a GC is needed, the BEAM just clean t
722.
▲
by
di4na
10y ago
You also have to keep in mind that, sadly, most of the toolchain for embedded is... quite old and proprietary. There is a whole ecosystem that force you to stay stucked at old stuff. I know a ton of embedded company that still have windows
723.
▲
by
di4na
10y ago
Yup completely agree. I was hired to do that. Dive in their data, old and new, in my current company. I got insight. I got valuable answers. And when i brought them up they said "uh yeah but we can't change it. It is a political
724.
▲
by
di4na
10y ago
Interestingly, i think most of your speed on Stemmer come from using String.replace_suffix, which use binary pattern matching instead of regex. Nice learning :)
725.
▲
by
di4na
10y ago
And because Python has a really nice history with C. Really help to link to some classic things that were written in C.
726.
▲
by
di4na
10y ago
Small correction : there is a good (not stellar but good) interop with C/Rust/c++ on the Beam. NIFs work quite well even if htey have quirks and are limited. And with ports and Dirty Schedulers, you have other solutions for more c
727.
▲
by
di4na
10y ago
Which is exactly what micro controllers programming is. I worked and still do some work for embedded programming. If you never did it before : OS make life super super easy. Really.
728.
▲
by
di4na
10y ago
Let's go for that one. Processing a million jobs in parallel is not hard my_list_of_job |> distribute_tasks() |> Enum.map(fn x -> Task.Supervisor.async(x, my_list_of_job) end) |> Enum.map(fn x -> Task.await(x,
729.
▲
by
di4na
10y ago
Chris is quite big on saying that he chose Brunch because it is working quite well and avoid him to even touch the frontend. I bet Phoenix will not make a so heavy choice on frontend and keep the default to vanilla js.
730.
▲
by
di4na
10y ago
A couple of answers : 1) anything that is not just a PoC with limited amount of people connecting to it. For 10 clients connected at all, sure use the thing you know well. It will be easier to use and write, and your time to market will be
731.
▲
by
di4na
10y ago
Then you are not in functional programming place anymore, and you may want to use an imperative language. I think it is John Hughes that said "The real question is not 'when should i use functional programming?' but 'whe
732.
▲
by
di4na
10y ago
as a training... i read. That is all. I begun when i was 5. Never stopped. So i nearly always was like that. The more you read the more you train your brain to read. And your mind to understand how to deal with knowledge and information. Fi
733.
▲
by
di4na
10y ago
Multiple things. First it is something i like. Secondly, it is the only way i can absorb information in a way that works. Talks, video, podcast, etc are too slow for me. It lacks a good throughput of information and meaning. Which means i t
734.
▲
by
di4na
10y ago
Well to be honest if it is badly written and contain nothing of interest...
735.
▲
by
di4na
10y ago
You can tear out any part of Phoenix. Try to look at passing --no-html to the phoenix new command :) There is even a generator for json API iirc.
736.
▲
by
di4na
10y ago
Jiffy is not erlang but NIFs that call to C. So it is probably the source of the problem more than Elixir vs Erlang.
737.
▲
by
di4na
10y ago
AS someone that read at least one book per day if not more since the age of 6, yes it is possible. I can read between 100 to 200 page per hour, depending of the book. You reach a storage and money problem fast (Ebook are a savior nowadays).
738.
▲
by
di4na
10y ago
While i love the idea of a Decentralised Internet, i would say that it does not solve the problems that well. An awful lot of these techs are completely block-chain and consensus dependant. Which makes sense (you are in a byzantine environm
739.
▲
by
di4na
10y ago
well in that case you enter a completely different world. Hard RealTime system are not really only "embedded". They also exists for bigger things. It is just a really different set of way to think. And a really hard one i may add.
740.
▲
by
di4na
10y ago
As someone that has played in the embedded world too, i struggled with that last year. But let's be honest. Except if you have really strong constraint about power consumption and form factor, most of these small stuff are far easier t
741.
▲
by
di4na
10y ago
To be complete, iirc it is that product that is in production. The elixirconf EU talk that is show above also talk about some production stuff. http://www.rosepointnav.com/commercial-radar-interface/
742.
▲
by
di4na
10y ago
I find interesting that noone answer the real question about the so called Singularity : Does being counscious really change anything ? Couldn't we have a profoundly efficient, intelligent and organised AI (dangerous or not, i would fo
743.
▲
by
di4na
10y ago
The idea seems quite simple. If you want to be able to tell that you can't decide what the person is doing, you need to lack something about his previous state. Which means that even if you know everything that happened between the ini
744.
▲
by
di4na
10y ago
Let's look at it the other way. Launching a movie cost a ton of money. So to keep a diverse culture ( we all agreee diversity is great isn't it?) and diverse way to think, you need to help less mainstream way to think. You spend y
745.
▲
by
di4na
10y ago
As someone that was a student until last year, the real hard problem is that we have teachers that want this type of comments. Having different standards for different teachers the same day is a lot of context switching... A better idea w
746.
▲
by
di4na
10y ago
Interesting, i think there is a telk to have here. Because Phoenix is not Rail. No part is forced. Everything is modular. Maybe there is a need to put an emphasis on that more on the main guides. Because in the end, the only "mandatory
747.
▲
by
di4na
10y ago
Hello. Really nice write up. To follow up on your list of useful learning references, that talk from Chris is a bit old, but it covers all the basics. Nearly everything is still up to date. It is a bit long, but it takes time, cover everyth