skysight-inc/HackerNews huggingface dataset:
It's true that someone could pretty easily hand-craft an AI that plays Ms. Pac-Man pretty well. But that's not really the point. Because after all that work, you still only end up with a computer program that can play Ms. Pac-Man. It won't play Pong, it won't play Doom, it won't even be able to play regular Pac-Man! The goal is to build a general system that can learn how to play specific games on its own. So, there is potentially high value to developing a Ms. Pac-Man AI, but only if it's not really a Ms. Pac-Man AI, but actually a more general AI, for which playing Ms. Pac-Man is a specific instance.

I agree with the parent comment that some sort of new approach is probably needed. The main issue with reinforcement learning is just that the algorithm gets too little feedback. This ends up discarding an enormous amount of data on each run (or, more accurately, learning from that data extremely inefficiently). There's a huge amount of data present, but the learning from that data has to be unsupervised. A child can do it easily --- they only have to play Ms. Pac-Man once or twice to get the hang of it. Computers currently cannot. Getting them to do that will definitely require something different, but no one is quite sure what.
Taking an idea that I've heard bout and implementing it myself. Say I read about a data structure or algorithm, I would implement it on my own to understand it more. Perhaps different variations. Lately for me, this has been more on design patterns. I deal with large systems, and I'm always thinking about relationships between different components, so I'll write small < 1,000 line code that represents a complex system while I think of how different parts interact. I stay away from libraries and external dependencies to constrain my thoughts towards the ideas that I'm exploring. This is how I practice in a deliberate manner. The funny thing about it is that if you look at the code I produce it might look a mess, but I'm not practice art of writing clean code at that moment. I already know how to do that.
Hydrogen fueled cars got a lot of attention a few years ago (five? Before Tesla started shipping big numbers anyway).

It was always a stupid idea. The economics don't make any sense at all.
You could, but that requires that you know all of the variants ahead of time. The advantage of trait objects is that you don't have to.

It really just depends on what exactly you're trying to do.
I thought you have an interesting solution to improving safety of C++ code. So, your techniques work with C code done in the old and new C styles w/ no work? Just fire and forget translation of C code written in arbitrary styles to to be completely memory-safe?
Faraday Future’s first production car, the FF 91
Didn't know about the ocean deserts. Thanks.

Maybe your solar stills could lower the albedo thru misting, thereby lowering the local temperature?
A little bit more complicated than that, the very tiny thrust of the 60W to 80W units reported so far is not enough to keep a medium sized LEO satellite from deorbiting due to atmospheric drag. Now if you were to put it in a MEO orbit where the atmospheric effects would have negligible impact on perigee and periapsis over even a 1000 year time period, and then turn on the "thruster" 24x7 while aimed in a prograde direction, you could observe if the satellite gradually gained a few km apogee over the period of measurement. If it works you would see a gain of dozens of km apogee over a several month time scale.
Enterprise Apps: “Bring Out Your Dead”
What keeps me from moving out of NYC? Inertia mostly. A little fear of change. A little indecision.

What would it take to move to a smaller city? Good weather. Good job market. Decent level of diversity and multiculturalism. True walkability. Great public transit. Ocean views.
So this is surely self serving, but...

Intel used BitKeeper for their chip dev process for a long time, and during that time the chips got faster with each release.
More than a decade of chips were developed under BitKeeper and we saw perf improvements with every chip.

They moved to Git and ever since then performance hasn't really moved. The Atom people were the first to move and the mainstream processors followed.

I said it was self serving, so rain all over me, but I do wonder if there is anything there. I know we helped them move pretty fast a while back.
I mean, I was able to build my own single page app in a few hundred lines of javascript front-end code, and a few hundred more lines of javascript for some interface elements.

See: https://www.futureclaw.com

This also includes server-side rendering of the initial page.

I didn't use Angular or React or Ember or any other framework.. I just went ahead and made my own with ES6. The latest Javascript ES6 makes all of this easier.

