skysight-inc/HackerNews huggingface dataset:
I'm going to kind of echo Paul Moore's argument here, and say this entire discussion is missing the forest for the trees.

Duck typing exists so you can code freely and with expression, but the obvious converse of that is it allows you to shoot yourself in the foot. From my POV it seems like people here are complaining that when they point the gun at their foot it seems to randomly go off when testing date values, and the simple answer to that would be "Well, then don't point the gun at your foot!"

IM(not so)HO the Zen of Python operates as an excellent counterbalance to the kind of pitfalls Python can lead you to, the "false midnight" being a wonderful example of said pitfalls that is completely removed when following PEP 20.

>> "Explicit is better than implicit."

Dates IRL cannot be false, so checking for falsiness is ambiguous. Perhaps you meant to check if it was "not None". And look! The wonderful expressiveness of Python allows such a thing! `if timeobj:` is a snippet that has some heavy assumptions behind it, and if I'm reading your code this is very much not explicit to me what you're trying to do.

>> "Simple is better than complex."

Dealing with dates/time will always be nasty business. Let's not add to that, and make things as simple as possible. If you are explicitly checking for midnight, perhaps a constant value set to `datetime.time(0,0,0)` would be useful for a conditional.

>> "There should be one-- and preferably only one --obvious way to do it."

There are Pythonic ways to check for `None` and there are ways to compare date time objects. The key word for me here is "obvious", since, again, the idea of a date having a boolean value is entirely foreign to the real world, and more or less a shortcut found only in computing. Don't create an edge case that you don't have to.

Now granted, the stated behavior can definitely be seen to also violate PEP 20, but simply avoiding this entire issue renders that point moot.

tl;dr: People complaining about unexpected results when writing bad Python code are barking up the wrong tree. Perhaps you should try a different language, or learn to code in a more Pythonic style? Both of these avenues would be much more profitable not only in the short term, but also the long term.
Why is summing a list of numbers 1 to N O(N^2) instead of O(N), don't you just iterate through the set of numbers once?

EDIT: Nevermind, I think it means the value of the sum is on the order of n^2
If they're being anti-competitive then they're doing a completely shit job of it. There are about a million models of cheap multimeters available for purchase from about a million different retailers.
Haven't thought about it much -- my first thought would be that the solution in the blog post could be the right one for a small office where movement of the base isn't necessary, and for one on wheels you should just go buy from Double Robotics. Their product looks really nice.

If I had to build one that moves around, I'd start with investigating the Roomba API, with an aim to mount the iPad on a Roomba and expose remote control of the Roomba to the chatter. You wouldn't get as high off the ground as a Double robot without making the mount unstable, though!
Quirky Aros
This story upset me for a moment. My first thought was "a ton of multimeters look like that." After doing google image search for a moment, I realized that all of the multimeters that I've used that looked like that have been Flukes or Chinese/Korean knockoffs of Flukes.

There's no reason to make the case yellow and the face grey other than to trade on an existing reputation for quality that Fluke has established. That's exactly why there are trademarks. Pick a different color: I suggest hot pink, or 2-tone checkerboard because I would buy that.
I wonder how many would die because freezers and microwaves stopped functioning.
Just a quick glance at this - are they essentially js portlets?
I was looking for something exactly like this just recently. Usually I use just php include when I want to just links some files together, but felt like I should stop using php as a preprocessor if possible.

However, everything else is so complicated if all you want is simple file inclusion.
Right now we use KnockoutJS in the Blade templates. the `data-bind=` syntax is from that. There's not reason you can't use another front-end UI binding library with a syntax that you prefer.

This response provides more about why the front-end library isn't core to what BRJS offers: https://news.ycombinator.com/item?id=7429659
I wonder if it would be possible to detect from user eyes where he is focusing and adjust the focus point accordingly. Would you think that would add another level of immersion?
"Encoding is designed to protect the integrity of data as it crosses networks and systems"

Your blog entry has encoding problem. Indeed, it protects me from reading it.
Using other stackexchange sites is fine.

