skysight-inc/HackerNews huggingface dataset:
Maybe we will end up with the highways portrayed in tek war and other scifi, where you don't do the driving on limited access roadways but can or have to do it on side streets.

it certainly would be easier to mark visually and electronically limited access routes like interstates. that in turn would make it simpler to create safe self driving cars.

still I am not impressed as to where the tech as implemented on roads with current cars is today. they only work in ideal situations, the exact opposite of most safety equipment. its obvious they cannot rely on visual acquisition of objects, Tesla's system failed spectacularly in that area, so what will win out? RADAR? Laser? Combination of both?
That's a blast from the past :)
وفد مصري سيزور روسيا ليبيع الليمون
Sure; but a working version is still really really useful to compare against (e.g. build up a suite of test cases) even if you have to redesign large parts for performance later.
But it is a fantastic 4,000 word essay. I came here to post it and was happy to see it was already the top comment. I can't recommend it enough.
Let's say that tomorrow, Microsoft releases a totally-backwards-incompatible build of Typescript, and starts charging for it.

My "way out" of the Typescript ecosystem is:

1.) Change the target to "ES6", and run a compile.
2.) Take those files and use them as my new source files.
3.) Remove Typescript from my build pipeline.

Done. Easiest language migration I've ever done.
If someone learns better through sight, there must be someone that also learns better through other senses right? What are learning "types" often limited to only cognitive/spacial?
Apple Watch Nike+, a Smartwatch for Runners Is Coming This October
Isnt item 4 basically encouraging microbenchmarks? Microbenchmarks can be misleading, and there's no guarantee you're benchmarking the important things. It mentions profilers in passing, but i find it more productive to start with a profiler.
Which is entirely by design, when they make batteries not be swappable. If your goal is to make a good product, it makes perfect sense to have a long update window, just as it makes perfect sense to offer replacement batteries.
What is Michael Jordan's source of wealth?
Is there any reason why an unpatent campaign is limited to 30 days? Wouldn't it be better if campaigns expired only after their funding threshold was achieved?
but there is no such word as 'performant' ! wiktionary doesn't count :) note that efficiency and performance are _not_ the same thing.

improving efficiency implies doing less work for the same end-goal. thus, when a program is 'efficient' then it is doing the minimum amount of work that the computation demands. or in other words, we have the best algorithm around for some kind of complexity argument for the task at hand. an algorithm which is efficient is not wasting anything.

performance on the other hand, implies, how quickly the work that is to be done is actually done. basically performance improvement would allow you to do the same amount of work faster (in time).

is the program at any given point in time (during its execution) doing maximal speed of work ? that doesn't seem to make much sense.

infact, in practical terms, what is the 'maximal speed' of work ? <theoretical constructs like Bremermann's Limit doesn't count :)>

programs can perform 'well enough', but that doesn't mean we are all done with it...
That's my point. It does one thing, but it's by no means security.
All About iPhone 8: Rumors Roundup
Except the Project Euler problems are mostly pretty boring, if you're not excited by math. I've worked through it a little bit, and it reminds me a lot of Math Team competitions in high school: the problems are a cinch if you know the formula or the rule that applies, otherwise it's a tedious slog.
622122662221
There is nothing special about algebra in that regard. Ask blind person to recall some visual memory (from before they went blind, obviously) and the effect is exactly the same. Or ask any healthy person to close one's eyes and do algebra - still the same effect.

The point is: our brain does not really tells apart reality from imagination. The same areas are involved in processing real images comming from the eyes, as well as internally "rendered" imaginary images.
Not donating feels like funding the patent trolls who are extracting $29 billion dollars a year from the American economy. You can choose to complain, or you can actually do something about the businesses that are being extorted and the billions of dollars wasted on trolls.
At least in my country if the government wanted to kill me they could do it with or without self-driving cars.
But you have the same issue even without the Michigan Left, but even worse because there is no way to get to the gas station (without finding a parking lot to turn into and turn around).

Consider an intersection that is busy enough to have a raised median. The gas station is on the left hand side, before the intersection, on the corner. You can't get to it before crossing the light, due to the raised median. You also can't turn left at the intersection and cross over, because of the raised median on that road. So you have to drive down the road a piece, find a safe way to get going in the opposite direction (like pulling into and out of a parking lot), then do the same dance after the gas station visit.
Agreed. Security technologies are about to become front-and-center the way quality control of food and engineering are. Transparency is key
That mess turned a single intersection into...let me count...16 intersections. I'm baffled. How is that safer?
Mixins over Inheritance (2015)
How do you know the speed expectations? Do you always talk concrete numbers with the stakeholders before each change you make, or just use reasonable rules of thumb you determine?
Nitpick: The built-in min() is also O(n) on the length of the array, though it will be a bit faster as a built-in C function.