If you're worried about complexity, just ignore the existing frameworks and do it from scratch.
3 inches of rain in an hour isn't all the unprecedented, which is what makes me wonder about the veracity of the sources. In the 80's it would rain so hard (and so much) at times that it would knock people down and break windows and flood streets...mudslide warning still exist along roads in orange county, CA from that time.
Tokamak style fusion is efficient only at extreme scale.

That, and it hasn't exactly been proven to work stably yet (Note that the OP said fission, not fusion).
You're typing wrong. You should never rest your palms on the laptop.
Any survey that mentions Borges in its introductory section is A-OK in my book.

Edit This reminds me of an assignment my Discrete Math professor, Dr. Fishel, gave me, which shows how to create (in polynomial time) a Hamiltonian circuit in any undirected graph in which every vertex is of the order ceiling(n/2) where n is the number of vertices in the graph. A C++ implementation is provided. [2007]
https://alanhogan.com/asu/hamiltonian-circuit/
Many, the first of which is whether it needs to be a web app at all or a desktop one.
Is YC spreading this announcement anywhere else? Seems like Engineers Without Borders might be a good audience (which is mostly civil/environmental/mechanical engineers IME).
I too used to be in ad tech and I agree. It's a race to the bottom with no real upside. The business model is often broken with ad tech companies. Rather than sacrificing profits for long-term growth, they're essentially selling a dollar for 99 cents. It can never be profitable.
Oh I'm not suggesting they don't sell, just that they shouldn't.

It's like how people will buy an 18MP camera with worse optics instead of a great 12MP camera because it has a bigger number. And god forbid they ever need to make a 20x30 print, you wouldn't want to see any pixels in that.

To take the opposite extreme of your 480 x 270 cell phone example: You can get an Xperia Z5 with a 5.5" 4K screen, but that doesn't mean it makes any sense.
> Seriously, why?

Personally speaking, it's just a lot easier. I could go on about various theoretical justifications, but at the end of the day it's just easier. This probably has something to do with the fact that you don't really gain anything by defining data and behavior together, but you do lose flexibility by coupling those possibly orthogonal concerns.
Why not? Caching certificate chains makes sense. Bad hash functions are the norm in systems code, not the exception.
> Comey was in a bind. Internal leaks were happening - if word got out of more Clinton email investigations before he made it public, he'd have been screwed and when it leaked, he'd look very partisan.

Comey's priorities must be far greater than personal fallout: He is responsible for things so important we don't even question them (or don't want to): The law, justice, one of the most important institutions in the U.S. (the FBI), and in this case, arguably the most important institution in the world, the sanctity of U.S. democracy.

I don't care if he was in a bind; that is not a concern at all with these stakes; he shouldn't have the job if he can't handle these situations.

It may appear to civilians as if it is a bind, but my understanding based on what a large number of former top officials said is that the FBI and Justice Department have two unambiguous, long-standing policies on these issues: 1) Never talk about ongoing investigations, and 2) never say anything that will influence an election in any way.

You don't want the head of the FBI making decisions every four years (or 2 - they could influence every House and Senate race) on what election-related information they will reveal. Finally, did Comey reveal every investigation that might have influenced the election? No, only one. What about the one into Russian interference, for example? The only violation of those policies, ever AFAIK, was what Comey did.
It's not always true, by any stretch of the imagination. Closures couple data and behavior and most (though not all) functional programmers consider closures to be pretty central to FP. I'd add that closures are hard to use in that way without allocating, which is why I think one potentially reasonable argument against coupling data and behavior is performance-driven, but that's a more subtle argument that ignores compiler performance (and there are times where you lose more from all the extra code taking up your icache than you gain in speed due to not allocating; plus, as C++ and Rust demonstrate, you can have closures without allocation if you're willing to heavily restrict them).
“Three parent babies” – business as usual?
> Why don't HP laptops get more attention