I am no longer able to validate whether addon-less browser would work, as the issue is mysteriously resolved now.
In theory leveraged buyouts are all about what you describe: getting rid of incompetent management, shedding non-core businesses, and restructuring the company to be more efficient. In practice, LBOs tend to leave companies weaker than before, since people like Carl Icahn strip cash reserves and load the company up on debt instead. This means that the company is running much closer to its financial red-line than before, and so when an unforeseen contingency occurs (like a year of bad sales, or an economic recession) the company is forced into bankruptcy with ruinous costs for its remaining shareholders, managers, and line workers.
Is data going to eat venture capital? Why we hired a data scientist
Same here. My immediate response to the headline was "design a metamorphosis virus like the Descolada."
Trademarked, not copyrighted. And... maybe yes you should check to see if your product (coincidentally or not) happens to look an awful lot like the market leader?
This is highly unfortunate and seems like the problem is with the younger managers not having adequate support.

In my early 30's I had the the privilege of being able to recruit 50+ developers onto two separate teams at a startup. These were people who's experience vastly outweighed my own. I was still responsible for guiding my teams to meet the business needs, but what I learned from these people literally changed my life.
I hate it and minimize its use while using other build tools whenever I can (in the same project).
We planted a tree (from seed) when each of our kids were born. Being the superstitious, symbol creating species that we are it was a little stressful for the first year or so in case the trees didn't make it and so foretold our childrens fate.
It's a low cost device for hobbyists who want to test their arduinos. The fact that it can't be used with a 240v source is irrelevant. If its safety limits are improperly marked, then you have a valid criticism.

You sound like you really just have a problem with electronics hobbyist amateurs who deign to intrude on your actual qualified electrical engineer grandeur. Get over it.
Asians (East and South) are themselves underrepresented in board appointments, though, so I feel like they're actually part of the larger discussion.

One thing I've seen a couple of times is kind of an ethnic version of a reverse IPO, where minority-managed funds use pedigreed white guys to get them access to more desirable investments in exchange for discounted capital. There's a market failure in there based on a kind of ambiguously structural racism, but it's also gotten a couple of projects off the ground that otherwise might not have been able to get the right kind of term sheet.
indeed :(
An interesting example: I think car ownership would be a good fit for this model. I certainly don't need a car 24/7, I just need one when I need one.

If a car could arrive for me to drive it at that time and place that I need it (and depart to another client when I'm done), that could be perfectly efficient... but curiously this business model doesn't even nearly exist. There are too many other things going on.
The Fountain
What's the reason behind not using PHP?
That's an ugly thread with people putting each other down in every post.
Ball Bearings in a Hypersphere
That has nothing to do with the trademark issue at hand, and no one is cheering for the demise of Fluke (the post is actually very complimentary of Fluke products).

For people working with 5V circuits (e.g. Arduinos), you don't need to worry about AC power killing you or your multimeter exploding. A cheap multimeter is OK in a pinch.
Meet Cloak, the ‘antisocial’ network that helps you avoid people
You just need to wait a bit before replying. The link takes some time to appear.

Your claim that they're "aping the design of Flukes" is unsupported. I haven't seen any evidence that Fluke invented that design or colour scheme, rather than it becoming a fairly common format for multimeters and then Fluke deciding to copyright the design.
I thought the same thing when I read that. When I was thinking of "integrity" from a security perspective (as you might in an article like this) it didn't make sense. But when I thought of it more from a pure data transfer perspective between say a browser and the application it made more sense. I don't think he's saying that it's safe from mitm attacks. (At least, I hope not....)
Yes, but where can i get that guy's shirt?
It's referred to as 'sleep of death', my debian-running x230 also has it. Do you at least know what 'layer' of the system can be attributed to causing this? I haven't spend much time researching this myself either.
What is the projection angle or area of one of these storms? I'd guess that the vast majority miss Earth.
partials :-)

try to have 1 header in like 10 pages. That is a lot of copy pasting :-)
> Good design adds and means nothing

