skysight-inc/HackerNews huggingface dataset:
One professor I work with has produced a textbook for a class she teaches [1] and it is only $60. Some professors are interested in the subject they teach and research. Having a good textbook for your students that you control the content of is great. She produced it in LaTeX and keeps an updated version online. Professors give away their publications to journals all the time so I don't think them holding out for a big paycheck is the reason books don't get produced.

[1] https://www.ucpress.edu/ebook.php?isbn=9780520946378
That just raises more questions. Can anyone here give a concrete example of a real world problem that is more cleanly solved with these changes to the Promise spec?

There's a lot of talk about FP and type theory here, and none about actual work. To me, all this stuff is still in the "cool to play around with at home" category. But until it affects day to day dev work, there's a whole set of people that aren't going to give the slightest fuck.
I think we rely on social mores
This is not a new name... in the theory of algebraic data types there is a model of what it means to add and multiply types, resulting in "sum" and "product" types. I am not 100% sure but I believe these terms have been used since the early 70s.

The term "union" as used in C is highly related but not quite the same. If you add a tag to the union (and so have a "tagged union", often represented in C as a struct with an enum and a union) then you are equivalent in an information sense (but the usage is still different, as a C union says something very specific about how memory is used).
This guy is nuts. Basically every article I look at I wind up reading multiple times and get new information each time. If I had the attention span to keep reading them I would probably keep learning too...
Yes, those are the arguments they used. In particular it had to be able to use astronaut hand tools, which are designed for pressure suit gloved hands. On the downside the form factor is rather complex.

I recall a presentation when one of the very talented engineers that built it said (roughly) we made the robot now all you have to do (you being the robot AI) people in the room) is make it autonomous. A 30 DOF semi-android in microgravity? Piece of cake.... :|
What are some other life hacks you found enjoyable from the book?
Someone's gotta justify their unnecessary middle management job. They're really following the Microsoft model these days.
> “that’s when you get into trouble politically, when you’re all on one side.”

Actually, no. Political trouble reigns from the notion of “sides.” I understand that sides make it easier for people to “choose a side,” but it severely reduces the number of people who have any idea what they’re actually on the side of.

We honestly need to rethink the notion of having political parties, because it’s breeding bandwagon voters who no longer feel the need to look at the details, and will openly vote against something they are personally in favor of because that’s what their “side” is doing, like it’s some sort of necessary compromise.
I thought this is what the purpose of my landing page was for. But let me describe it.

My idea is for a tool that helps developers add branded scannable tags to their app. Think snapcodes, spotifycodes, etc. Snapcodes are a killer feature for snapchat. However, they are very non-trivial to implement. I want to make this easier for app developers and charge money for that service.

One concern I have is that my target audience, developers who want to add a snapcode like feature to their app, is probably relatively small.
Ask HN: Hacked website, what should i do?
https://roomsurf.com has been hacked couple days ago.

Hackers asked for ransom on their homepage (i forgot to take screenshot)

They fixed everything since then but i am afraid that hackers took 1M+ of user data including mine.

There is no info about hack anywhere on their homepage.

What should i do?
I sent email to roomsurf but still no info about this
> using the context menu to “Open Image in New tab” essentially dos the same thing so the functionality is still there.

No, actually “view image” loaded the source image at source resolution while viewing the image loaded into the DOM would show you the re-encoded, lower resolution, smaller Google thumbnail version.

Edit: actually it seems that Google has simultaneously deployed an update that makes the actual source image open so that might actually work.
De la Coloanele lui Hercule la Decebal
Well damn.
> Basically, I want to stop alienating project managers, product managers, and customers with weird jargon.

The things you might need jargon for are things that they shouldn't have to concern themselves with. If you use more familiar words but arrange them in unfamiliar ways, you'll cause the same confusion as by using jargon, except someone might believe they understood when they really didn't.

If you feel like you need to refer to programming concepts when talking to non-technical people, you're doing it wrong. Instead of talking about "immutable"/"constant"/"fixed", say that you made changes to prevent data from being altered accidentally. That's something they care about, not how exactly you did it.
Gutenberg link, for the lazy http://www.gutenberg.org/ebooks/148
The short answer is that yes it's very different (contrary to other opinions). Although still liberal (by Harvard/Yale standards), UCLA/Caltech don't even compare to Stanford/Berkeley. LA is also much more cosmopolitan, so you'll naturally get a more varied distribution of ideas on the political spectrum.
Which is why they sued. To solve that problem.
Apparently my comment is being misinterpreted since I completely agree with his points because they are well agreed upon concepts in economic textbooks. I was laughing about it because he made no mention whatsoever of economics despite his argument being so economically rational so I suggested reading up on economics as it seemed like a subject he was unaware of but one that he would love.
(Taking the article at face value for the sake of argument.)