Because I've never seen one with the build quality of a Thinkpad T or X series. Which also have near perfect Linux kernel driver support.
I don't think it'd be wise of them to shut down the Hackintosh community. The vast majority of Hackintosh refugees aren't going to be buying Macs, they're going to be wiping their macOS partitions and jumping ship to Windows or some random Linux distro instead. It'd shrink the number of people invested in the Apple ecosystem (including subscriptions like iCloud and Apple Music) and put a bad taste in the mouths of a lot of people with sway of family/friend and perhaps even corporate purchasing decisions, not to mention strongly casts Apple in a Big Corporate Bully sort of light. There's not a scenario in which they kill off Hackintoshing that's a net benefit for Apple.
Show HN: Dev.to-Where devs share ideas and help each other grow (Not my creation)
I really like them - when they are done well, ie not obscenely slow.

Like most people, I hate it when something like an article or a wiki turns itself into an SPA for no reason. But I do find myself thinking that the space between "should be an SPA" and
"should be a static site" is not very big.
The problem is that the choices aren't well balanced. You can either have 1080p, which is noticeably low-resolution, or you can take a 30-40% battery life hit for 4k. Almost nobody except goes after the sensible middle ground of a 200 dpi display.
I have the book and am currently reading it. I like it, seems very thorough. The first part is fairly theoretical and the 2nd part gets into the more practical implementation of distributed systems based on the previous theory covered.

I'd recommend it.
I'm not sure it's actually the 4K screen that sucks the battery dry, but the increased energy consumption from driving a much more capable GPU.
> However, software engineering will change into a much more regulated environment. Writing software for the web will eventually become like writing software for the space shuttle: slow, rigorous and very expensive.

Or, it could bifurcate. Look at aviation. If you want to fly an airplane in the US, it needs to be something that has been approved by the government down to each nut, bolt and rivet. All onboard systems (mechanical, electrical, software) and every vendor providing them have undergone expensive and rigorous government certification, and you have documents showing it. You can't so much as change out a switch in the cockpit without going through an official approved service provider! But there's a totally separate "experimental" category carved out for people who want to build their own airplanes, where the rules are much more lax and there's far less oversight. As long as you keep good records and abide be some basic rules, you can pretty much build and fly whatever the hell you want. The major operating limitation is that you can't fly one for hire or carry people for compensation. By some great miracle, these separate, parallel tracks, certificated and experimental, co-exist successfully and planes aren't falling from the sky.

It may end up this way for computing: A "serious software" regime for most consumer- and business-purchased products, subject to slow, rigorous, expensive regulation, and a parallel "hobbyist" track for at-home, non-commercial hacking and making where anything goes.
Not sure how I missed that...
I'd be inclined to agree with you once the application has reached a certain level of complexity. If you're doing anything vaguely complicated around how you fetch/display/mutate your server data, then it can be a much cleaner pattern to keep a REST/GraphQL API separate from your client logic.

But on a super simple app (static site, basically), you have to deal with the overhead of the things that @aclimatt is referring to (browser history, routing, loading states etc) that basically come out of the box in your browser before you break them.
I wonder how many people opt for the higher density assuming it'll make a significant difference without really knowing what the visual threshold for being able to see a noticeable difference is.
This isn't really true, unless that book from the 1920s spoke of some things generally. When the events were actually happening the late 1930s, multiple times Hitler said he was not interested in further conquests, promising normalcy and peace. Remember he signed a treaty with Chamberlain saying so, and also another with Molotov (which Hitler also violated). The Holocaust was hidden so effectively from the world that the Allied powers plausibly denied knowledge of it. Germans living in nearby towns denied knowledge of it.

EDIT: Some edits to qualify statements that were too absolute
Or careful thought:

