Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
edmccard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
edmccard
9y ago
In my Rust crates, I use a custom trait[1], with implementations for Option and Result, that provides an expected() method which, if it panics, prefixes the message with "expected: ". So you can write foo().pop().expected(&quo
92.
▲
by
edmccard
9y ago
>I don't want to have preconceived notion on how I should feel about a post... Then don't! Or, if you mean you don't want to know how anyone else felt about a post, and you use the Stylish browser extension, you can use
93.
▲
by
edmccard
9y ago
The brain must constantly be doing triage on memories, without conscious intervention. And apparently it recognizes that there is less need to stock our minds with information that can be readily retrieved. Or as my grandmother always sai
94.
▲
by
edmccard
9y ago
>The semantics of Rust guarantee that the input data outlives the period during which the output struct is in scope To be fair, so does the semantics of every language with garbage collection -- keeping things alive while there are refer
95.
▲
by
edmccard
9y ago
>Prior to deliberation, isn't a juror's main job to sit still in silence I think they're also supposed to be paying attention to the proceedings.
96.
▲
by
edmccard
9y ago
>Kind of like how I may have a LEGO star destroyer, but I need to assemble it first. Or more kind of like how when I push the button on my camera, I have an exposed negative, but I need to develop it first to get a picture. Except, the a
97.
▲
by
edmccard
10y ago
>I know of absolutely no service which failed because it couldn't scale So what are some examples of services which failed because they tried too hard to scale too early? For example, when your network could handle 20k users, was th
98.
▲
by
edmccard
10y ago
>But yes the client still has to know what to do in advance. According to Roy Fielding[1] (who came up with the concepts of ReST and HATEOAS: "A REST API should be entered with no prior knowledge beyond the initial URI (bookmark)
99.
▲
by
edmccard
10y ago
>I don't see his conclusion of "you have to get lots of smart immigrants to fill in" I wouldn't call a point made less than halfway through the article a "conclusion". He seems to place more importance on in
100.
▲
by
edmccard
10y ago
If you're wondering what this "dishwasher" (actually a laboratory glassware washer) really looks like, here's its product page: http://www.miele-pro.com/us/prof/products/14071_16161.htm
101.
▲
by
edmccard
10y ago
>It is astonishing how fast a computer is without the overhead most modern languages bring in. No kidding! I once implemented Knuth's Dancing Links/Algorithm X[1] in Python, as part of a Sudoku solver. At one step in the algori
102.
▲
by
edmccard
10y ago
>And I think back a few years when people said we'd never be able to fly seamlessly from orbit down to the surface of a procedurally generated planet. Starflight[1] could do that back in 1986[2] [1] https://en.wikipedia.o
103.
▲
by
edmccard
10y ago
>Doesn't this mean you could implement a generic tree type if you fix the underlying data structure to be an array/map? Nope. There are only a few functions that accept type parameters, and they must be called with concrete typ
104.
▲
by
edmccard
10y ago
Or even worse, "h-t-t-p-colon-backslash-backslash..." from people who were used to saying "c-colon-backslash"
105.
▲
by
edmccard
10y ago
>having seen a lot of non-savvy users use Internet, I am firmly with WWW As an anecdotal counterpoint, at our family Christmas, I mentioned a few different urls, spelling out "www" each time; one of my nieces said "why do
106.
▲
by
edmccard
10y ago
>But it's nowhere near the level of support artists have had for the last hundred years. I was thinking about this in the context of the John Wanamaker quote -- "Half the money I spend on advertising is wasted; the trouble is I
107.
▲
by
edmccard
10y ago
>What if the surviving pool killed the other pools? Well, what if they did? I think that I have been incorrectly assuming that this subthread was about whether, in 2017, we could tell which of two things had happened -- either "ther
108.
▲
by
edmccard
10y ago
>The second situation was never as risky as the first. But if both situations have the same outcome -- everyone not descended from the 40-pair group is dead -- does it make sense after the fact to distinguish them by "riskiness"
109.
▲
by
edmccard
10y ago
>If you know of any other effective way of solving problems other than applying broadly understood science and technology I think it's possible to believe in the efficacy of science and technology, while at the same time doubting th
110.
▲
by
edmccard
10y ago
>So why are you here? To laugh at people looking for solutions to problems using well-defined means... No, to laugh at people who think that because they have a hammer, that every problem is a nail, and maybe also the people who believe
111.
▲
by
edmccard
10y ago
The journals of Fanny Kemble, mentioned in the article, can be found on the Internet Archive here: https://archive.org/details/journalofresiden00kemb_0 and the eyewitness description of the sale, "Great Auction Sa
112.
▲
by
edmccard
10y ago
>Licenses don't just grant additional rights; they can also set conditions on the exercise of those rights, such as attribution or copyleft Usually the right being exercised is that of copying, not merely using; for example, assumin
113.
▲
by
edmccard
10y ago
>You can get an idea of front page by using https://news.ycombinator.com/front But not to find out what HN was like initially (which was the GP's concern); try a date before 2014-11-11 and you get "We don'
114.
▲
by
edmccard
10y ago
>>"Less than 1 percent of the total crimes committed by refugees are sex crimes" That seems to mean something different than "less than 1 percent of total sex crimes are committed by refugees".
115.
▲
Snowflake Strings: string literals and the D compiler
(dlang.org)
1 points
by
edmccard
10y ago
|
0 comments
116.
▲
by
edmccard
10y ago
> if you recently learned/mastered a topic, you're in a far better position to teach that topic than an expert That can work, assuming that (1) the particular difficulties you encountered will generalize to most other learners
117.
▲
by
edmccard
10y ago
>I really do hope one day to return to the ease of smalltalk without the oddity of the software images it presents. I've sort of noticed the opposite sentiment -- the things that software images can do (sharable consistent environme
118.
▲
by
edmccard
10y ago
In other Weird Al news, there's a Beatles parody ("Pac-Man", based on "Taxman") that he wrote in 1982 that he has just this year received permission to release. http://www.theverge.com/2017/2&#x
119.
▲
by
edmccard
10y ago
>fair bit of attack surface behind glReadPixels() and the like... >...you can start looking at parts of the system's memory I thought the whole point of using glReadPixels(), as opposed to just dereferencing a pointer in the syst
120.
▲
by
edmccard
10y ago
>I thought that was just a sub-plot of Goleneye. Guess some googling is in order... https://en.wikipedia.org/wiki/Repatriation_of_Cossacks_after...
More ›