skysight-inc/HackerNews huggingface dataset:
What's the difference between the enum class I outlined and scalas case classes? I don't know Scala but reading the docs on its case classes, their description seem to fit exactly what I tried to describe (immutable types, closed for further inheritance etc).

The example they give for notification = email | sms | voice looks a lot like what I was trying to sketch with the paymentMethod example.

http://docs.scala-lang.org/tutorials/tour/case-classes.html

I didn't intend for my proposal to be more limited than than the Scala case classes at least :). I want exactly that. An FP closed type hierarchy with enforced pattern matching.
Friday fun: JavaScript abstract art
Show HN: Mini JavaScript WebGL lib for loading and animating textured 3D models
YC Alumni Advice: Preparing for Your Y Combinator Interview
Why the Menace of Mosquitoes Will Only Get Worse
Best Technologies for Mobile App Development
Ask HN:Online analytical platform focused on growth metrics?
Sup guys,

A friend and I from school have been working a side project for a while, mainly because we needed it. We also have approached different startups and they have agreed on the problem and the solution we offer. We are building an online analytical platform focus on growth metrics (KPI's).
Most of our "competitors" (like Chartio) have build a data visualization platform targeted almost exclusively at the business user. Everything about this product has been engineered to make the task of visualizing data easy.
But there's nothing on the web(except for blogs, and essays) that actually guides you on the task of knowing what metrics should you focusing on (depending on your industry) or a platform that can track::calculate your growth rate ( based on weekly/monthly performance) and what impact could that have on your yearly projections and future valuation.
We had this concern last year with small software that we sold, because we wanted to know “what” metrics I should be tracking and consolidating?. Why are those specific metrics important and how can I track them? all within one platform. (no excels, or essays, etc.)

:Just wanted to see if this was an actual problem worth solving, or if it was nothing more than a personal need.

Thanks guys- Sorry for the long post.
6-14-43?
Square have an excellent blog: https://medium.com/square-corner-blog

Square put out a lot of fantastic libraries, and much of their output is basically essential for Android.
Like fear, you should take Survivorship bias into account, but it should not dominate you. If you do you will do nothing in life.

When I created my first company my parents told me about how hard it was going to be, how few succeed... On the contrary I found it was way easier and natural than studying engineering was, for example, and hundreds or thousands of people could do it.

I found most serious people succeed in business. It is not that hard to become a millionaire, way easier than being a salaried person, tens of thousands of times easier than winning a lottery.

On the lottery you have absolutely no control about the outcome, on real life you can "cheat" and control anything.

For example, one of the great discoveries in my life is that in business if you don't know how to do something you can just hire the person to teach you or your team or just do it for you.

That felt like cheating because I had been trained all my years on school and job that you have to do all your job yourself, regardless you being good at it or not.

That control makes it extremely easy to do things. For example you could work with the people you want to work with, that makes your life way easier and enjoyable than if you are externally forced to work with people you don't want to work with.

In the startup world some people want to be billionaires, and that is probably akin to winning the lottery. But I know some billionaires and do not envy them. Traveling everywhere with armed escort because someone could kidnap your children, so you live in a bunker isolated from everyone. Everywhere you go someone wants something from you, a loan , to invest in them. Banks harassing you all the time. Not knowing if people is around you just for your money.
This is an experimental, plain ES2015 JavaScript WebGL library for loading and animating textured 3D models. Somewhat raw. Very much value a few upvotes and social shares if it's of any interest.
Kruptos 2 Professional Crack and License Key Download
Unfortunately they also have a habit of moving the login form around, especially the one related to business taxes.
General Electric are at the forefront of industrial engineering and quite good at blowing their own trumpet.
i agree, odd attitude towards odd claimed discovery. There is a difference between ancient things, which have gaps between civilisations vs garbage we threw out the last 30-40 years and chose to ignore?
Backblaze have a good one, with their annual drive failure survey being a highlight: https://www.backblaze.com/blog/
s/"dive ebay"/"done, what"/

And to clarify the last point:

If a create a dataset for $100 I could sell it to one person for $120, or 6 for $20 - I make the same even if the value to each individual client is reduced; on the other hand, the value to each client versus* making their own is (120-100=) $20 in the first case, but (120-20=) $100 in the second, so fewer clients are likely to "roll their own" competing datasets.
U.S. Prosecutors Weighing Charges Against WikiLeaks
Feature Rich “Headless” CMS Based on WordPress+ACF+GravityForms
Ceramic knives are quite resistant to wear, but once worn you can essentially toss such a knife into a garbage can, that is how hard they are to sharpen. They also lack in toughness and are quite brittle so are unsuitable for some common tasks...
Kap Dwa, the Twelve-Foot-Tall, Two-Headed Giant from Patagonia
Open Stack Cloud Platform for Enterprises Coming to South Africa
PEN America Calls on Berkeley to Ensure Speech Is Not Shut Down
Aren't hammock's real bad for your back over longer periods of time? This is just something I've heard and not researched but I had the impression you needed your back mostly "straight" when sleeping.
Does https://googleprojectzero.blogspot.com or Kaspersky's secure blog count? https://securelist.com/
What conspiracy theory - Who decides that py2 needs to be killed off?

> but please do get over it

This is an ad hom - please make your posts more substantial, it feels like you are the one with a chip on your shoulder if you can't respond to these points. Your original comment added nothing to the thread but snark.
Easily manage your private and public Composer packages
This is crazy, that's not what robots.txt is for. How can you complain about the security of a thing that is not meant to provide security?

According to your logic, newspapers are a "failed experiment because they rely on trust rather than security or thoughtful design". I published an article with my treasure map and told people not to go there, but they stole it.
I worked for a market research company once (reasonably well respected, in their field) and we still had a hellish time getting employees to talk to us for money. Many staff are not comfortable with talking about their area of expertise (which is obviously related to the company they work for) outside of the confines of that company, or are certainly not going to accept cash for doing so off the books even if that is donated to a charity organisation. Additionally, many companies are not really set up to handle contracting out their already occupied employees (especially senior staff) for an hours salary.

Actually, thinking about it most of the reputation we had was in speaking to smaller owner-operated businesses where the owner or self-employed associates were free to speak to us and could gauge the benefit to themselves from doing so (our interviews were often on behalf of larger companies testing the market for product ideas, so they would get the satisfaction of providing feedback and even getting advance notice of what may be on offer)

anyway, what I'm saying is.. it can be difficult and time consuming to arrange that but it is possible to get somebody else to do the drudge work.
Hiring software engineers
Don't let Thiel hear about this.
I think we (the web) chronically underestimate the importance of SVG. I mean we all use pixel graphics (JPG, PNG, GIF) every day, build services to scale images and have multiple formats for them have to admit, that they are not 100% perfect most of the time.

SVG, on the other hand, doesn't need 5 different versions of the same image just to look okay on the receiving display. Even more, it always has 100% quality on the receiving device. As far as I am concerned, there are only two main problems with SVG:

1. The creation is painful

2. The renderer compatibility is too weak.

While creation problem has many layers, I think one thing that could be improved is Inkscape usability. I spend the last months every now and then to learn to handle Inkscape and the first steps were so painful (and I knew what SVG is and was quite able to handle Gimp). I am sure if some usability experts would be involved in its development, many things would be implemented differently. And I really hope, someone will change that as Inkscape is such a powerful tool which should be quite accessible to the majority of users.

Regarding the render compatibility, I think it is very important to fix that in the near future. I have high hopes that SVG2 will help here, but I think it is also our job as the web community to show the browser vendors, that we want that fixed version of SVG.
Survivorship? Is that the ship that survives? I just call it survivor bias. But then, that's just me. :D
There is also a Rust implementation, which is the one Sandstorm uses as far as I know.
This looks like a brilliant resource.

My problem with advanced math is not so much the understanding of principles but the application of these to solve new problems creatively.

I was able to master partial differential equations and pass exams but was never able to apply what was learned to solve new problems which I found very frustrating and was what ultimately led me to not pursue a career in the field.
Peter Thiel isn't arguing for startups here, but arguing against the idea that the world is just coin flips and some people randomly end up with 10 heads. So your comment is mostly ad hominem.
What about extending robots.txt to include date ranges?

For future domain-owners this is likely far too much control, but maybe that could be mitigated if IA tracks DNS/whois/registration info too
I'd suspect a TIA or small stroke can do this kind of damage, no need to involve any drugs other than Aspirin or NSAIDs...
That said, opioids are likely to cause this as well, especially if a breathless spell is involved. Or as they mentioned, a contaminant.

Story driven writing for a mediocre story really.
OK, well it's a bug that you can expect to exist in compilers in the future because every mainstream C compiler is going to optimize around UB. So... who cares?
Serious question - where does this plastic come from? Living in a 1st world country I can't imagine any significant amounts are thrown into the sea, sure, an occasional tourist will throw a bottle into the sea, but how do you end up with millions of tonnes? Are there any countries where dumping garbage into the sea is a standard procedure?
I'm surprised that you consider it controversial that a highly dynamic language can be considered fast to PoC something in than Java. There is just less typing/code that needs to be defined (I know IDEs help). Also easier to do quick and dirty stuff that I imagine would be more restricted in Java. No classes to define, just throw your values in there.

I prefer python in general but for zero-to-simple-web-endpoint I may pick Node.
What is your point here?
Even Australia is better than Canada, $100K for a senior dev vs 80K and the cost of living is pretty much the same.
Hava a look at http://www.iwriteiam.nl/BYOB2017.html for something more dynamic.
I am working on svg animations right now (on Android, but AFAIK it is pretty much the same on the web).

Tooling is pretty poor at the moment, even though this is changing rapidly with :

https://romannurik.github.io/AndroidIconAnimator/

and

https://shapeshifter.design/

that are quickly starting to cover this ground (but they still need a lot of work).

Animating an svg shape to another in a nice way has been doable for some time, like for example : https://material.uplabs.com/posts/animations-in-pocket-casts

Doing so is really time intensive though as soon as your shapes are not trivial, especially since without these two recent tools, you are left with a sheet of paper as your best instrument ..

I would have gladly paid 20 $ last year for a tool allowing me to efficiently create such an animation.
Are you under the impression that individual web archivists don't also scrape websites of interest, and submit those WARC's for inclusion into the Wayback Machine, independent of the IA's crawlers?

Because believe me, we do...good luck banning every AWS and DO IP range.
58000 people under 25 in UK registered to vote on 18th April
Maybe it will keep mice and bugs away while it is running.
> I found most serious people succeed in business. It is not that hard to become a millionaire, way easier than being a salaried person

This is the trouble with discussions on this topic. Everytome Survivorship bias comes up, someone provides "counter evidence" which happens to be a picture perfect example of survivorship bias.

Most serious people don't succeed in business. It is hard to become a millionaire. Way more people with the exact traits you'd describe as being what's needed for success have failed than succeeded.
> Just don't magically remove code that I wrote.

Compile with O0.

> Yes, and it is wrong. Breaking existing programs with magic that simply removes code that is clearly there in order to eke out a bit of performance is wrong.

Well welcome to writing C? It's been this way for a long time and that won't change - UB is critical to performance and doesn't always lead to unsafety. If you're programming in C, don't blame the compiler when your UB leads to remote code exec, you should have known what you were getting into.
Surely if you're able to undermine the trustless nature of them, they weren't trustless in the first place - i.e. you're merely trusting a possibly larger group of people to fail to come to an agreement on changing the protocol.
If you bought this burger, you already gave back to society by paying for it. It has zero influence on the rest of the society whether it goes through your belly or not before being disposed.
That is definitely an improvement, although the document you linked to suggests that the old-style records would still be used for some purposes. If the language already has tuples there's really no reason why it shouldn't just have tuples with a fixed set of named fields.

The quirks of JavaScript that you mention never bother me at all in practice (and yes, bringing up 'with' is a very cheap shot, and Erlang's string handling is pretty wacky too), but I remember that not having real record types was a serious pain point.
> It is not that hard to become a millionaire, way easier than being a salaried person

Sure. If it is not so hard, everyone would do it. If everyone was a millionaire, who would do actual unpleasant work? Who would clean, run hospitals, build infrastructure? Who would work for your startup so you can make money?

Your comment is such an example of survivorship bias!

Capitalism is a competition. You won, good for you. Don't tell the rest they can win too, that's insulting. You won because someone lost.
> Really? It's 2017 and your site is affected by that.

That someone wants to use a robot to completely scrape an entire dynamic website is their goal. A site is not responsible to make that possible. One bot causes _way_ more traffic and CPU usage than just a normal visitor or 1000s of visitors.

Saying '2017' or anything else: meh.

Various network operators are pretty helpful. Sending abuse complaints regarding misbehaving bots has resulted in actions before. I've seen action being taken from universities, ISPs, etc. Though normally the bots are auto-blocked (on IP address or ranges; quite easy to script).

robots.txt is an established / de facto standard. Ignore it, be prepared to explain why. IMO pretty much any country have computer hacking laws which are vague enough that to consciously ignore such a standard can be seen as "invading".

A "not my problem" approach: I think you should really think a little bit more.
I've done quite a bit, yeah. We make serious use of it in our product [1] so I've had to work with it fairly closely on both the front and backends (have read through the Chrome svg code, along with Skia, Cairo and others). In terms of other declarative 2D formats, I'm also increasingly familiar with PDF too.

Just this last week I fixed a bug in the way Cairo handles stroke-miterlimit (which was called by librsvg). While there I got an appreciation for how exactly the rendering has to take place.

Imagine drawing a stroked line of 2 segments (on any 2D surface), it's the simplest of operations. If you think about it, that's actually an operation in which you have to draw 2 rectangles (one for each line segment) that meet at their tip centres, and then you need to draw the fill (determined by the stroke-linejoin) at the tip (after figuring out which side of the line is the outside). The options are rounded, bevel (just a triangle to fill in the space and effectively square off the join) and miter (draw a diamond to extend off to the full extent of the line). The miterlimit then specifies a maximum ratio you will allow before saying that the miter would extend too far and you'd rather have a bevel (squared off).

Cairo does these calculations in several places for the various backends, but it has code to deal with stroke-linejoins and stroke-miterlimits. PDF has the same sorts of operations, as does Skia / all other 2D libraries.

Now, SVG2 has introduced the notion of miter-clip in which you don't just have the end of the line snap to bevel or miter and instead you can have it cut off somewhere in between.

It's an innocent enough addition, but let's stop and think about the implementation. None of the drawing canvases support it, so you'd have to add it to Skia and Cairo / everything else. Just on the image backend of Cairo, that's a big change. There's a load more calculations that need to happen. But what if the user is using the PDF or Skia backend? Do you just give inconsistent results there if they don't support it, or do you try to simulate the drawing operations to plug in the little extra line-joins to make things look right. Alternatively, librsvg for example could handle it as a special case, use bevels, and add its own calculations to glue in all the extra little caps. At least then Cairo wouldn't have to change. But I've just been down in that code and there's a lot of work in those calculations — you need to track angles of all the line segments, you need to figure out where things start and stop etc. But then Inkscape would need to do something similar, as would Chrome / the Edge renderer etc.

And this is a relatively simple case. See miter-clip in the spec [2]. It's a 1 paragraph definition that results in 1,000s and 1,000s of lines of code to be changed.

Don't get me wrong, I'm not having a go at the spec and I love SVG. It's just that over the last week I've come to appreciate how complex the seemingly simple operation of drawing a line of 2 segments is! It's worth stopping to think about how much work each feature creates.

[1] http://www.countfire.com

[2] https://www.w3.org/TR/SVG2/painting.html#LineJoin
My T460s definitely has a garbage tier screen. And garbage tier trackpad. The trackpoint feels like garbage too. And I had to replace the keyboard once because it was garbage and broke.
Intercom have some great blogs:

https://blog.intercom.com/
https://engineering.intercom.com/
They're killing performance (one of the main reasons to use containers) and adding a massive extra layer of management if they're running containers on EC2.

I suspect Netflix are too wedded to AWS (which is weird as Amazon is their biggest threat) but Triton or Red Shift (both of which actually isolate containers using SmartOS and SELinux respectively) make way more sense for other people who want to use the blazing fast IO speed of containers on bare metal.
In practice, courts will say "pay the expected value of replacing the loss in USD", as they've always done for transactions that can't be undone. Permanent transactions are not a new thing to the legal system - if, for example, you sell a one-off art piece to someone else, then they sell it to someone else, and a dispute arises between the first two actors, the solution could not be to return the art piece.
Ask HN: Building a framework/library for education purposes. How best to do it?
If I wanted to develop a deeper understanding of web technologies by building a framework or library, what is the best way to do it?
If a robot misbehaves, it'll either be blocked or it'll go to the networks abuse section and that bot will be taken down. That a site possibly could have some kind of technical solution to this doesn't matter.
and the legal basis is pretty fluffy:
- http://www.sueddeutsche.de/digital/bgh-grundsatzurteil-namen...
- http://www.focus.de/digital/internet/bgh-urteil-keine-staend...

it's german, but basically it says: "This is not a blank check".
My vote would go to Discord's blog -- https://blog.discordapp.com/
No. Kayako.
> Not enough companies want to use newer web technologies and advancements in AI & machine learning to train their workforce

trying to use AI & ML is ok, but why they should use newer web technologies? web technologies are changed so frequently and outdated, its bit scary to jump in to new web tech.
For such inlining optimization it is the compiler that 'introduces' the UB in its intermediate step.
That is not a fault of the input code, so no warning should be emitted?

If the compiler can know that the pointer is non-null, why would it need to rely on UB to optimize it?
Problem I guess is the ever-present possibility of pointer aliasing and such nearly allowing anything to change anything else at any time... Not easy making things more sound on such a foundation.
> There's no fair use exclusion for what they're doing

Fair use is not the only exception to copyright. US copyright law has a separate section on exceptions for libraries and archives.
Lots of laws are pretty similar. e.g. technically you could steal loads of things. Practically you don't. Defeating/ignoring mechanisms such as robots.txt (vs maybe some security person in a store) still makes stealing not ok.
Kubemr – MapReduce framework for Kubernetes
These two are in my bookmarks, and often have quite interesting reads.

http://www.gereports.com/

https://www.ge.com/digital/blog/blogger/ge

Any other interesting G-E sites I'm missing ?
Perhaps the article meant it was impressive for their body size.