> In 1856, General Alexander Cunningham, later director general of the archaeological survey of northern India, visited Harappa where the British engineers John and William Brunton were laying the East Indian Railway Company line connecting the cities of Karachi and Lahore. John wrote: "I was much exercised in my mind how we were to get ballast for the line of the railway". They were told of an ancient ruined city near the lines, called Brahminabad. Visiting the city, he found it full of hard well-burnt bricks, and, "convinced that there was a grand quarry for the ballast I wanted", the city of Brahminabad was reduced to ballast.

https://en.wikipedia.org/wiki/Indus_Valley_Civilisation
> My understanding is, that's basically inline do-notation, is that correct?.

Not really. They're superficially similar, but translate differently.

Do-notation desugars `x <- y` to `y >>= \ x -> ...`, whereas the pattern guard is more like 'case y of x -> ...; _ -> ...'. Most importantly, there is not necessarily any monad involved for pattern guards - `5 <- 5` is legitimate. `5 <- 5` is nonsensical in do notation (without some awfully weird instance of `Num`).

> On a sidenote. I've seen code like `f (x:ys) = x : f ys` many times, for example in definitions of map or filter. It always seemed to me like we're wasting a lot of breath typing that - deconstructing the list with pattern matching, then reassembling it again, slightly changed. I feel like there's a general pattern here that could be factored out, do you know of anything like that?

The general pattern, for map and filter, is a fold.

Prelude Test.QuickCheck> let map' f = foldr (\ x -> (f x:)) []
Prelude Test.QuickCheck> let filter' f = foldr (\ x -> if f x then (x:) else id) []
Prelude Test.QuickCheck> quickCheck $ \ (Blind f, xs) -> map f xs == map' f xs
+++ OK, passed 100 tests.
Prelude Test.QuickCheck>
Prelude Test.QuickCheck> quickCheck $ \ (Blind f, xs) -> filter f xs == filter' f xs
+++ OK, passed 100 tests.
No, it's that they are expensive. Even in China reactors are only 30% cheaper than in the US, and in Korea only 25% less. In Europe they are around 10% more[1].

Note that at these prices it is cheaper to build solar, and in some cases (and places) solar AND pumped hydro power storage.

[1] http://www.world-nuclear.org/information-library/economic-as...
I don't think it is that bad... All of the unicorns have revenue and Amazon has shown that (post IPO) revenue is king so long as you grow. So growth is everything...
a new 17" MBP doesn't necessarily need to be a mobile xeon, the low power kaby lake core i7 are capable of 64GB of RAM.
If it's anything other than coincidence, I think it's more likely that the cause would be related to why they migrated from BitKeeper to git, rather than the change in tools itself.
Mindful resolutions: getting started with running – how to make it stick
It's certainly quicker to build something simple without it, but if the site needs to be maintained, things are much easier if your data is separate from your view.
The late 90s was really a different time. There were job ads for tech companies that pretty much read. "If you know how to type we want you!"

So the talent pool was very different. There's a lot more tied to tech and software these days then the late 90s when the web was new.

Just think of it this way. GE in the 90s was still a manufacturing first company. Now they are trying to re-brand as a software first company.

I wouldn't worry about a ghost town in silicon valley type bust like the late 90's. You might see funding dry up but its not going to be like it was. I hope not at least
The problem with null, i think, is that in some languages its harder than it should be to reason about when to expect a null.

tooling helps, but it still catches people by surprise, and handling it often feels cumbersome. This is possibly why people rant about it so often.

I don't know if there is a better solution, but it feels like there is room for improvement.
In the comments of that article, the author says he's filed a complaint https://hjhart.github.io/2017/01/03/ticketmaster-is-a-horrib...
What is the point of these types of arguments and opinions if they don't have any evidence to back them? I don't give a shit if it's functional or object-oriented or procedural or whatever comes next. I just want a language that is proven, via empirical evidence and reproducibility, to solve my particular use case better than any others.

And, given all the use cases I have, I'd be amazed if one class of language can do it all. I'm guessing it's impossible.

It's way better for my engineering team to know how to use a bunch of different specialized tools, and how to use them together, than to focus on one type of tool.
I wonder if the cost isn't mostly due to manufacturing labor. A good look-over by someone experienced in Lean production might help them map their value streams and get the cost way down.