I have to imagine there's going to be a smarter way to finance and manage companies that don't have huge growth prospects. Sure, creative destruction and all that, but isn't there some size at which a bookstore works profitably?

So figure out that size, which is maybe smaller but still a chain, and get organized around that concept. Is that unrealistic somehow? Does it really need to be financed in public markets?
This might just be the thing that gets me to switch. I use "Show Image" for the image search all the time.
The feature is still available on Bing Images, for now: http://www.bing.com/images/
Is this implying that people use Google Images to find webpages? I thought the only point of Google Images was to find images to use in PowerPoints and school projects.
Heretic. Kernighan and Ritchie is the one true gospel.
Note that TypeScript and Flow have implemented sum types since this post was published.
Peter Thiel Is So Over Silicon Valley
Same for SteamDB, we didn't get any C&D from Valve.
A major reason why upstarts like Netflix could successfully disrupt old guards, while banks and healthcare industries are still largely immuned despite huge inefficiencies in the way they operate, is the trust factor.

People don’t mind trying out a new entertainment service by a small startup especially they get a free trial month. If it breaks, so what? The same cannot be said about places they choose to manage their finances or health.

Perhaps it might be more promising for a new partnership by big-names in adjacent industries, such as the Amazon-Berkshire Hathaway-JP Morgan healthcare initiative, to disrupt these trust-based industries.

If there is a good way to accelerate the process of consumer trust building, it might allow more newcomers a chance of disruptions. It should result in lower costs and economic surpluses for the consumers. ‘How?’ is the 64-million-dollar question.
No, they haven't. Union types and sum types are semantically very different from each other.
>Worse, it is teaching a generation (or more) that our justice system is stupid and broken.

Quite the contrary. This is a lesson that we should all hope is well-learned by the vast majority of people so that it can be fixed, rather then blindly venerated.

>That in turn erodes ideas like rule of law that a essential to modern civilization.

That "the rule of law" is necessary for a modern society to function doesn't mean that every system of laws is beneficial or conducive merely by its existence. The unfortunate fact is that our system of laws, at it exists, is "stupid and broken", in a wide variety of ways, and badly needs fixing. We can't start fixing our broken system until we come to terms with the fact that it is broken, identify the problems, and develop the solutions.
> ... the sites made a conscience effort ...

I believe you mean the sites made a conscious effort here.
Right this is a good point. I've had snapchat for years but have only ever actually scanned like one snapcode.

But Snapchat does use it for some pretty cool marketing campaigns. See: https://cdn-images-1.medium.com/max/1600/1*kSlNrqD6D30K7gFcv...
U.S. Imports of Solar Photovoltaic Modules Mainly Come from Asia
The Risks of Knowing Your Risk
You also have to play by the "US rules" which means no nudity or anything that would get you kicked out of the Apple App Store.

It is a self censorship which is just as bad if not worse.
>The discs work if computers still have their license and product keys available, and the license transfers with the computer, no matter who owns it.

>The discs had labels nearly identical to the discs provided by Dell for its computers and had the Windows and Dell logos.

At first I thought this was about license infringement.

He admitted he was wrong in making the discs look like they were official releases from Dell/Microsoft.
Ios App Development Company
How many more instances of this happening do we need before people believe there's actually a problem in society surrounding sexism? Honestly I expect to see equivocation more than indictment in the comments section here.
Except local production is often less efficient/more expensive. UBI would create a floor for job quality, and allow people to pursue riskier or less capitalistic ventures.
Meet Fashion’s First Computer-Generated Influencer
What is it like to live in the world’s biggest experiment in biometric identity?
What I'm seeing on the current site is that the large preview seen on clicking a thumbnail is the original image, loaded from the original server and scaled in CSS.

Nothing's really changed in terms of capability; the UI is just a bit more awkward.
even without the "audience" part, still valid: https://www.penny-arcade.com/comic/2004/03/19
Names are evil, abolish yourself of all naming and achieve true enlightenment!
It only needs to be art in the head of who's looking, not everyone else.
Nuxt.js 1.0 is out
Reading that Storytime guy’s tweet, I really wondered:

Has this guy never taken a look at his situation and noticed something off?

He works in a relaxing huge retail store reading books to kids for free, and makes above min wage and keeps his job for the next 20 years and supports 5 kids???

That’s insane, and completely abnormal. No one else with that same type of job has that kind of life.

It reminds me of someone I know who lived in an in-law with no rent control and no law against eviction, for 15 years, paying 60% of market rate. And then was completely stunned and devastated when the landlord gave 60 day notice. Really???
>Other than some very basic common sense things -- like don't eat rat poison

Common sense is often mistaken. Here are two rat poisons which are also medicines:

Ergocalciferol -- a.k.a. Vitamin D2 (used as a supplement for many years; now D3 is preferred)

