Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ndymium
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
Ndymium
3y ago
I've run Gleam compiled for the Erlang target using the elixir-desktop project as a "native" Android app. Meaning that the Erlang runtime is packaged with Elixir and the Phoenix framework into an APK. The app runs your code i
62.
▲
by
Ndymium
3y ago
If everyone thought like this, I suppose the author wouldn't have felt the need to write the article. I've been using light themes for some time now, after years of dark mode-ing everything. It actually works better for my eyes, a
63.
▲
by
Ndymium
3y ago
The default post size limit on Mastodon is 500 characters, there is no line limitation. I suppose the message split here is mostly influenced by the user's desire or familiarity carried over from Twitter.
64.
▲
by
Ndymium
3y ago
This can be configured in the instance settings and I've seen some support up to 5000 characters.
65.
▲
by
Ndymium
3y ago
That's the average for the whole day, the max negative price is -€0.5/kWh which is limited by regulations. It starts from 15.00 and continues for the rest of the day. Other than those hours, the price is normal, so the average is
66.
▲
by
Ndymium
3y ago
There is, when you aggregate your data to create graphs such as "My most active hours", you will have a problem if your user moves between timezones, if you did not store the actual local wall time. [0] For those cases, you can st
67.
▲
by
Ndymium
3y ago
Don't use it for past times either without thinking what you'll use it for. If you want to generate reports of historical data in the user's timezone at the time of the event , you can't convert back just knowing their
68.
▲
by
Ndymium
3y ago
It's used in Robot Framework code, but that's the only place I can think of.
69.
▲
by
Ndymium
3y ago
Gleeunit also works on the JS target so you can run tests on Node.js (if you're targeting JS).
70.
▲
by
Ndymium
3y ago
OTP is a work in progress available in the gleam_otp [0] package, supplemented with the lower level gleam_erlang [1]. Or you can call OTP things manually with FFI. [0] https://hexdocs.pm/gleam_otp/index.html [1] https
71.
▲
by
Ndymium
3y ago
History is an unorganized pile of stuff, I wouldn't be able to find things I once had open possibly months ago - if I'm not lucky I can't even remember what page titles to search for. In my tab bar things are organized into g
72.
▲
by
Ndymium
3y ago
The original post on fedi [0] claims it can happen in any video call app. [0] https://xoxo.zone/@mathowie/111229500871588422
73.
▲
by
Ndymium
3y ago
Zero. A referral bonus is essentially a bonus on being social and I don't fit that category. My few friends have all been employed quite happily, so there's nothing I can do.
74.
▲
by
Ndymium
3y ago
The thing to note is that heat pumps move heat energy, they don't generate it (other than as losses from the machinery). Your fridge moves heat energy from inside itself to the outside, leaving the insides cool. A heat pump moves hea
75.
▲
by
Ndymium
3y ago
Cool little project! I did a similar thing recently, I wrote a pastebin that puts the file contents in the URL with brotli. [0] It works quite well, but I'll need to update the syntax highlighting soon as at least Gleam is out of date
76.
▲
by
Ndymium
3y ago
Quoting from their linked website: > Our heat pump can generate up to 3 times as much heat as a resistor, using the same amount of electricity. Though it doesn't mention the temperature at which this is achieved, only that the range
77.
▲
by
Ndymium
3y ago
Additionally, Gleam is very different as a language. Erlang is only one of its targets, another one is JavaScript (and I see many people just using it for that alone). I'm personally writing a static blog generator for myself that'
78.
▲
by
Ndymium
3y ago
Resources are cached within the same origin. So HN resources will be cached and used on HN visits. But if two different sites load a library from the same CDN, they will not share their caches with each other and will both load it separatel
79.
▲
by
Ndymium
3y ago
They are visible to programs, for example if you run `ls -a` you will see them on macOS too. I reckon they're only transparent to Finder (where you can't see them even if you're showing hidden files).
80.
▲
by
Ndymium
3y ago
Having done this same mistake myself, it's just such an easy mistake to make. Most likely you're writing two or three programming languages in the same project, and the others work differently from Python. So it's very easy t
81.
▲
by
Ndymium
4y ago
Not sure if you're assuming that I am using the service with the wording "for you" or if it's a general question (I'm not a user). But if it's a general question, legally speaking, my best guess (not a lawyer)
82.
▲
by
Ndymium
4y ago
I love and support this idea very much. I had actually been thinking about this exact solution myself, but I'd personally want to stay clear of anything involving real money, so it's great that you're doing it. :) Just a note
83.
▲
by
Ndymium
4y ago
If you scroll down and click on "premium service" in the text before the last sign up button, you get to this page: https://www.ibroadcast.com/premium/ This seems to have the details you want.
84.
▲
by
Ndymium
4y ago
That would depend on if it matters to the WebSocket server if connections are from one or multiple IPs. In this case I would not think that there's any difference as far as the WS library is concerned. Maybe it has some effect on the O
85.
▲
by
Ndymium
4y ago
A connection is identified by the tuple {host IP, host port, client IP, client port}. The server listens on one port, but the client has a separate port for each connection. This means that there can be 65k connections for a single {host IP
86.
▲
by
Ndymium
4y ago
Slavery existed among Native Americans before Europeans already.
87.
▲
by
Ndymium
4y ago
Honestly, I don't know. I think WakaTime is great (based on what I've read), and it does time tracking which Code::Stats does not do (and probably will not do). Other than that, I don't really know its features because I'
88.
▲
by
Ndymium
4y ago
I don't live in the US and don't have a horse, but I love this site. Such a simple site and a focused idea, it's refreshing.
89.
▲
by
Ndymium
4y ago
As a hobby project, I run Code::Stats[0]. It's a website that tracks what languages you are programming in (via editor plugins) and gives you a profile page with various statistics[1]. It's ad-supported (with EthicalAds) to deal w
90.
▲
by
Ndymium
4y ago
As a hobby project, I run Code::Stats[0]. It's a website that tracks what languages you are programming in (via editor plugins) and gives you a profile page with various statistics[1]. It's ad-supported (with EthicalAds) to deal w
More ›