Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dsp1234
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
86 ms
·
601.
▲
by
dsp1234
11y ago
Quick poll of those around me: Are orcas called 'killer whales' because the kill people? yes - 3 no - 2
602.
▲
by
dsp1234
11y ago
Objects in JavaScript use referential equality when checking for strict equality, which indexOf uses. In your code, 'elem' and '{foo:"bar"}' are different objects which is why your code doesn't work as ex
603.
▲
by
dsp1234
11y ago
RHEL was one of the first 'supported' linux guests for hyper-v [0] [0] - http://www.pcworld.com/article/159615/microsoft_redhat_partn...
604.
▲
by
dsp1234
11y ago
'House of Cards' recently explored this issue with their fake search engine, Pollyhop. The (fictional) results were.... unsettling to say the least.
605.
▲
by
dsp1234
11y ago
I wonder if that's a problem with stuff like immutibleJS since the object itself is permanently mutated as part of being added to the set. Also, if this was being done for ES5+ code, then either setting that property to non-enumerable
606.
▲
by
dsp1234
11y ago
var set = [] var foo = {foot: 1} var bar = {bart: 2} set.push(foo) set.indexOf(foo) //0 set.indexOf(bar) //-1 "indexOf() compares searchElement to elements of the Array using strict equality (the s
607.
▲
by
dsp1234
11y ago
Note that regardless of lawyers vs nerds, the CDDL is quite clear about what happens if a new version of the CDDL is released. 4.1. New Versions. Sun Microsystems, Inc. is the initial license steward and may publish revised and
608.
▲
by
dsp1234
11y ago
Indeed, but generally people seem to be coming at it from the Oracle suing over the CDDL side. Additionally, if I understand correctly, in order to have a chance to sue, Oracle would have to show that the code in question violates their act
609.
▲
by
dsp1234
11y ago
Does MS-SQL have anything like PostGres' Bidirectional replication? Yes. https://msdn.microsoft.com/en-us/library/ms151196.aspx https://msdn.microsoft.com/en-us/library/ms151855.as
610.
▲
by
dsp1234
11y ago
Which are super awesome! but stuff like "Does not compile with PostgreSQL >= 9.2!", "A patched, but completely untested version", and "The current version does not yet support WHERE clause push-down, column push-
611.
▲
by
dsp1234
11y ago
At that point, "Sybase SQL Server version 4.2 and Microsoft SQL Server are identical." Well, that's 23 years ago... But even at mssql V7[0], most of the systems had internal rewrites that made them different than Sybase. [0
612.
▲
by
dsp1234
11y ago
I'm honestly not sure how much of that would be related to the query planner vs linked server network code. Speaking of which, linked servers (cross OS, cross SQL type database queries) are native in MSSQL, but require a third party od
613.
▲
by
dsp1234
11y ago
The query planner is top notch. I rarely have to worry about query plans. MSSQL will take my 'readable' code and make an efficient plan out of it. Whereas in mysql and postgres there are many times when I have to write less rea
614.
▲
by
dsp1234
11y ago
Can you point to the area in which Canonical is in violation of the CDDL? I can't see that they are. They may be in violation of the GPL, but the CDDL seems fine. Specifically[0]: "1.3. Covered Software means (a) the Original S
615.
▲
by
dsp1234
11y ago
they're the only ones who can. This is true, in the same way that it's true that the US could vote in a constitutional amendment to allow a dictatorship. First, Oracle only has the copyright to the original ZFS code as it existe
616.
▲
by
dsp1234
11y ago
ZFS is not coming to Linux as such, it's coming to Ubuntu specifically This is a faulty understanding of the issue. Other distros such as Debian are packaing 'ZFS on Linux'. Ubuntu is not the first one to offer the abilit
617.
▲
by
dsp1234
11y ago
a tool that would show lack of coverage Except, as pointed out, there is no lack of coverage in my example. All lines are 'covered', and no line is left unexecuted. So by definition, there is no 'lack of coverage' fr
618.
▲
by
dsp1234
11y ago
you know that chap in the Zapos office wants to work in that environment. I don't know that at all. All I know is that social pressure works, even at Zappos. If every desk at Zappos has a bunch of crap on it, then by damned your des
619.
▲
by
dsp1234
11y ago
Imagine a function that is something like: function X(Y, Z){ if(Y){ foo(); } if(Z){ bar(); } } If you have tests like: X(true, false); X(false, true); Then your code coverage from the "line
620.
▲
by
dsp1234
11y ago
The FAQ[0] says it uses xv to display images. My guess would be that w3m generates a borderless X window running xv set to run on top, then manipulates that window to follow the scroll behavior. [0] - http://w3m.sourceforge.net&
621.
▲
by
dsp1234
11y ago
The flip side of this is to find a good company that is in the metro area, but not in the main city. For example, my commute from Sherwood to Wilsonville is 20-25 minutes. Since I'm not trying to drive through Portland proper, I'
622.
▲
by
dsp1234
11y ago
A trial period means uncertainty. More specifically, this is another way for an employer to move the risk of hiring back onto the employee. It's the employee who is going to need to leave their current position for an 'audition
623.
▲
by
dsp1234
11y ago
Some of the "best" are going to have families, and existing jobs. Thus, if this process helps eliminate those candidates, then the basic thesis of "we hire the best" is by definition false. With a more accurate stateme
624.
▲
by
dsp1234
11y ago
The extra width is for parking. Thanks for that. It's so obvious from that view, but harder to understand from the bird's eye view. So from the bus driver's perspective, the AV was a parked car on the side of the road. Fr
625.
▲
by
dsp1234
11y ago
If you don't need DNS If you don't need DNS, then why would you keep it in place? As an example, I have a system that needs to contact exactly 2 hosts (one of which hosts package updates). So it has DNS turned off and I have a
626.
▲
by
dsp1234
11y ago
The total running time of the entire documentary is 769 minutes. There are 29.453.760 minutes in 56 years. There were 14 people, for a total of 412.352.640 minutes of lifetime. That a speed up factor of 536.219. It seems like any biologic
627.
▲
by
dsp1234
11y ago
Note that neither the AV nor the bus ever left the lane. This all happened in a single 'wide' lane, wide enough for both vehicles to be in it at the same time.
628.
▲
by
dsp1234
11y ago
I'm actually really curious about this now. It's a "wide" lane, with room for 2 sets of cars. The AV itself went into the right hand part of the lane while other cars were still in the lane. Presumably the lane is wid
629.
▲
by
dsp1234
11y ago
I'm pretty sure it's the bus. Generally a already moving vehicle with a green light on straight road has right of way. The correct action for the autonomous vehicle (or a human driver) would be to wait for all traffic in the lan
630.
▲
by
dsp1234
11y ago
And here is the actual accident report [0] "A Google Lexus-model autonomous vehicle ("Google AV") was traveling in autonomous mode eastbound on El Camino Real in Mountain View in the far right-hand lane approaching the Castr
More ›