skysight-inc/HackerNews huggingface dataset:
> Writing tests before the implementation code implies that you are certain about your final API, which may or may not be the case.

How does this myth continue to persist?

Writing the test first has nothing to do with knowing the final API. When I write tests first I am looking for an API. The tests help guide me towards a nice API.

I personally find TDD in this manner works best when taking a bottom-up approach with your units. I start with the lowest-level, simple operations. I then build in layers on top of the prior layers. Eventually you end up with a high-level API that starts to feel right and is already verified by the lower-level unit tests.

Although this style of development has become less prevalent in my work with Haskell as I can rely on the type system to guarantee assertions I used to have to test for. This tends to make a top-down approach more amenable where I can start with a higher-level API and fill-in the lower-level details as I go.
Define soon...in research it is already working I think, but AFAIK in commercial products it's at most used for memory and CMOS image sensors (which are amenable to that and where density pressure is the highest).

Getting production and thermal balancing right is really tough here, and remember that you need scale it to insane production runs to work with IC. But I'd not be surprised to see some breakthroughs in the next few years.

And I think memristives for memory will probably help because they ease the thermal pressure if you manage to eliminate sneak currents, and the material science/microengineering wizards in my lab are working on directly using the vias to make memristives, so obviously I dream of having stacks of memory sandwiching compute layers already...but this is still very much research!
Origami Flower Very Easy and Simple
Ford didn’t own 2 major subsidiaries in Europe.
While GM was buying every company they could get their hands on Forde was too busy with building Fordlândia in the middle of the Brazilian rainforest the best they managed to get is to enter into a partnership with a Russian car company after the Bolsheviks have already gotten into power.

I think GM was much better positioned and it much more decisively went all out on war production Ford made cars and engines during the war GM made everything from bullets to machines guns to tanks and bombers.
Show HN: Web Audio DSP Playground
I was responding to "...what hope is there to guarantee that my computer will not explode in front of my face while I am working?". I'm struggling to see how it's a straw man argument but very well, I'll accept it. Contacting Apple is probably the only option now - we can't help.
Good question. So anything orders of magnitude more popular than the competition is a failure?
Facebook to Offer Reward for Reporting Data Abuse
Dragon glass
The PS4 doesn't allow anything other than a PS4 controller to turn it on. This does not work well with my setup. Couple that with the need to logon as a user when running anny application and it makes it much less suitable for general household usage.
It's not that strong. You need to have a huge pool of water and something like colored liquid in it to observe anything.
This is 100% spot-on. With our web development product, Elevate Web Builder, the furthest that we went in the compiler with "giving in" to the dynamic typing in the target JS was a variant type. The rest has to be given an external interface declaration (classes, functions, and variables) that the compiler uses to type-check all calls to external JS or the built-in interfaces in the browser APIs. Other products have tried to allow for in-lining JS or simply include-ing it via special declarations, but that really handicaps what the compiler can do in terms of statically analyzing your codebase, which kind of defeats the whole purpose of using types in the first place.
A small quibble with #8 (no manual testing) - I can't recall the number of times a program has passed all the tests the creator thought to write, only to fail when someone actually looked at the output.

Automated testing should not be the end of the testing. It should be the beginning. Manual testing should be the last step, even if every manual test is immediately automated - there's always more to test.

Also, we should be sure to include combinatorial and fuzz testing in that pyramid as well, since skipping them leads to someone coming in with AFL and exploiting the hell out of your app.
The one I'm working on for my PhD thesis ;-)

No seriously? These guys here with their DVS: https://inivation.com/

They are already on the market.
It's not compute, but it is an awesomely HDR,low latency image sensor which gets you a motion gradient for free. Downside is no colour and no static images, but as a supplementary chip for stabilzation, for robotics or low power "wake up" camera and all those applications it is in my opinion already worth considering, and if the software and algorithmic side of image processing catches up to event stream based sensor data this will be quite awesome.

Disclaimer: I'm acquainted with some of the people who worked on this and think they are all quite lovely people, so might be biased.
You obviously didn't look at the law you are speaking about.
It’s not that simple. It’s possible that the doping squads pulled the non-dopers along with them thus improving the overall completion time of the entire peloton.

Sitting in the slip stream of such a huge bunch of doped up riders would be a major energy saver for clean riders and naturally they too would post better times.
I can stream from official google apps to my Roku devices.

From what I understand it's using DIAL which was developed by Netflix and YouTube. Chromecast devices have changed to using mDNS now, but the clients still seem to support both.
I came here to make this same comment. This article barely begins to scratch the surface on this topic. Effective, high volume scraping involves more than just rotating through a list of proxies.
After reading, it's more complicated...

https://www.howtogeek.com/214943/how-to-use-your-roku-like-a...