Yeah… nah
Blind brand loyalty isn't always a good thing, especially over the span of 20+ years where you stop even testing the alternatives. Technology advances FAST. You say nothing about having actually evaluated the cheaper alternatives in person? Are you sure that despite exponential increases in technology that prices haven't come down at all?

Are you sure about the true production costs, if you eliminate the 20 layers of middlemen and are only paying the 10cents / hour miners + 20cents / hour workers? This is a finance / markets question, not an engineering question.

Lots of strong emotions, not so sure about the evidence. Technology and cost of technology never stops advancing. Numerous large companies are guilty of price-fixing, e.g. the large-scale monitor price-fixing scandals from a few years ago. Bet you never even heard of those cases?
On the bright side, the people reading sparkfun and getting pissed at fluke, probably never would have bought a fluke anyway, so no tremendous loss here. The market for $15 meters and fluke meters doesn't overlap much. It's been a while since I shopped DMMs, but isn't their entry-level meter ~$250?
You need PHP installed and configured on your server/local. With this you can just use plain HTML.
Huh? How does expensive equate to "anti-competitive"? If anything, wouldn't really cheap be anti-competitive?
> The years I spent with Borland Turbo-C, Borland C++, Turbo-PASCAL, etc. just aren't relevant either.

Actually, my experience with Turbo Pascal helped a great deal when I moved on to Java. And I still believe that Turbo Pascal, in particular, would have been a tremendous help if I opted to pick up C#, because one of the leads of TP is one of the designers of C#.
Reminded me of my go-to include method from back in the day: http://www.moock.org/webdesign/javascript/client-side-includ...
This is going to be a game changer for the hacker community passionate about the intersection between technology and fitness. The ultimate camaraderie and bonding experience!
Redesigning Search at Airbnb
2015 would make sense. People that really want it can get it now and regular consumers will have there socks blown off when/if the gen 3 comes as a consumer version.
Am I the only one who thinks the motion sickness is something good? Like, "it feels so real that you get motion sickness" and that the new version feels less realistic. I hope I'm wrong though!
You could look at it that way. But I'd like it to align much more with Web Components and a defined architecture for inter-component (Blade) and service (shared resource e.g. back-end) communication.

I think this comment best describes the focus: https://news.ycombinator.com/item?id=7429659
Starry eye programmers from outside the Bay Area should be forced to watch the Office Space movie for an idea of what Silicon Valley is really like: a gindingly dull suburb.
Unreal Engine 4 is out
Why vision trumps all other senses
At first I thought the title was link-bait, but it isn't much of an exaggeration. The topic is explored deeply.
I haven't read everything but why isn't the source like 10 lines if that's all it does?
The point is that you should be highlighting your Linux skills for a company that is seeking someone with Linux capabilities.

Applying to a Java shop? Same deal, highlight your Java capabilites and projects.
Instead, you are highlighting nothing.

Another issue is that you have been out of work for a long time. I can't find a reference right now, but being out of work reflects poorly on you.

Perhaps you could fill that period in with "Freelancing?"
> The right way for her to have handled this would have been to document everything, and then resign and sue them without fanfare.