Warfarin -- oral anticoagulant widely in use today
Waterstone's - another similar chain in the UK - returned to profit from near death with a strategy of treating each branch like a local independent. https://www.theguardian.com/books/2017/feb/03/balancing-the-...
Show HN: SCM-agnostic, file-based, offline-first, immutable issue tracker
How does Neovim do in comparison to Vim with regard to these metrics? Neovim has to look a bit different here because it's async and Vim is not.
Yes, Flow has.

https://flow.org/en/docs/types/unions/#toc-disjoint-unions
> I guess that's OK for people who are technically inclined enough to know that you can do that.

I have a bias where I'm OK with the fact that people who take the time to learn the capabilities of the tools they use get better results from them. I figured this out within about 30 seconds of noticing that the view image button was gone, after sending feedback to say I didn't like the change.

This would be the wrong bias if I was designing a product. Of course, a product will be most successful if it maximizes discoverability and doesn't make the user think, which is exactly what Google has been coerced in to rolling back here.
Multi Aqua Shark Hero vs Sea Animals
Once again back with another game in the series of Multi Action
The reckoning would be you no longer using their business, wouldn't it?

While I still get some books from Amazon, I've been increasingly purchasing through Abebooks. They tend to be more accurate in what they stock with regards to ISBN, which is what I go by when purchasing a book as I like to get specific editions.
But Eric and Kapwing Team got significantly less of the anonymous hate than the two women.
Not legislation, but instead an interpretation of FCC policy. See here[0] and here[1] for more details.

0 - https://www.wired.com/2016/03/way-go-fcc-now-manufacturers-l...

1 - https://hackaday.com/2016/02/26/fcc-locks-down-router-firmwa...
Do comments like this help the situation in any meaningful way either, though?
Looks like Getty and Microsoft have had an agreement for a couple of years now https://searchengineland.com/microsoft-getty-images-announce...
Sum types are a universal construction: you take any two types, and produce yet another type. In particular, you can sum a type with itself. Disjoint unions give you nothing of the sort.

In other words: learn to mathematics.
Sometimes I do, usually when I want to find a teardown or repair information for a piece of hardware. Image results often let me determine more quickly which pages contain a good teardown because they contain quality images of the inside of the device.
I frequently use it to search (and reverse-search) products, specifically modern interior design objects. Often things show up in blog feeds or on Instagram where it's been reblogged from some source, and I want the original page that describes what it is. Or I use image search by text to try to identify pieces that I can describe in words ("leather bauhaus lounge rocker 60s chrome" or whatever).

Many other use cases. "iPhone case" -> browse cases, see one you like, find the page where it's sold (effectively a federated shopping search). Or "New England bed and breakfast" as a way to find somewhere cute to travel.
Google is removing view image button from search results
Article dated "April 17, 2013".
That part was 100% me suggesting you read up on economics as it seemed like a subject you were unaware of but one that you would totally love since it completely matched your logic.

My main point was bringing up unemployment benefits.
It's perfectly reasonable for a platform to have its own rules as to what it considers appropriate content. There are no major platforms anywhere on earth that do not have their own subjective rules for content.

Most, for example, will not allow you to post all sorts of extreme, particularly gruesome violence & abuse content.

US rules do not mean no nudity. You can post nudity to Twitter for example, they have an approach to handle that. You can post nudity on Reddit, they have an approach to handle that. You can post nudity on Snapchat. Google images has truly immense amounts of nudity within it, that you can freely search if you care to; the same is true of Bing.
Thank you all. As one of the people out there not technically inclined enough to not freak out, when stuff I'm used to changes in unhelpful ways - This discussion has brought me a few great suggestions, a new view image tool, and most of all, hope. Cheers.
[2013]

So how is this coming along?
The US is not equal to Apple and vice versa. You have alternatives to the App Store. In China the App Store does not get to determine what's acceptable and not, it's the gov.

But back to the matter at hand, we're talking about the kerbing of political freedom. Sometimes you have to submit, in these cases, you don't have a choice. As Bond's villains are wont to say, "your only choice is to not play" but that gives the native players complete control over the market, as they will be happy to comply -and you only have your principles to point to --but that's an illusion because someone else is breaking them in your stead, so the cause is effectively broken. And given we don't reciprocate [the tactics], that means those players one day will get to compete against you in your own territory...

It's a prisoners' dilemma where you know what your "accomplice"/adversary will chose to do in advance.
I wish that were the case, but alas it is not. The article you link was unfortunately an optimistic interpretation of what not yet known to come[0].

