3,067 karma · joined Sep 17, 2012 (14y ago) · 1,556 submissions
comment 10y ago · link · parent
That said, our weather models are pretty good but not good enough to make certain predictions that far away into the future, but they can for the next few hours.
It's like a software company's model of code branches. The Apple/Google/whatever filesystem team works on something, it gets pushed into their level of production branch, then it percolates up to the shared production kernel branch, and after a couple more layers it hits the common branch, which is what public production binaries are made from and consists of kernel, userland, foobar modules all merged together. Not all software shops operate this way, but it's what size of a project can demand after it hits certain amount. The linux kernel works this way too, to name a successful non-commercial project. You can argue this doesn't prevent regressions, and that's true, but it's hard to deny there would be more regressions (aka false reporting) with unfiltered (aka unvetted) reporting.
comment 10y ago · link · parent
I'd like to say leave speed reporting to the Twittersphere and mandate a clear label on unvetted news reports on any network, but I doubt politics can have such influence on the media. I would love it if the news reports had a watermark that says fresh-and-unvetted just like "preliminary results" or "consult your doctor before taking".
First we have to encourage and support critical thinking, but too much of it may lead to some influencers misusing it to support causes which deny past and current crimes of humanity on itself and the planet.
comment 10y ago · link · parent
But I must say that st's font rendering of Unicode is more complete than rxvt-unicode or xterm. With the same font configured in all three, st is the one that manages to render the most glyphs of plan9port's unicode sample file. Would be great to have the same in urxvt or xterm.
comment 10y ago · link · parent
comment 10y ago · link · parent
I don't have such a source file handy to reproduce, but if you try enough ISO MP4 containers with H246, you will hit one where this is the case.
Is `-t` different from `-to` which I've been using?
comment 10y ago · link · parent
comment 10y ago · link · parent
Say you have a function that should will tell you a file extension is likely to be that of a text file:
isTxt("txt") -> true;
isTxt("org") -> true;
isTxt(_) -> false.
With a more comfortable syntax, this can be expressed more concisely, but I just wanted to show that this isn't only useful for recursive functions.If Rust is planned to get HKT, then I don't see why I cannot get pattern matching in function heads when there's also guards as found in ML languages.
comment 10y ago · link · parent
> Initially Rust was very much like ocaml. It isn't anymore :) Many of the normally-in-functional-languages features in Rust come from these days. Others were lost and re-added later. It's a very complex history.
Yeah, having tried Rust in those days, I kinda stopped when it broke every week, and was then surprised with the surface of 1.0. It seemed like a different person to talk to.
I've made my peace with the C'ification of Rust as the price to pay for attracting a large crowd of developers who grew up with C, C++, C#, Java, JavaScript, Ruby, Python, the list goes on. It's a reasonable sacrifice to make, but the two mentioned basic features aren't complex things to wish for.
> could you elaborate? I'm not familiar with this feature (only have dabbled in sml).
Imagine being able to hoist your match clauses into function head (signature?).
oldEnoughToDrink :: Int -> Boolean
oldEnoughToDrink 21 -> True
oldEnoughToDrink _ -> False
Not all languages with support for that force you to repeat the function name, and there are good arguments for/against. For example in Erlang, when you define an anonymous function, you do not repeat it: OldEnough = fun(21) -> true;
(_) -> false
end,
Now, this may seem like a stupid little feature, but trust me when I say it's a natural feature to use like recursive functions after you're used to it.comment 10y ago · link · parent
Regarding semantics, without having thought about the Rust semantics too much, I'd suggest to check out the most prominent uses for recursive functions in OCaml, SML or Haskell, then try to consider that as the sweet spot to support in Rust.
comment 10y ago · link · parent
When will Rust get
1. function head patterns like other languages in the ML family, although Rust isn't really part of the family, but rather a distant cousin from another continent, which once played with ML and family during a summer vacation
2. support for naturally writing recursive functions
comment 10y ago · link · parent
That said, if the content of season 3 manages to push some of the concerns outlined into the general public's perception and highlights them, then it's a good thing and well achieved.
The thing that stuck and was funniest for me was from the worst episode (ep 1) about the adapter and planned obsolescence.
Since San Junipero is mentioned here positively, I should add that it didn't work for me and seemed like ep 1 just too long for the content, but that's a subjective thing I guess. I kinda found it uninteresting and boring and honestly the ideas brought forward not crazy or exciting. Maybe it's because having lived in the tech world, the concepts are just as old as the availability electricity or even anyone who watched the matrix or read the mangas it's based on would find it "old".
Playtest reminded of the No End House creepypasta.
My favorite episode, despite the plot flaws, was Hated in the Nation, and that one almost saved the season. In light of InternetOf*, it was the episode I enjoyed the most.
comment 10y ago · link · parent
Has this been proven yet? I'm under the impression that we're still in the stages of better not believing any side of the arguments because any secrets - if they exist - will be fresh and well hidden for the moment. If you ask me, I would be very careful claiming to know who orchestrated what.
comment 10y ago · link · parent
Also loading via JavaScript and changing the fonts of an already rendered page disrupts my reading. If you want remote fonts, load them from the beginning, or if this isn't possible, just don't, please.
Another justification for disabling remote fonts is that it's one security critical interpreter of complex data which, when disabled, doesn't adversely affect the presentation, whereas on most pages disabling images does and cannot reasonably be disabled. The latter justification may go away with Mozilla's Oxidation efforts with time, leaving just loading time and readability as arguments.
comment 10y ago · link · parent