- DIAL - Chromecast use to support DIAL and it's still supported by the YouTube app and Netflix. Chrome also supports DIAL from computers.

-Miracast - both Android and Windows support it for screen mirroring.

So all of this time I thought it was the "Chromecast" protocol it's actually two other protocols that do the same thing(?)
In addition, it does nothing to mitigate even remotely significant scrape detection. Doesn't talk about request fingerprints, patterns, user agents and headers, multi region access, etc.

This is a hobbyists' guide to scraping under the radar. Fine at that scale but quite incomplete for anything remotely mature or wide reaching.
Actually, I wouldn't be surprised if Purism itself was a secret NSA division :)

That would be the smartest way for them to target specifically the people that are actively trying to avoid being spied (so, logically, they have something important to hide).
https://www.darpa.mil/attachments/AMEBAProposersDay_FINAL.PD...
Yeah they're probably "good enough" for most and the market hasn't demanded it (especially since only a minority do design). It's probably similar to how so many people are still not into multitasking and are happy enough to focus on one tab at a time, etc.

Consider another angle to this: look at all the cheap poor-quality keyboards that get bundled with business desktop computers these days. Comparatively speaking, nobody cares.

Outside of technology, my main hobby is cycling. The number of times where I've seen "experienced" cyclists or would-be experienced riders not care about having the right specific gear for the task (n.b., not necessarily expensive), or not using it in the most ideal way is remarkable.
Same here. Glad it's not just me.
Ask HN: Which search engine do you use, and why?
> > Writing tests before the implementation code implies that you are certain about your final API, which may or may not be the case.

> How does this myth continue to persist?

Yes indeed. TDD helps you find a nice API.
I do not see the logic in having a M.2 NVME SSD attached to the pci-express bus, which certainly has a totally closed source binary in its onboard controller... That's in the laptop, and it's OK? It has access to every disk read/write operation and manages a small RAM cache for the SSD flash, organizes the write wear leveling algorithm, etc.

But they have to go with some weird, ancient 802.11n card instead of a modern 802.11ac 3x3 MIMO, dual band Intel chipset card, because they don't like the binary blob in the ROM of the Intel minipci-express card?

At some point in time you have to trust the devices you're attaching to the pci-express bus in an x86-64 system or you won't have any useful functionality left.
> If they’re not teaching about the most basic principles of building scalable systems, what is the point of doing a degree, or hiring people who have done a degree?

Some degrees in CS are really vocational certificates, while more traditional degrees are not.
Luckily in most businesses incentives are used by the people designing the incentives to

1) cost as little as possible to the business

2) "optimize" their own pay/career

(There was a study saying that over 80% of sales people would deny their employer a million-dollar contract if it netted them $500 personally, so compared to that this is nothing)

Which makes sure that the incentives are not aligned with the business goals.

Now I guarantee that the best way to destroy intrinsic motivation, bar none, is to provide extrinsic motivation for things that aren't aligned with the business' goals.
No, that doesn't make him the fall guy. He was a terrible person who was deliberately going out of his way to cheat and destroy lives in the process. He was guilty as all hell, and he only one because he was doping. He was one of the main culprits.
They were doping, but it wasn't systematic. Nor was it a team bonding excessive.
I've worked on agile projects for 20 years. I was using agile before the manifesto was published. The opposite of 'not scrum' is not 'waterfall'. Further, I don't disagree with anything Ken Schwaber outlines in his writings on scrum. The problem is, on the ground, that is not what scrum is. Ken has been fighting that battle for at least 10 years.

If the process is just as often implemented incorrectly as correctly, that is a failing of the process. And in this case that is the most damning thing you can say about scrum. More often than not, people do it wrong. I'm tired of that excuse.
> Why is it so hard for some people of European descent to believe that non-European people may have crossed oceans in non-European ways, without Europeans ever hearing about it? For goodness sake, look at the pyramids. European people still aren't totally sure how those things were built. There are theories, but you don't know what's possible/impossible.

Well, saying that Norte Chico gave the Ancient Egyptians a hand with skycrane techniques is pretty impossible. There's a wide gap between "we're not sure what the answer is" and "this wild theory is equally well-supported by the evidence."

I gave some details in another comment, but the shipbuilding technology simply didn't exist before around 700 or so to cross the Atlantic Ocean--not in Europe, nor in the Americas (It did exist in Asia, but the Polynesian expansion and experience strongly limits the space for Asian trans-Pacific contact). That creates a very strong prior against pre-Columbian trans-oceanic contact, one that requires more persuasive evidence than "I can interpret this as a New World relic in the Old World." The only theory that comes close to meeting that standard is the Polynesian contact theory.
Fall guy is a colloquial phrase that refers to a person to whom blame is deliberately and falsely attributed in order to deflect blame from another party.

The way you word you response it looks like you are implying that it was his personality.