You're probably right that you shouldn't have reimplemented it though - knowing how to use the language and its standard library is a good indicator for real-word experience.
DbForge Documenter for SQL Server – New Tool from Devart
I'm the post's author. The key point I was trying to make was not that monolithic systems cannot handle the throughput, but that they become more and more difficult to extend and maintain as they grow. None of the companies mentioned started out with a microservices architecture – they moved to them (at great expense) when they found development difficult to scale.
My posit was that 80% of the software an engineer will write will not require optimization and based on the responses i've been getting I should have used "rule of thumb" vs mantra. My intention was to warn the ones that read this and say, oh i gotta do all of this for every piece of software that I write, which will undoubtedly lead to overly complex code when a simple solution would have worked just as well.

"Know your performance goals going in and code accordingly."

I this is key sentence here and its worth repeating. Know your performance goals before your fingers touch the keyboard.
Cool Math books
MeteorJS: Bright Past, Fast-Changing Reality and Unpredictable Future
I would also use some `demand` function or argument-validator in JavaScript to validate that, thats a good practice in anyway, like: `function sum(arr) { goodArrayOfNumbers(arr); ... }`.

I think that; in JavaScript you NEED to validate your arguments with something like that, you really cant assume nothing. ("Dont assume it, prove it!").
French traffic engineers love roundabouts. Actually, they are indeed safer that plain intersections. What I despise, though, is that too often building a roundabout coincides with giving up any effort to try and manage the traffic at intersection. Having heavy traffic in one direction on a national route yielding to cars leaving the parking of a mall, while the other direction flows undisturbed, is not nice at all. Especially if you are on the wrong side of the national route :-)
Some people take things too seriously. I have little control over how they vote.
Another issue is that they take up a lot of space which might not be there.
The basics of the system (even numbers go east-west, odd numbers go north-south, etc) were explained to me by my mother when I was young, in what ended up being a failed attempt to instill a sense of direction in me.

I can't navigate for shit, but the lesson about the logic behind the highway system stuck with me. Years later, when I moved from Seattle to Rochester, NY for college, people who marveled at how far from home I had moved occasionally asked me how I would get to my parents if there was an emergency and I couldn't fly. It always surprised them when I explained, "Well, I'd get on I-90 going east. Three days later, I'll get off at exit 28 and I should be able to navigate from there."
It's not so well-defined. In particular, "side effect" is hard to pin down. For instance, a good definition ought to consider potential non-termination a side effect. In that way, many functions are impure.
I'm a consultant and, like most, bill by the hour. So it makes sense to track hours in that aspect but I don't know anyone who always hits or exceeds 100% of their target utilization. Which means if you don't have billable work you still need to find some BS to do until you hit 40 hours. I do go over 100% of my target utilization often, which in most exempt positions would open up some opportunity to leave a little bit early on a slow week.

I've mentioned that I'm exempt and still have to track time and most people just respond "you're not exempt, you don't know what it means".
Where the funny money comes from.
IET announces the release of arXiv content in Inspec
It should remind you of that, since that's basically what they are. They're on the wrong side of Russia to be in the Warsaw Pact, but they follow the same basic model as other Soviet puppets, except for the part where they succumbed to revolution in the 90s.
This is in fact not a discussion about the semantics of performant.
I-40 is an interesting case. It hits the ocean in Wilmington NC, but doesn't make it to the coast in California, ending in Barstow. The completionist in me says that it ought to continue through Palmdale to Ventura.

Until a few years ago, it wasn't contiguous. There was a gap in Memphis where the locals objected to its completion because the traffic noise would have disturbed the animals at the zoo. So the northern part of I-240 was signed to include I-40, finally linking the two halves together.
Commodore Back in Germany
I see, but using types for some parts of your code is still better than using none.

And yes, actually I am using MobX, too, it's really a good choice for React. Although I miss redux-saga sometimes.
I think the "No" answer to this question will quickly weed out anyone who isn't incredibly driven by the task at hand, whereas a "Yes" answer is obviously not considered any type of guarantee that someone will actually spend 10 years on it. It's a filter, and like most filters it's rather imperfect.
This was actually news to me that he got banned. Can't imagine what he did to deserve that.
>>> Do we really believe we can Google/Yelp our way to a genuinely local experience?

Why not? I mean, the content is built by locals and tourists who visited the same places as you.

That said, there is some truth in what you're saying about talking to the locals, it's just that it's not always convenient or even accessible.
this reminds me of the post about the jvm code cache a few days ago where if they had left the jvm to optimize the code cache by itself, the would not have ended up with the problem situation where the had to spend time to figure it out their optimization was the cause of the problem.

-- sorry for the run on sentence.
"Communist societies are more prone to «favors» because Price discrimination (and other market mechanisms) do not exist."