Which would have put Github instantly on the defensive, and would have lead to limited and speculative publicity only. As it is, Github is not being sued, and seems to be making a proper effort to address its problems. This sounds better, really.
As you say, the L1 cache is small. That means you only have to be concerned about it in small time frames (the register set is even smaller, and you don't try to keep stuff in registers across read() calls, either) That read() will block. In the typical HTTP server, that means other code will run and fill the L1 cache with its data. There's nothing you can do about it in a HTTP server.

And, pedantic: thatread() should use DMA to move in the data, in which case it needn't hit the L1 cache.
Alibaba's choice of U.S. IPO spurred by rivals
"sum of the numbers from 1 to N is O(N^2)"

Maybe I'm misunderstanding you, but no it isn't. it's O(N) if you have to traverse a list of numbers it's actually constant time if the numbers are sequential.
http://www.pce-instruments.com/english/slot/2/artimg/large/f...
Anyone successful in using paypal checkout? Failing for me.
You are speaking of time variance. At some point in time, by definition, the nuclear family was present. It takes a male and a female to produce an embryo. At this point, the nuclear family is created. What happens afterwards is of course a combination of choice and probability, as your plethora of examples indicate.

The only thing that is important in my assertion is whether the nuclear family unit is purposefully maintained by the parents, or not. The many reasons outside of the parents' control which may contribute to its dissolution are not part of this discussion (accidental death, dislocation, disease, etc.).

As with any problem, we must be careful in defining our variables and assumptions, and minimize both in order to reduce the complexity of the problem, but not so much that the problem being solved becomes trivial.
"At the time, there were no "Fluke yellow" instruments on the market. They were generally considered ugly."

From what I can tell, in the time period you're talking about even Fluke meters weren't "Fluke yellow" though - e.g. http://www.stevenjohnson.com/pics/why-i-buy-flukessm.jpg
Yes. This is true. I posted something similar circa 2009 about this sentiment. It used to bother me a lot but not anymore. A reply from pg on the different cultures:

pg 1678 days ago | link

Everything you've written would have been just as true in the 1980s, with a few of the names changed. Then too there were authentic hackers, glib fakers, and corporate drones.

The great majority of the computer world in the 1980s was profoundly unsubversive. The smart, subversive people were a tiny minority. They seem a larger proportion when you look back from 30 years later, because the fakers and PHBs had no lasting effects.

10 years from now, who is going to remember Marc Andreessen or Paul Graham? Besides some true hacker enthusiast ironically, who remembers Andressen's work on Netscape. In my original post in 2009, I mentioned the hot founder celebrities back then, Carol Bartz (fired), Seth Godin (pumping out more irrelevant books listed further down on Amazon) and Timothy Ferris (moved on from 4-hour "founding" to 4-hour body-building and cooking).

I think in the early nineties, when Linus Torvald first pushed out Linux on the listserv. We had OS/2 Warp and Windows 3.0 preview and Microsoft Bob. Borland, WordPerfect, Lotus 123 running on MS-DOS were the kings. Do you guys remember who founded or worked on those? The people who hack on stuff will always be there because money & fame didn't motivate them in the first place.
Ah yes, mutating the class is most definitely a concern...which is why I give you an additional +1 for advocating for a Hash to be passed into the constructor.

This seems to be what the Twitter gem did too, in its newest versions. AFAIK, the Twitter configuration was a mutation to the class via config object, and now it's been revised to be thread safe:

https://github.com/sferik/twitter#configuration

client = Twitter::REST::Client.new do |config|
config.consumer_key = "YOUR_CONSUMER_KEY"
config.consumer_secret = "YOUR_CONSUMER_SECRET"
config.access_token = "YOUR_ACCESS_TOKEN"
config.access_token_secret = "YOUR_ACCESS_SECRET"
end
> a large and complex JavaScript application is maintainable

Can you describe the size and complexity of the apps that you have done with this framework?
> a single read() into a 16 KB buffer already blows my entire L1 cache

If you do I/O, memory latency is probably not your worst problem. In this case you should focus on I/O throughput, e.g. non-blocking read operations and/or multithreading.

Multithreading can also help you to better utilize your memory bandwidth, but in this case it's unlikely that you are bound by memory bandwidth or latency.
I would love a virtual programming environment. If they (eventually) get the resolution high enough, you could use it to replace all of your external monitors, and be able to use your full desktop environment anywhere.
Oh! I immediately thought this was related to #iamdoingprogramming[1], thanks to @aphyr.[2] It's not, but there could be overlap.

[1] https://twitter.com/search?q=%23iamdoingprogramming

[2] https://twitter.com/aphyr/status/445566492172492800
In-depth with Android Wear, Google’s quantum leap of a smartwatch OS
Actually I think Amazon supports something similar to this, wherein you ship them crap to hold on to and then after they receive and inventory it, they can optionally sell it for you.

Though I'm not sure how the shipping plays into that.
They can be expensive even for small sites. For instance, it's $20/mo for SSL not including the certificate.
Create a fully automated and objective system to gauge the ability of developers. Then people and companies wouldn't have to waste time performing interviews.
it sounds like you haven't used an Oculus. There's nothing fun about VR sickness; it just makes you know that you're not really there.
A Brief Rant on the Future of Iteraction Design
Erm, yes? That was exactly my point, hence my contrast of two completely opposite viewpoints and the claim that it's relative.
If Hovarth was planning a lawsuit, she probably wouldn't have talked to the press; this is exactly what you don't want to do in that scenario.
Parts sourcing is part of engineering. He is right, well designed high voltage protection is not going to be cheap, and these meters are obviously not designed with anything but digital testbench in mind.
Bitcoin deserves the right symbol
Always go for the highest they offer. E.g. If you apply for a job 25,000 - 35,000 go for 35k. My thinking behind this is that it shows you're confident in your ability. Remember a lot of companies are big enough to incur an extra 5k of salary in order to get the very best candidate.

I'd say the above becomes more true the bigger the company gets... Small companies <10 employees this theory could well breakdown.
I'm in the UK and I had to pay $35 shipping and $77 Tax, bringing my total order to $462 or about £277.89.

I only have a hobbyist/tinkerers interest in developing for anything for this, but I figure that (in my opinion) the Rift is the most exciting piece of technology out right now and I'd love to have a play about and see what I could achieve with it.

Also, I've never even so much as tried any VR before, so I reckon the price is cheap for the chance to experience it and see what it's all about. It might be a total let down - and I'm ready for that, but at < £300 I figure it's worth a punt.
And if you show a bunch of electrical engineers a multimeter with a grey face and a yellow border, they'll tell you it's a Fluke. Sparkfun will lose that survey, because their knockoff multimeters appear to be designed specifically to look like Flukes.

Fluke multimeters really are the best I've ever used. Similarly, Weller soldering stations are the best I've used, and I'd expect them to protect their signature blue case/black front design.
Youtube's playlists also have it. It's annoying when I'm listening to a playlist at work and it suddenly stops, although if I'm deep enough in the zone I don't notice it until some minutes later.
> On the other hand, if the lawsuit is for enough money, it can bankrupt the company

Github has substantial cash in the bank; it's not going to be significantly harmed by an employment suit.
Why? This is not useful for anything at all. (At least to my knowledge)
They have a giant book:
http://www.usitc.gov/tata/hts/

There is a really interesting NPR "Planet Money" podcast where they talk to customs folks about the import process. (They were tracing the supply chain for a t-shirt) Customs agents have lots of obscure knowledge about these things.
I may slightly be showing how long it's been since I looked at Splay. :)

My memory was that originally V8 was out-performing everyone else primarily because the initial allocation (into the nursery) was way quicker than anyone else did. Or maybe it was freeing the nodes that die young?

Certainly I remember both SpiderMonkey and Carakan spending huge amounts of time on GC on Splay, and Carakan's massive speed-up came when the object representation was changed (GC actually asymptotically regressed as a result, but in almost every practical case cache-locality (and reduction of memory accesses) outweighed it).
The "types of knowledge" sounds like Donald Rumsfeld quote who was derided for speaking of the concept since 2002 and I'm sure before then even. "known knowns, known unknowns, unknown unknowns."

http://en.wikipedia.org/wiki/There_are_known_knowns
Acorn App – Invest Spare Change
People who are finding this enjoyable would also get a good laugh from https://twitter.com/FalseMedium
Russia is very different from US in that it's internal market is not really enough. Many US companies don't bother trading outside the boarders because the cost/benefit is not there.

This is definitely not true in Russia, especially in anything related to software and such (the better paid industries), even Oil requires speaking another language.

It is true that poorer portion of the population don't usually invest much time in other languages, but middle and upper income brackets do.
The vertigo isn't because it feels so real, but because it doesn't, and your brain knows the difference.