Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stewbrew
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
571.
▲
by
stewbrew
9y ago
> no <>s and such Funny. The first thing that came to mind was: import ( bar "github.com/name/bar" baz "github.com/name/baz" foo "github.com/name/
572.
▲
by
stewbrew
9y ago
Are you saying, it wouldn't be too difficult to implement this in the go compiler but the crucial question is (just) the syntax of the import string?
573.
▲
by
stewbrew
9y ago
Now make that a compile time thing that happens on imports and that doesn't generate temporary source files and whoop you have modules with generics. Oops, I forgot that there are some unsolvable obstacles to be resolved.
574.
▲
by
stewbrew
9y ago
JEB applied for a patent for that in 2002? Seriously?
575.
▲
by
stewbrew
9y ago
I added the second part about the random sample later to the comment when I moved the proposal already out of my short term memory. I hope they use the data from their initial study to test whether the opt-out group actually is different fr
576.
▲
by
stewbrew
9y ago
> Tracking down regressions, crashes, and perf issues without good telemetry about how often it's happening and in what context. If that's what you're aiming at. Collect the data but keep it local. Install some sort of res
577.
▲
Jerry Lewis has died
(nytimes.com)
79 points
by
stewbrew
9y ago
|
17 comments
578.
▲
by
stewbrew
9y ago
There could be a valley around 30 where you prefer purity. It's possible though that you soon get tired of language wars and prefer something that makes it easy for you to get things done, i.e. a complete standard library and a good pa
579.
▲
by
stewbrew
9y ago
While OCaml might be the most reasonable in theory, AFAIK opam on Windows still doesn't work. Also its standard library is too minimal for my liking.
580.
▲
by
stewbrew
9y ago
I think the author demonstrates well the problem by using a blogger theme that requires JavaScript to be turned on instead of statically rendering the blog post that is just a few paragraphs long as HTML and serving that from a simple serve
581.
▲
by
stewbrew
9y ago
From Richard Stallman in 1994.
582.
▲
by
stewbrew
9y ago
This way certain directories could be mounted read only (i.e. reside on a read-only partition/disk). Some directories were supposed to be governed by the core distribution, some were for user-installed software etc. It makes sense give
583.
▲
by
stewbrew
9y ago
Maybe I'm reading these graphs wrong but isn't 2.12.x almost always at about the same level as 2.13 for 2017 compilations? Both of which don't seem that much faster than 2.11.
584.
▲
by
stewbrew
9y ago
Most people aren't programmers and they (thinking of family etc.) sometimes use tabs as bookmarks. I don't argue against using tabs if you need them. What I'm saying is that people often use tabs when they actually want somet
585.
▲
by
stewbrew
9y ago
For whatever reason this make me think of my swap partition. :-)
586.
▲
by
stewbrew
9y ago
Well but ... In the course of a day, I often realize that I have the same URL opened in 2+ tabs. There of course are use cases where I want to have more views on the same page but usually, that's not the default behaviour I want. >
587.
▲
by
stewbrew
9y ago
IMHO there is something wrong when people leave tens+ tabs open. There are bookmarks for keeping references to pages. FF also has Pocket for keeping references to pages I want to read later. So, this is a benchmark that should not be releva
588.
▲
by
stewbrew
9y ago
> At runtime however they are simply passed as interface{} values wrapping the real values since the type soundness already has been proven. So, this is some sort of limited Java-like generics with type erasure? As someone who has only d
589.
▲
by
stewbrew
9y ago
The sad thing about this is, nothing of this is news. I did some health research in the 1990s and read tons of studies telling you the same things. One of the best predictors for subjective well-being was whether people had 3+ really close
590.
▲
by
stewbrew
9y ago
It looks like a plain html page but requires JS to view anything except: "Please enable JavaScript to use this site." What a wonderful time to live in. Anyway, do I get this right: They expect users to be experts in data analysis
591.
▲
by
stewbrew
9y ago
The op claimed it makes no difference if you write words with ss or ß. I simply claimed it makes a difference in standard language but certain dialects differ from that so that many people don't know/hear/speak certain words
592.
▲
by
stewbrew
9y ago
In theory (standard language), ss and ß mark differences in pronunciation. That's why some words are written with ß. In practice, the differences are pronounced differently in different regions, which is why some German speaking people
593.
▲
by
stewbrew
9y ago
This yields TRUE for as.character(NA). Not what we want. Anyway, as it seems I'm alone here I retreat to silence. :-)
594.
▲
by
stewbrew
9y ago
I have given R a chance for 12 years or so.
595.
▲
by
stewbrew
9y ago
Many lines that don't solve the problem. What I meant: write a boolean test (a function that returns true if x is a string (a "character" vector of length 1) and false otherwise) that never throws an error.
596.
▲
by
stewbrew
9y ago
Just check whether a variable is a string. There are many options for various flavours of OOP. IMHO it's the very foundation as an array/vector oriented language that's wrong.
597.
▲
by
stewbrew
9y ago
It's an excellent language for interactive data analysis but it totally sucks as a programming language, easily surpassing PHP and JavaScript in this respect.
598.
▲
by
stewbrew
9y ago
I think one nevertheless should warn people not to use R for things it's not suited for. Building a reliable app or library is one of those things. R provides excellent means to call into C, C++, Java etc. People should use one of thes
599.
▲
by
stewbrew
9y ago
Why would you want to implement such a thing in R and not use a decent programming language. I'm an heavy R user myself but I'd never use R for anything but statistics, for which it is ok.
600.
▲
by
stewbrew
9y ago
A GC doesn't make data sharing in multithreaded applications safe.
More ›