Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ricketycricket
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
ricketycricket
3y ago
You are wholesale calling people ignorant over a technology decision. > When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3.&
32.
▲
by
ricketycricket
3y ago
> no error checking at all (I assume it just panics or exception?) In Elixir, bang functions per convention will raise on error. `get/2` will return error tuples allowing you to handle errors. In fact, get!/2 just calls get
33.
▲
by
ricketycricket
3y ago
Recommendation seconded. I'm only to chapter three due to time constraints, but it is well written and approachable for someone lacking ML experience.
34.
▲
by
ricketycricket
3y ago
davidw is right that ports are somewhat limited, but I haven't had much trouble doing what I need with FFmpeg in particular. I used the bash wrapper from the docs for Port [^1] and it has worked well. When a stream starts I start a sup
35.
▲
by
ricketycricket
3y ago
Just wrapped up a live translation feature that watches an HLS live stream, live transcribes with whisper and then translates into 18 languages. Heavy use of OTP: supervision trees for each stream, ports for managing ffmpeg and receiving au
36.
▲
by
ricketycricket
3y ago
The problem is that you are saying two different things in your replies. On one hand you say that you aren't suggesting that people work for free, and on the other hand you say that people leaving when their shift is over should not be
37.
▲
by
ricketycricket
3y ago
> A modal log in screen is five elements: a shade, a dialog, two labels, two inputs and a button. These are all very easy to name. Agreed. But why name them at all if the structure is so simple? Keep your simple, understandable structure
38.
▲
by
ricketycricket
3y ago
Not to mention the fruits and vegetables required for a balanced diet. Prices for produce in my area have gone through the roof. What about the family of four, the single parent, one of the many recently let go? The cost of basic goods and
39.
▲
by
ricketycricket
3y ago
As one of those others, I can confirm this is indeed still true as of Phoenix 1.7. `--no-assets` will not add any CSS or JS to the project other than empty `app.js` and `app.css` files in `/priv/static/assets` for you to fill
40.
▲
by
ricketycricket
3y ago
Of course, each case will be unique. I heavily optimized with temporary assigns so the message lists would not be persisted in server memory. This is even better now with the new streams functionality. The knobs to tweak are there.
41.
▲
by
ricketycricket
3y ago
I do exactly this. Elixir supervises Ports to python and C binaries and manages all the communication between processes including buffering and maintaining state when necessary. Using libraries like Horde even allows you to run these proces
42.
▲
by
ricketycricket
3y ago
> Almost every system scales simply vertically, vertical scaling is (to a first approximation) throwing faster hardware at the problem. If you're IO bound you get a faster IO bus (this is not necessarily easy to do, but if you do i
43.
▲
by
ricketycricket
3y ago
After wondering this myself, I finally just went all in on LiveView and was extremely surprised at how efficient it was. I have had over 4,000 concurrent users on a single LiveView with real-time messaging, streaming transcriptions, viewer
44.
▲
by
ricketycricket
3y ago
Both vertical and horizontal are pretty simple with Elixir and are done in essentially the same way.
45.
▲
by
ricketycricket
3y ago
Maybe diagnosis assistance, but I was specifically responding to the idea that the AI may deliver information. The risk that this information may not be correct even 0.01% of the time will be considered unacceptable from a legal and regulat
46.
▲
by
ricketycricket
3y ago
I work in a field related to surgeon education. Until the results of AI output can be guaranteed to be deterministic and proven to always be correct, the legal ramifications of an AI providing incorrect information or promoting off-label us
47.
▲
by
ricketycricket
3y ago
I'd guess it's the book Llama Llama Red Pajama: https://openlibrary.org/books/OL24377652M/Llama_Llama_Red_Pa...
48.
▲
by
ricketycricket
3y ago
This one? https://github.com/lawik/membrane_transcription
49.
▲
by
ricketycricket
3y ago
> I believe Lars is going to do a cool demo with Membrane and ML at ElixirConf EU next week. Yes, the relevant part of his demo with the membrane pipeline appears to be here: https://github.com/lawik/lively/blob
50.
▲
by
ricketycricket
4y ago
You mean the AI content trained on human input?
51.
▲
by
ricketycricket
4y ago
I don't have the ML chops to make it happen, but whisper would be insanely useful to have in the tool chest.
52.
▲
by
ricketycricket
4y ago
It is not on the phone, no. I'm sure eventually you could run it on the phone like Elixir Desktop[1], but that isn't what it is at the moment. The phone connects to the server via a websocket and the SwiftUI "DOM" is pus
53.
▲
by
ricketycricket
4y ago
Yes, that is what it is.
54.
▲
by
ricketycricket
4y ago
There appears to be a good getting started tutorial available at https://liveviewnative.github.io/liveview-client-swiftui/tut... Between this new project, "regular" LiveView, Nx, Livebook, and FireFly, the El
55.
▲
by
ricketycricket
4y ago
I've been happily using Forklift for years. https://binarynights.com/
56.
▲
by
ricketycricket
4y ago
> Note that browser push notifications also work on mobile, so you don't need to install an app to get real time alerts. Push notifications in Safari are only supported on desktop for now.
57.
▲
by
ricketycricket
4y ago
1.13.4 is verified on OTP 25 RC2, so I'd assume it supports the release OTP 25. See: https://github.com/elixir-lang/elixir/releases/tag/v1.13.4
58.
▲
by
ricketycricket
4y ago
I mean, `mix phx.gen.release --docker` generates a nice dockerfile for packaging up a release (which is all Fly does). At that point it's essentially no different than any other containerized application. I've shipped Elixir apps
59.
▲
by
ricketycricket
4y ago
Pricing page still shows current prices. It appears to be a roughly 20% increase across the board.
60.
▲
by
ricketycricket
4y ago
`mix phx.new foo --no-live` does that. LiveView is completely optional. Node/npm has been completely replaced by esbuild and even that is optional if you want to rip it out and handle assets another way.
More ›