Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elgenie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
elgenie
10y ago
You want to be able to communicate intent to clients of the function, especially with static tooling to check for common errors. For example: https://github.com/facebook/hhvm/blob/HHVM-3.13/hphp/hack
392.
▲
by
elgenie
10y ago
It's pretty amusing to read some of the PHP RFCs and see the verbal gymnastics taken to avoid saying "look, we're just taking this directly from Hack" :)
393.
▲
by
elgenie
10y ago
This hot take is both pretty uncharitable and largely incorrect. ... "catch (FooException | BarException" is new syntax that would be a include-time fatal in existing code ... "public const FOO" is new syntax that would
394.
▲
by
elgenie
10y ago
It doesn't bring tuple-esque operations to the language; it's a shorter alternate syntax for the already existing "list()" destructuring syntax.
395.
▲
by
elgenie
11y ago
This is actually "Part 1" of building an anything in React/Express/MongoDB. A blog, aka one-way delivery of HTML, is a particularly terrible example to pick to illustrate client-side components and/or MongoDB.
396.
▲
by
elgenie
11y ago
"I'd rather get money that I could then spend on lunch, than get free lunch." In the US, free lunch at work is not considered income for the purposes of taxation [1], but salary that you'd be using towards lunch would be
397.
▲
by
elgenie
11y ago
An appropriate land value tax is proportionate to what improvements the community expects to be present on the land on average -- that is, how desirable the area is as a whole. That should scale pretty well on a school district level. As fo
398.
▲
by
elgenie
11y ago
"""To the extent that Apple believes that compliance with this Order would be unreasonably burdensome, it may make an application to this Court for relief within five business days of receipt of the Order.""" I
399.
▲
by
elgenie
11y ago
It's the land value tax that incentivizes more efficient use of land. A property tax is levied on both the land and the improvements built on top of it. By only taxing land, the land use tax incentivizes maximizing the improvements-t
400.
▲
by
elgenie
11y ago
From the appendix of the report mentioned in the no doubt well-perused article ( http://www.lao.ca.gov/Publications/Report/3345 ): """We use data (.xlsx) on Bay Area census tracts (small subdivisions
401.
▲
by
elgenie
11y ago
The allegations sound very bad if true, but that's table stakes for a wrongful termination lawsuit. Given the timing, most likely this gets settled for a tidy sum.
402.
▲
by
elgenie
11y ago
From the article (read by all commenters, of course): """ The scale of the consensus on the idea is a far cry from a long-buried experiment in the rural Manitoba town of Dauphin in the 1970s, a comprehensive, five-year trial
403.
▲
by
elgenie
11y ago
I guess the Peter Principle extends to elementary school too. If schools are set up to underserve the bottom 1/3 to 1/2 of each class (be it via pacing or competition), it doesn't make sense to work really hard to place your
404.
▲
by
elgenie
11y ago
Only four years ago, it was a 'fate worse than death' rather than a mere challenge: https://gigaom.com/2011/07/07/facebook-trapped-in-mysql-fate...
405.
▲
by
elgenie
13y ago
(I work on HHVM/Hack at FB) We have an on-call rotation in which one person has the job of cutting (and testing) the internal named release. That person has final choice for the name, often subject to lobbying by the more rap-enlighten
406.
▲
by
elgenie
13y ago
async/await allows cooperative multitasking on a single thread: stay tuned for more... The way it works is quite different from your example: async function gen_foo(): Awaitable<string> { echo "until we get to an awa
407.
▲
by
elgenie
13y ago
> Personally, I'd have expected you to make something akin to CoffeeScript or ClojureScript that targets PHP, and can "link with" your existing PHP modules. We took a similar approach to what you described. Then we called
408.
▲
by
elgenie
13y ago
(I work on Hack at FB) function f(int $x): float { ... } For property and constant declarations, we chose to be consistent with the parameter typehint syntax (int $x) instead of the function return type annotation (float). A nice eff
409.
▲
by
elgenie
13y ago
HPHPc, the static compilation version of the runtime, didn't support eval, because eval is not static :) With the JIT compiler and VM, the runtime now support eval and other more dynamic PHP features: https://github.com/
410.
▲
by
elgenie
15y ago
The original paper is posted on the the author's site: http://www.psych.nyu.edu/gollwitzer/09_Gollwitzer_Sheeran_Se...
411.
▲
Google Results + Social Web
(focusontheuser.org)
12 points
by
elgenie
15y ago
|
0 comments
412.
▲
by
elgenie
15y ago
If you're on OSX, http://emacsformacosx.com/builds is easier to deal with than homebrew.
413.
▲
by
elgenie
15y ago
There don't seem to be publicly visible commits after the 1.3 release, though. Compare http://growl.info/documentation/version_history.php with http://code.google.com/p/growl/source/list : the source of version 1.3.1, which includes so
414.
▲
by
elgenie
15y ago
That was painful to read. I almost expected "What would you say you'd do here?" to show up in the conversation.
415.
▲
The Brain on Trial
(theatlantic.com)
1 points
by
elgenie
15y ago
|
1 comments
416.
▲
by
elgenie
15y ago
At least from the FB standpoint, "kill RSS" is quite an exaggeration. The code correcting the oversight that removed the links for RSS feeds in latest redesign of Page profiles should be going out tomorrow (5/10/11). Note that the feeds the
417.
▲
Evolution of Code Design at Facebook
(infoq.com)
4 points
by
elgenie
16y ago
|
0 comments
418.
▲
by
elgenie
16y ago
It's odd that he talks about hacking together precedence parsing, when the very nice algorithms for doing that are well known. Check out http://en.wikipedia.org/wiki/Shunting_yard_algorithm at http://en.wikipedia.org/wiki/Operator-preced
419.
▲
by
elgenie
16y ago
http://en.wikipedia.org/wiki/Electrolysis is a chemical process that can be used to separate out elements -- picking that as a codename for splitting up tabs into processes seems reasonable.
420.
▲
by
elgenie
16y ago
"struggle and sacrifice makes for great stories", but not necessarily great companies. Tech journalists' ability to phone in the same story they've written 100 times before shouldn't even register on the radar of things to consider.
More ›