HackerTrans
TopNewTrendsCommentsPastAskShowJobs

out_of_protocol

2,151 karmajoined 13 tahun yang lalu

comments

out_of_protocol
·3 jam yang lalu·discuss
> It trades something fungible and incredibly cheap (CPU)

it could be RAM-bound, which is very much NOT cheap nowadays :)
out_of_protocol
·22 jam yang lalu·discuss
There's a lot of places without fiber, e.g. all the ships/jets etc. there's a lot of low-density areas, there's islands with no internet or VERY expensive internet
out_of_protocol
·bulan lalu·discuss
> 6. You can make money without doing evil.

You can but well, it's more profitable the other way around....
out_of_protocol
·bulan lalu·discuss
On Android, opera browser has text-wrap which fits text into screen on any zooom level. Dunno how people live without this feature
out_of_protocol
·2 bulan yang lalu·discuss
I blessed to live in a country that uses kilowatts. That works wonderfully (and advertised as such) for AC units
out_of_protocol
·2 bulan yang lalu·discuss
Did anybody compared these directly using exactly same prompts and harness? I assume V4 Pro could be real frontier model, and if it's true, it'd be better to use it in automation or routine steps instead of simple models (e.g. haiku or even sonnet if V4pro is better)
out_of_protocol
·2 bulan yang lalu·discuss
1) that's not an ORM

2) after ~8 years of using it, i find it ergonomic, light on congitive load and good for long term support
out_of_protocol
·2 bulan yang lalu·discuss
Elixir is very ergonomic when it comes to concurrency, e.g. parallel-map example:

    1..10
    |> Task.async_stream(fn x -> x*2 end, max_concurrency: 2, timeout: 7000, on_timeout: :kill_task)
    |> Enum.to_list()
Equivalent Go code would be very long and very ugly.

Golang has its positives but you also lose a lot. Whole ecosystem is not comparable, like "debug live production cluster" is one-command away for Elixir vs "fuck you" for Golang
out_of_protocol
·2 bulan yang lalu·discuss
Django is not very different than Rails and imo much less ergonomic. Many issues are still there like hidden state/setup needed to call something
out_of_protocol
·2 bulan yang lalu·discuss
> ActiveRecord is more pleasant to work with than the ORM of Phoenix IMHO, but not everyone shares the same feeling.

Well, depends on what you do. Ecto is closely follows SQL logic and allows to translate weird sql queries into code directly. All queries are explicit, e.g. you either do preload(...) or can't access nested records at all, no chance of N+1 by design.

Changesets are also different and are just functions you can define as needed.

    defmodule MyApp.User do
    ...
    def changeset(user, attrs) do
        user
        |> cast(attrs, [:email])
        |> validate_required([:email])
        # This matches the error from the DB uniq index to the :email field
        |> unique_constraint(:email)
    end
out_of_protocol
·2 bulan yang lalu·discuss
I'd say Rails is faster than Phoenix (as in development speed) only for the first day or so. After that you'll stumble upon impicit logic, method-missing and this kind of stuff, which will require more time to figure out how it works. Elixi/Phoenix is more exlicit in that regard, making long-term support (as in anything past first week) a breeze. No hidden state, no figuring out where ModuleName.method(params) is coming from, no need to setup stuff to launch said method (just pass right arguments). The only downside i see is smaller library of ready to use packages
out_of_protocol
·2 bulan yang lalu·discuss
Probably going to be replacement rather than direct recompilement of structs. I imagine all sorts of corner cases are lurking around if you swap implementation around, e.g. if someone force-pushed unknown key into a struct at runtime. Would be nice to keep current struct syntax though with the only difference in declaration
out_of_protocol
·3 bulan yang lalu·discuss
i suspect a lot of tools will try to fetch the url without explicit user action (e.g. messengers do that kind of crap). Gotta be hard to keep keys non-revoked, which is a nice side-effect
out_of_protocol
·3 bulan yang lalu·discuss
If you don't use heat pump (which can have 300-500% efficiency), whatever you plug into a wall socket will produce heat at exactly 100%. So the real choice here is either monetize what you are doing with electricity or using a heat pump
out_of_protocol
·3 bulan yang lalu·discuss
1) they do protocol sniffing, and any inconsistency (including statistical) gets you blocked 2) "white list mode" which engaged sometimes (poorly implemented atm), means nothing goes outside of country at all (means 99.9% of everything is broken). They really want to become North Korea soon
out_of_protocol
·3 bulan yang lalu·discuss
> How are you suffering equal heat stress from being submerged in moderately warm water

by the rules of this universe, you can't survive being submerged in 40C water for a prolonged period of time (even 37C would kill you as well), because humans produce heat and if you can't dispose of it you'll overheat and be dead soon enough
out_of_protocol
·3 bulan yang lalu·discuss
Humidity is the key, Finnish style sauna is low humidity+ high temperature (85-115C is OK i think), while Russian banya-style is low temperature (60-80C with high humidity). Both of them produce about the same load on a human
out_of_protocol
·3 bulan yang lalu·discuss
* VP9 where AV1 is not available (default YouTube codec, almost universally hardware-supported). Also universally supported .webm is vp9+opus - which mostly used as modern .gif
out_of_protocol
·3 bulan yang lalu·discuss
VP9 works well too and more supported (default YouTube codec)
out_of_protocol
·4 bulan yang lalu·discuss
Do note that in current economics 32GB of RAM alone will cost something like $400