I suspect part of the reason they're going high-tech with all the IoT devices is so that they can sell a lot of these domestically for profit, and thereby subsidize the ones they send overseas. Not necessarily a bad idea. And if they can get the owners/users to form an online community and capture some learning, the more the better!
> The key is that they are all losing money so their fires are not self sufficient.

Can't speak for the others but Dropbox is not losing money. (To be clear they are free cash-flow positive but not profitable, however the point is they can survive indefinitely without raising more money.)

https://www.bloomberg.com/news/articles/2016-06-14/dropbox-c...
> they're not slacking off here. They're just out of easy gains.

They are slacking because they can. AMD hasn't been competitive in the desktop space for over a decade.
The cost like $400k. It's a neat technology demonstrator, but little more.
We got super lucky. Bought a house at the lowest rates possible and pretty much have been living house poor for 4 years now.
it was on the market at 660k we bought it for 700k. This is way out in the East Bay of SF
on the scale of micronewtons being measured, batteries change significantly thermally as they're discharged. You would have to account for the chemical and thermal activity of the battery which is not a 100% inert thing.
Markets other than California.

Mechanisms that might be possible with water but not other shipped products, like towing icebergs, floating large bladders, pipelines etc.

The economics of commercial shipping has a lot of implied context that may not be relevant to moving fresh water.

But in any case, thanks helping me understand.
I'll read this if I can afford the time! It would be nice if there were a summary more detailed than the abstract but still short relative to the length of the article (say, 10-pages long?).
I guess I'm reading these two examples as:
1. an extra goto
and
2. a strategy dealing with creating an ssl store that uses a 32(!) bit key.
I'm not implying malice but they seem fundamentally different type of errors.
The goal would be to not have to commute everyday. But if I did, take the ferry from Larkspur to the SF Ferry Building.
Do it in the Antarctic, freeze it, then tow the iceberg.

This sounds totally stupid, but there has been previous work on the economics of towing icebergs to Australia for use as drinking water[1] as well as to Africa[2].

The numbers didn't work out then, but maybe now with higher efficiency solar power (and more advanced wind turbine design) the economics may have changed.

[1] http://www.abc.net.au/science/expert/realexpert/watercrisis/...

[2] http://www.scidev.net/global/water/news/icebergs-africa.html
Timer is not sketchy if it's long enough, but four minutes is probably too short. You need locking for the reasons you said, and if you didn't have an expiration you'd have fun denial of service either accidentally from users deciding not to purchase, or purposely for the sheer malicious joy or from resellers who would scalp a ticket for a higher price, then use their lock to buy the actual product.

Fifteen minutes seems more appropriate, though.
Thanks for all the responses, I'm learning a lot. This explains to me why iterators and other references to the internals of a data type have to take ownership of the whole data type, which is something I ran into several times during my (brief) explorations with Rust.
Double check the need to clean. Dilution is the solution to pollution.

Your average tractor trailer tanker may pick up diesel then switch to orange juice. As long as they put in 95% juice, that's legal.
You can write 100% of the interest on your primary or secondary residence in the US. You can not write off the interest on a house that is strictly an income property.

http://homeguides.sfgate.com/irs-rules-mortgage-interest-ded...

The intention is the incentivize people to own their own home, it is not to incentivize them to build up property portfolios. Indeed that would be perverse.

I'm sure you can show a loss on an investment with real estate just like you can with any investment but I think continuing to buy subsequent houses and showing losses on all of them as part of your personal tax returns might raise some flags.
There’s far simpler, already existing humane mouse traps. Where you have a small cage with an opening at one side, the opening as door pulled up against a spring which would push it down, and then locked with a lever. If the mouse touches the cheese, the spring-release of that activates the lever of the door, and traps the mouse in.

https://www.knauber-freizeit.de/mam/celum/celum_assets/88041...