0 - https://www.wired.com/2016/03/way-go-fcc-now-manufacturers-l...
I think the proportion of private sector to public sector jobs might shift, but as long as our cities have subways that haven't been built, our roads and highways have potholes, our bridges aren't rated to survive the next earthquake, our power generation isn't 100% carbon-neutral, and so forth, there is more than enough work for the humans we have.
Have you ever worked retail? There was presumably much much more to that guys job than reading books to kids.
I always assumed these messages were automated helper bots, I didn't realize they are people on the other end. Now I feel a little bad about being so curt when I use them like I'm searching an FAQ.
OpenVMS had a local root hole for 30 years
Suing individuals in multiple legal jurisdictions is both more technically difficult and worse PR than suing a big tech companies. There's a reason record labels gave up on that approach.
Like always when people start comparing system performance, there are so many variables at play (CPU make / model / age / cache / n cores, bus speed, RAM type, OS / distro / package versions / compiled flags, swap space, running daemons / services or other background processes, number of browser tabs and even the specific sites left open, etc etc)....

But for me it's the Flash plugin container for Firefox that really does the damage when it comes to concurrency. A few Firefox tabs open running YouTube (or another video streaming service) and my fan already starts spinning up louder than a revving motorbike. If I have much more open aside Firefox then the system will just lock up without warning. I suspect Flash is thrashing both CPU and RAM though but it's consistent enough behaviour that I tend to avoid it rather than investing time debugging and fixing (though since it is Flash that kills it, I suspect any such "fix" would just be altering the behaviour of the softwares end user (ie me) anyway).
Any discussion of gender (or race, or ...) on HN tends to degrade into, well, look around in an hour. It would be good to change that.
It was already like that and has been like that for years.
For those on the opposite side of the privacy and tax spectrum, there is also a portfolio tracker (which I wrote) that is doing the opposite:

A static HTML Website where you save your portfolio via
a bookmark.

- No tracking (no cookies, no emails, no JS* )

- Fast (~ 2 kB download)

- Cross-Platform ;-)

http://www.cryptoport.net

* There is JS on the landing page to generate the link for your portfolio. The portfolio page itself is free of JS.
Your linked picture is not in the public domain AFAI can see?

So you are stealing it if you're using it, so kinda a bad argument.

(Have you contacted the owner? / Is there a link on the site creative commons it?)

[Edit] - From the site - "If you want to copy any pictures or texts from this website, please send me an E-mail:
kees.nieuwenhuijsen@tip.nl"
"And guess what?" Richard angrily replies, "That's never going to happen now. Because there's no way I'm going to be with someone who uses spaces over tabs."

Man, there's something cathartic in seeing your industry and self-identified group's ridiculousness aired for all the world to see.
Yeah, recently I have seen the other side of one of those tools, I felt like Dorothy pulling the curtain.
Same! If I want an image, I'm going to get it one way or another. Might as well use a tool that doesn't actively try to get in my way.

Edit: Well it seems this is from legal pressure from Getty. Unfortunately that reason isn't enough to stop me from switching.
I sometimes think our views might be to 'current-centric' when considering a post automation era.

In my mind one of the most distinguishing features of the labor world today is the growth of complete independence. You have solitary people start software companies and independently design, develop, and publish products that go on to earn billions. I think a big part of this is the efficiency created by current systems. The economic systems to handle payments are almost entirely automated. The system of publication processes payments and delivers product in an entirely automated fashion. And consumers can learn about and purchase your product also using fully automated systems. Compare that to times when software was sold exclusively in retail outlets. For that matter you don't even have to go that far back to times when computers themselves were outside the reach of all except the most elite of society rendering such economic possibilities moot.

And I think this trend of independence is something that will likely continue going forward. Imagine in a post automation world where things like industrial level machining and eventually even things like semiconductor fabrications become as accessible as PCs were let's say 30 years ago. This is a game changer that I think is going to be extremely difficult to predict the implications of. For that matter imagine automated construction bots capable of executing building designs all the way from ground clearance on up.

Let's get more agrarian. Consider things like automated micro-farms. People could use these for their own nourishment, but then there's also the possibility of automated delivery systems enabling user-to-user distribution systems where people could even make a living off of their land in an autonomous fashion. Right there are vast amounts of great arable land in the US that's for sale for next to nothing. In some cases you can get land literally for free. But without automation it's not so straight forward to monetize this. What would be the implications, if it did become possible? 4 acres and a bot?

The whole point here is that I think by focusing on training as a means of contributing to a large company as a means of earning a living is not necessarily something that will be a given in the future. These large companies are the ones that have the means and motivation to eliminate these jobs. The present already rewards independence vastly more than dependent labor and this is a trend I think we'll see grow exponentially in the era of automation. And that has very difficult to even imagine implications.
If you want, let me know if you think my comment helps or not and why, and we can talk about it.
> Also, our unemployment benefits are a pretty sorry excuse for a social safety net, which is why I wasn't specifically talking about them here.

What and how much of a safety net do we need considering the opportunity cost of supporting said safety net?
And there seems to be nothing newer out there on this subject from the same authors. Either it turned out to be crap, or they are in some secret startup project in relation to this.
Murders in US very concentrated (2017)