I'm not sure you got it right. Price discrimination and other market mechanisms existed, more or less, in communist societies too. The problem was that there was this seller's market. A lot of things were scarce, be it natural or artificial scarcity (a gatekeepers induced one), and besides the fact that the supplier could inflate the price a lot, you still had to have connections to have a chance to the bid. Excluding the communist idealistic selfless individuals that did their job as best as they could indiscriminately, the norm was for people to leverage their positions. For one, this way they created "markets" for their supplied services or access to goods. For another, this is how you get what you have or do to worth anything in the eyes of others. So this was besides the currency based market. It was a favor based market that overlapped the first.
> I am certain that nuclear power takes days to "spin up,"

Yes, which is why you would want it for base load rather than responsive. If we invested in nuclear technology rather than condemn it all as a terrible venture we could produce far cheaper and cleaner nuclear plants.
Uber prefers to build from scratch rather than use open source
Haskell is well-known not to be pure in supporting non-terminating computation.
I suppose this depends. If you have open source technology that isn't reliant on a cloud service to figure out how to drive, potentially we could be okay. Though a lot of companies are treating cloud tracking as a given right now.
> Michigan left has got to kill any business located near the intersection.

Many businesses actually prefer those locations, since "Michigan left" intersections can handle large amounts of traffic safely. (In Michigan, nearly all major retail centers are on or near these roads).

> There's one by a critical gas station (i.e. "I'm often running out of gas when I'm near it").

You could just buy gas on your return trip. If your often on the "wrong side" of the street for the station, your return trips would presumably put you on the "right side" equally as often.
4 must-know tips for building cross platform Electron apps
Is that definition of pure closer to mthq's definition or the one in the article? I'm not sure.

It says "same argument value(s)", but how does that apply when the argument is a function? The article seems to be saying that if the same argument is passed in every time, then the function is only pure if it returns the same value every time, regardless of whether the argument is a pure function or not.
Roundabouts in Europe are being pulled out. They have a narrow band of efficiency, between TooMuchTrafficForAStopSign, and ConstantTrafficPreventingOneDirectionFromEntering. So they get built one year, and a few years later pulled out.

In my growing town they're being built like sausages. I have to negotiate several a day. Most days the guy in front of me comes to a full stop, even when nobody is on the circle at all. If I'm not alert its dangerous - somebody stopping dead in the road for no reason.

In a couple of years I look forward to them being removed.
'Completely secure' voting machines
We're pretty open about that and gathering feedback to build a timeline that makes sense. We are thinking about moving between stages only if they're successful instead of just looking at some arbitrary number of days.
> The mindset of needing to be constantly working starts to become embedded.

Can't say I agree.

On the contrary, 2 days off and I would have nowhere near the time I would like to do all the things I want to do.
Then why do I encounter slow software every day?
Why do we keep encouraging this?
I just made a separate comment about this but wanted to chime in and agree; locals will learn the new traffic patterns but everyone else will be confused. This confusion can result in panic and, ultimately, accidents. I don't know if you've driven in New Jersey (South Jersey's what I'm familiar with), but it's a good example of some of these types of irregular patterns (e.g. long ramps for turn-offs).

They seem to design these for a perfect world where everyone is paying 100% attention to signage (and signage is never obscured/missing/confusing itself).
Google's own designed cars are, not the Lexus models. But their stats are junk stats in another way: Test drivers simply intervene super regularly to avoid any sort of autonomous incident.
Curious, but why do you guys have a custom IDE?
That sounds really interesting. Could you give more details about your adoption plan? Which version of TS are you using? Are you planning to migrate to TS 2.0, when it comes out? In your experience so far, have the conversion done until now caught any bugs?
I also think that smartphone will get there faster. Maybe Chromebooks if Google will play it nice, because of Android apps support and normal keyboard.

However I think OLPC is different from what I have in mind. OLPC targeted children with OS designed for children. I am thinking about something more like RaspberryPi with integrated power and display systems, but with external keyboard. Also I think about it to be extremely cheap. $100 laptop is already done by Chromebooks, but it is not cheap enough. It would have to be around $25 or less. It should expose GPIOs like RaspberryPi so it could be used in more settings. It would be black and white and mostly text only. Basically my pipe dream. Maybe I would just like to go back in time sometimes and I am just projecting?

It is just a loose idea, but outside of people's preferences economics of scale are certainly supporting smartphones.
> Just as the old industrial giants used technological innovations to reduce their costs, the new tech giants use technological innovations to expand their networks.

I'd be curious to know how much innovation in big tech happens internally vs buying out smaller companies.
Is it free?
Thanks for the link, really interesting. It does seem that there's a huge amount to overcome as autopilot moves from driver aid to fully autonomous.