Me and others are telling is telling you that it was his __actions__. His shady character was probably why he became such a gangster, but that's beside the point. We are cheering his demise not because he was the right guy and the blame is correctly attributed to the central figure. There was no other party who deserves the blame more than Armstrong.

His actions when hiding his doping usage were far worse than his cheating and doping.
Neuromorphic engineering is the ~buzzword that pays for my grant~ is a loosely defined field that was basically started by Carver Mead in the 70s: https://en.wikipedia.org/wiki/Neuromorphic_engineering

It's basically doing for compute what biomimetics https://en.wikipedia.org/wiki/Biomimetics did already for materials and robots (Festo has some amazing stuff here:https://www.youtube.com/watch?v=7-JvyzOddTM), looking at systems in nature when designing VLSI circuits. Examples would be looking at the eye for camera sensors, the ear for audio, the brain for computation etc.

So it's an orthogonal field that happens to marry nicely with some of the properties of memristives, in that both with them and in the brain there needs to be consideration of noise, false firings etc. It also gets people (like me) excited because it opens up a way for routing and synaptic plasticity which was missing for ML-ASICs so far
in the year 2018 it's shipping with an 802.11n wifi interface in it. In a $1700 laptop. That's just terrible.
This was my first thought based on the history and culture of the company. I'll be watching this development closely. The optimistic side of me hopes embracing Linux marks a real change in Microsoft, but we'll have to wait and see.
It's non-standard, for sure, but it's "by design" and I suppose they can do whatever they want on their own platform. I'll stick with my IMAP4-compliant mail server, though.
> I start with the lowest-level, simple operations. I then build in layers on top of the prior layers.

I was discussing this with a coleague this week: starting by the lower level details vs starting from the more abstract/whole api. I prefer to start by writing a final API candidate and its integration tests and only write/derive specific lower level components/unit tests as they become required to advance on the integration test.
My criticism on starting with the bottom-up is that you may end up leaking implementation details in your tests and API because you already defined how the low level components work. I have even seen cases where the developer end up making the public API more complex than necessary due to the nature of the low level components he has written.
Food for thought!
Six Steps to Successfully Selling to the Healthcare Industry
Someone has already pointed out the Snopes article about the Coriolis force being too weak to determine draining directions, which is true.

But there's a second consideration - the Coriolis force varies as the sine of your latitude. It's tiny near the equator (this is why hurricane are unable to form at the equator) so you certainly wouldn't get a sharp transition as you walked over 0 degrees.

So, how is the scam achieved? You can pour the water 'off-center' so that it starts with some angular momentum. If you give it a small amount of angular momentum then it's not obvious before the plug is pulled, but the angular speed increases as the water flows towards the plug hole (the 'ballerina effect'). The guy putting the barrier in briefly won't necessarily remove the angular momentum of the water.

When they should the 0 degrees bowl and it drains 'straight' out it looks like maybe that bowl is shallower? That would help remove the initial angular momentum from an off-center pour. I'm less clear about how they're getting that one to work with no-circulation though.
Zuckerberg revealed his true colors years ago. I had a facebook for a moment in perhaps 2005-06. I deleted it. I have never regretted that, quite the contrary. I have enjoyed a life free of social media, and free of its trappings and influences. I watch my friends get sucked into "comparing mind," scroll through streams of advertorials and recieve the corresponding subliminal stressers, and constantly have their mindfulness interrupted by notifications. I think the general concept of social media is great, and a necessary thing for the world at large. I think facebook is evil, and it blows my mind that people still continue to use this platform (And similar ones) even though the company sells users out again and again. This era goes way beyond "jump! how high?"
Even in normal social relations, first thing people do when meeting new people is finding common ground between them. That would play into this, as they're looking to join the in group, rather than actually curious about your school, home country, ...
Recomea – make the easiest way to access or create a community
No actually, jbk is being honest and realistic.

The cost to fix the bug is currently too great for them to devote resources to fixing it correctly, so s/he is merely trying to economize scarce resources here. This is an open source project we are talking about here, not a paid product.

If the gp thinks they have time on their hands, then by all means, the project will gladly accept patches.
> I really dont see any reason why this could not have been done 10 or even 20 years ago.

The advancements in tooling, infrastructure and accessibility of ML in the last 3 years alone have made the difference. That's seems obvious.

Maybe your point is that the underlying techniques haven't changed, and thus it would have been possible to have made this discovery decades ago. But isn't that true of even the greatest inventions? Much of what's created or discovered is a function of the environment and conditions surrounding it.

In other words, it's not surprising to see a halo effect in other sectors as a result of tech investment in ML.
Genuine demonstration of this effect:

https://www.youtube.com/watch?v=mXaad0rsV38
Outside US many events are organized via WhatsApp

