Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dagss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
661.
▲
by
dagss
10y ago
Consensus from a lunch table in Norway: It was stupid to spend money on DAB now, it happens right as people move from radio to streaming. Many will move to streaming on 4G instead of DAB (which seems to have as good coverage or better, at l
662.
▲
by
dagss
10y ago
Microsoft had IronPython, which was then semi-abandoned...
663.
▲
by
dagss
10y ago
Heap-allocated was a bad choice of words. I mean strings that allow you to do "a+b" or similar simple concatenation built in almost any other language has (not C though, although there null-termination and stdlib helps a lot more
664.
▲
by
dagss
10y ago
1) Lack of heap-allocated convenient strings, dynamic lists and a dict/hashmap structure. They would not need to be fast, but the total lack of such types built in means that you cannot even deserialse a JSON or YAML config file withou
665.
▲
by
dagss
10y ago
For much number crunching there is often no substitute for jumping around using indexes computed by sometimes elaborate rules. Although whether to add or subtract 1 in the end is the least complicated part then, but it would have been nice
666.
▲
by
dagss
10y ago
At least in my country the IP goes to the author, full stop. In employment contracts you then specifically transfer the IP to the employer.
667.
▲
by
dagss
10y ago
He compared with baseline C code with -O1? That is really bad.
668.
▲
by
dagss
10y ago
I would assume it meant that it made things slower, after all this was a hand-tuned numerical core. Optimizations is for what a human did not already optimize.
669.
▲
by
dagss
10y ago
What I was hoping for was a sane migration path to prevent the split you talk about in 2020...somebody made a superset of both py2 and py3 that lets one move gradually. If support ends/project dies one would bite the bullet and move al
670.
▲
by
dagss
10y ago
Right.. our codebase is already unicode all over the place because otherwise we could not i18n properly. So we basically have py2 unicode-correct code with encode/decode in the proper places for interfacing witg stdlib. I didn't c
671.
▲
by
dagss
10y ago
Thanks for that, well said.
672.
▲
by
dagss
10y ago
I don't want the CPython core devs to do anything different and are not angry with them at all. It is their pet and they can do what they want. I fully agree with what you say in that sense. But I do mind people saying in these discuss
673.
▲
by
dagss
10y ago
Software typically evolves and grows and changes over decades. There very often isn't any point where you can go "for our next project we choose X". Each new project is a feature using 90% of some existing huge codebase. &quo
674.
▲
by
dagss
10y ago
In fact first step is never use "", always use b"", I guess..
675.
▲
by
dagss
10y ago
Isn't it as simple as a) do proper string handling in py2 unicode and b) if you write more u"" in a file than "", flip the switch and write "" and b"" instead?
676.
▲
by
dagss
10y ago
I see many people vigorously defending Py3 but I wonder how many of these have a paying-the-bills kind of job. Where you would look at the cost of porting a large project to Py3 and get an answer like half a million USD (easily). Do you go
677.
▲
by
dagss
10y ago
Being able to change things in one part of the code base at the time -- or one feature/data field at the time, is a HUGE thing. For production systems you just cannot put the backlog on pause for a month or two while porting. You can h
678.
▲
by
dagss
10y ago
Thanks for bringing up Fortran 77. Lots of F77 code is in use today through R and SciPy bindings etc. -- millions of users every day, thousands of compilations every day. Just because new code is not written in it, it is very much in use, n
679.
▲
by
dagss
10y ago
What do you mean? A wood fired power plant totally IS carbon neutral, as long as the logging is done sustainably (i.e. "renewable"). The trees suck up exactly as much CO2 when they grow up as they emit when burned. I guess nuclear
680.
▲
by
dagss
10y ago
That is a very optimistic view. What mechanism would ensure distributed decision making in a world where power is very unevenly distributed?
681.
▲
by
dagss
10y ago
Thanks for confirming my suspicion. So would it be fair to say that PP is an interface to statistics, so that those who know how to code but not advanced stats can do stats without learning it? (On simple problems)
682.
▲
by
dagss
10y ago
My feeling is everything you could do this way is either a) trivial anyway, or b) is making use of all the active research on MCMC sampling (which generally gives you DSLs to express a subset of all possible programs, which they are optimiz
683.
▲
by
dagss
10y ago
Given infinite clean energy you can always harvest back CO2 from the atmosphere, so I am not sure why you make the sharp distinction between direct and indirect. Yes, I agree that at the end of they day it's only about the world's
684.
▲
by
dagss
10y ago
You forgot meat, which stands for 10% or so of CO2 emissions [1] (and that isn't needed at all, compare meat consumption in the west with global average). And I'd consider "travel" a product too, I'm sure it facto
685.
▲
by
dagss
10y ago
We're already making a lot more stuff than what is needed (consider half of food is thrown away as food waste). What economies are fighting each other about these days is not so much availability of resources, as being the one who ge
686.
▲
by
dagss
10y ago
How does "making stuff" make it any better? Making (and consuming) stuff is the problem we are talking about. One needs to stop making stuff.
687.
▲
by
dagss
10y ago
The difference between rebase and cherry pick is very very slim, rebase is in a sense just a convenience frontend for cherry-pick..
688.
▲
by
dagss
10y ago
At least make the example straight: The majority of the neighborhood decided that all lawns should be mowed, because they don't want unmowed lawns that are bad for the economy. And that neighborhood are the only ones who protect you fr
689.
▲
by
dagss
10y ago
I disagree that it is obvious. Most of the taxes are a cut of income that would not have been generated if taxes had not been invested 20 years ago in education and defense and infrastructure. And who granted anyone else the ownership right
690.
▲
by
dagss
10y ago
But most aggression comes from disgreement over who property belongs to! Whose property is Israel/Palestine again? Who "owns" the air and can expliit the resource of increasing its CO2 contents? Is it obvious that humans can
More ›