I'm starting to think the ideal compromise (for now) is a car where I'm in control, but with lots of systems that cut in when I make a mistake, rather than the other way around.
There are plenty of published journals going back decades that accept performant as a term of art.
I heard the visual areas were predetermine simply because the oculor nerved terminates there. So if somebody was blind from birth they're claiming that some specialization might be hardcoded after all.
Trivia: assuming the input to `sum` below is guaranteed to always be a non-trickery array of numbers, so it always returns the same result for the same input, is the function 'pure'?

var x = 0;

function sum(arr) {
x += 1;

return arr.reduce(function(a, b) { return a + b; }, 0);
}
The U.S. Patent Office will grant a patent for basically anything. https://www.techdirt.com/articles/20100819/12015210689.shtml
As far as I've seen, it's really only Object spread (likely ES2017 feature) that's commonly used that is not yet supported by TypeScript. Microsoft has promised support for it in TS 2.1, and generally stays on top of ECMAScript proposals that have gained enough traction that they seem likely to ship.
And so proprietary! :)
Data Sharing Critical to Success of Cancer Moonshot
This is amazing. Good job, you guys! Gimp, InkScape, and Flowblade won't give Adobe Creative Cloud a run for its money, but it definitely makes the entry cost for getting into digital creativity immensely lower. Excited to try this out myself on the weekend!
Performance us actually much,much broader than the speed at which a task is completed.

The performance of a classifier can be anything from how fast it runs, to its F1 classification score.
It depends on how familiar the engineer is with the problem space.

If the engineer knows little about the problem space, then any type of optimization is not warranted until a working version is achieved.

The biggest secret to writing software is "not painting yourself in the corner".
There are also masses in Europe. About 500 million I believe, and regardless there are art museums near almost everyone in all developed countries.
It was made into one.
We started using server-side JS around 2005 so things were a bit different back then. The main driving force for it was that we had to have WYSIWYG integration with the product and the only way we could achieve that was by embedding an HWND from the running product to ensure it wasn't some faked runtime that would behave slightly differently during development / in production.
Blockchainster.com: Blockchain news
It's not the algorithm that's difficult, it's the effect of adding caching to a system that wasn't built with caching in place at the start that is difficult.

This isn't an "urban legend" it's first hand experience working with companies trying to add caching. No, those companies aren't even trying to write caching algorithms, they're just bundling in a caching layer and hoping that the system behaves in the same way.

It only takes somewhere which writes data (perhaps in a way that bypasses the caching layer so the cache doesn't know it has changed) and re-reads it back quickly for software which used to work suddenly breaks.

Now you might look at that and go "omg refactor it! That's horrible code, that should never ship" etc, but not everywhere is the s.v. bubble with endless amounts of the best developers to throw at problems. Code which worked and solved a business problem ended up shipping, possibly without testers and probably without code reviews.

So adding a caching layer suddenly "breaks" those reports, now who's going to have to fix it, not the person who wrote those reports even if the very behavior of side-effected data changes and db re-reads is precisely a cause of data layer slowness that led to wanting to implement caching...
Caching is just another layer of complexity on top of your app. Sort of like HTML templates. If you're expecting it to be a no-maintenance drop-in solution, you're going to get burned. If you're willing to think carefully about how it fits into your domain, then you might be able to get away with a 10 LOC method on your base controller class.
Shut Down Twitter for 24 Hours, and Then Reignite It
Well, ignoring the half of many countries that don't live in cities. Can less-than-half be called 'almost everyone'?
On the other hand, assiduously doing ONLY what the PM has designated to the exclusion of everything else is a recipe for misery and organizational dysfunction.

There has to be some slack for creativity, problem-solving, and some unstructured collaboration. I run into problems all the time in a "cross-functional" role with people who refuse to lift their nose from the grindstone unless specifically commanded by their boss.
Agreed. I despise locals only solution. The city I live in has passed a new law in the last 2 years that traffic needs to stop for any pedestrian approaching a crosswalk. This has led to a ton of weirdness such as: how do you know if a pedestrian is intending on crossing? do you stop on a fast one way street when someone might be contemplating crossing? People that aren't from the city of course don't know anything about this local law so they drive like normal..which means they don't expect people to come to a complete stop in the middle of a bustling road for no apparent reason. And as a pedestrian its worse-you can't trust the cars to stop (because not everyone knows the law) so you just linger at the edge of the road until everyone stops (hopefully). Its ridiculous.
For those of you that write in JS (and not TypeScript), do you use "void 0" instead of "undefined"? I use undefined and would hate to switch to void 0, since it's less clear and unnecessary thanks to tools like JSHint.
some good points there, but LOL about all 3rd party code being audited.
Definitely agree! But you need to find it in yourself a driving reason to put in the hard work.

Tell a depressed, unmotivated person with no goals to just "work hard" and see how far that gets you. There needs to be some reason to do something rather than nothing.
It seems to me (unscientifically) that buying out generally kills a company/product. More about squashing competition and unifying a market, than innovation.