(I guess that’s why FB acquired it for 19bn)
But frontend sucks for REAL, no ?
Lifelong skater here. Learn to actually skate. Electric board riders look like dufuses. Seen quite a few in NYC. Their stances are always way off and unbalanced, seen many who couldn't stop manually, and it goes against/disallows for most of the reasons for having a skateboard. You can't get true ground/board feel while carving, its weight and form prevents execution of flip tricks, it takes away trial and error learning when it comes to learning how to skate because you're not actually skating, etc etc etc.

Tired of writing, the main things I wanted to point out are that electric board drivers look like assholes and eletric skateboards are retarded. It's as simple as that. Stop using these things and learn to skate
I think the thought of deletion is pretty much just one of the problems.
I managed to delete my Facebook profile a few months ago, but the amount of pressure I often receive from people so that I create a new account is what impresses me the most -- not from the personal level, since I already made up my mind, but from the point that most of the people think Facebook is just an essential, irreplaceable tool which everyone MUST have. I'm glad this did not yet affect my work or study, but this "disease" seems to have already infected most of my family and friends.

Now personally, I think people fool themselves most of the time to find what seems to be a reasonable answer to why they use Facebook: be it networking, be it a way to communicate with family and friends, be it a way to stay "in touch" with the news (and that also opens up for the whole fake news discussion, but oh well). I'm not saying those are not legitimate reasons to have a Facebook account (these are actually the primary services that it claims to offer), but I really wish people could see that there are other means to that. Some don't even involve having any social media accounts.
Bitcoin pastejacking
It's actually a reasonable stance IMHO.

They are likely trying to discourage app vendors from using batch-and-switch as a growth tactic.
Apple REFUSED to Fix Our iMac Pro [video]
I agree in principle, but there is also something to be said for not having a closed system being able to talk both to a wireless network and have DMA.

Anyway, the more open components the system the better, and if this shows there is an interest for an more open system, the next one might be more open than this.
Wordpress theme for coffee shop
I feel wastey when using a p8400 c2d instead of my l7500 c2d. I don't get people needs today.
Bitcoin Energy Consumption Can Power an Entire Country – EOS Is Trying to Fix It
There's one born every minute. In both hemisphere's it would seem!
Which is quite primitive experience versus having a GUI debugger.

Something that other languages that compile to native have available without additional costs
Many people are just focusing on the social networking aspect of Facebook, which can provide cohesion, but it's more than that, and some aspects are profoundly useful. It connects people around the world, it makes event planning easier, it digitize communication to provide opportunities for augmentation, and it has elevated consumer advocacy. In the global and online trade age, it's important for companies to be more conscious of their image, and consumers to be able to organize. Raising a complaint on Facebook is one of the best ways to have an issue resolved these days.

Taking away these facilities would be a giant step backwards, like removing telephone lines or postal routes. It's really a matter of defining who has the authority of this position and how the information is distributed, where Facebook is problematic.
There are some exotic cars that use GPS to measure their speed to save weight by not using a typical speedometer.
Windows 10 April Update is probably the new name for Spring Creators Update
Ditto here. 1Password generated pw, 2fa, etc.
I've used it to convert publicly available data to a more useful format. A local government agency made the data freely available as a series of thousands of HTML pages, but not in any other form. I didn't need to use any evasive tactics, but it was still wholesale repeated scraping.
Why would manual testing be the only option?

As an example, we wanted to automate the test for browser-based OAuth connections to GitHub and authorizing an app there.

Here is the test that does so: https://github.com/coreinfrastructure/best-practices-badge/b...
Don't register there to begin with.
The Menopause-Alzheimer’s Connection
I have been working with teams that heavily use automated tests for over 16 years now and, at least on my experience, making others test your code would lead to untestable code and delegation of responsibility.

Even for manual tests, the test spec should make part of the change request and be reviewed appropriately.

Cheers!
Laser is an acronym as well...

> "light amplification by stimulated emission of radiation"

Acronyms have their place, and can be more descriptive than, say, project Glorfindel.
Nicotine is poisonous when ingested, so that perheaps explains why the mummies are dead.
Cupholders Are Everywhere
Factom and Tokenless Blockchain Development
People use electric skateboards for transportation, not to do tricks.
I think this is just fine with magnets. It would be by far the easiest way and he definitely removes enough water momentum that it shouldn't soon anywhere near that fast. Plus I don't think he is just spinning it as he puts it in because you can see it speed up.

If I had to guess I would say it is an electromagnetic coil laminated in the bowl and the battery and controller are in the stick part.
Sure, the point is to treat test-code as "normal" production code. The things you mentioned here applies for that code as well.
A great story, but I'm distracted by the word caromed. How did I not know about that word? Now I feel the need to inject it into my active lexicon.
What do you use as your email service?