skysight-inc/HackerNews huggingface dataset:
Ask HN: Best way to license Java application?
I'm building a Java application, and basically delivering a WAR file for the customer to run on their own server.

I'm thinking about licensing and came up with a simple solution to sign a simple text file that says when the license expires.

The crypto is sound, but I'm worried that someone would just reverse the WAR and changes the code that checks the file signature, making all the scheme useless.

Is there a solution for this kind of problem?
This is a duplicate. Lengthy discussion here:

https://news.ycombinator.com/item?id=14639908
Google Display Ads Hack
Effectively Freedesktop has given up on defining the Linux desktop by specification, and have switched to do so by canonical (heh) implementations.
Marissa Mayer on Kalanick: 'I just don't think he knew' about toxic culture
Macy’s Beauty Box 15.00 – Cheap Beauty Deals
The EU was talking about the GENERAL search results, not the category
Are you confusing "can use" with "requires"?
Most of the documentation is boilerplate. There's very little real content now and most of it is filler.
From the EU Commission's perspective, they're different categories and one of the reasons for the case in the first case was due to complaints from EU-based comparison shopping companies who claimed Google was unfairly suppressing their results in general Google search. From the perspective of a European comparison-shopping-only company, it is unfair competition from a company that spans a broader domain, hence the narrower definition used by the commission. For an antitrust case such as this one, it is a key point that Google has such high market share in web search, above 70% in EU searches. For such a dominant network, it's easy to leverage that dominance in other domains, but that's against the EU's antitrust laws.
I've regularly taken naps at lunch too and found they make a big difference to afternoon productivity. I've found walking also has a similar effects, especially on grass. I normally do one or the other depending on how well I slept the night before.

How long do people find most effective? I've found either 12 min or 30 min to be best for me. 30 min if I'm particularly tired, 12 min if not. If I go longer than 12 I get foggy for around 30 min after.
It is not platform vs. platform, it is iTunes vs. Playstore (not a monopoly, choice => no action needed) and Google Search vs. nobody essentially (overwhelming dominance, quasi monopoly => action needed).
Nice, but I'd rather see existing languages compiled to WASM. Such as C++, OCaml, Haskell, CPython, Rust, ...
> But I don't think they are different markets. If when you search for a web page google shows you the best result, why shouldn't it search for the best/cheapest online retailer? It's searching for the most relevant 'thing' on both cases.

It doesn't though, does it? It certainly doesn't find the cheapest item on amazon when I tried a few examples.
http://webglfundamentals.org ?
IIRC humans are the only (or one of very few?) mammals to have permanent breasts. In most mammals, breasts are a turn-off for the male because they signify inability to give birth right now. In humans, breasts are a turn-on for the male, for unknown reasons.

I would guess that the reason they're large and the reason they're permanent are related. One causal chain might be (permanent breasts -> males like breasts -> breasts grow), but others are possible. I suppose it might be that non-permanent breasts wouldn't be able to grow to the size they need to be, for whatever reason they need to be that size?

(In case it wasn't clear, I have no expertise in this area, and you shouldn't listen to what I have to say.)
You can use ssh/scp in pure Python (e.g., StaSh on Pythonista for iOS provides scp/ssh commands).
Sure, but Ada was a first-class language in GCC, many distributions shipped OCaml code...
I wish they could have allowed Mark to change the third set by passing his hand over
Yes, I think that is more appropriate too. Will change it now.
> It's surprising how big programs are. Very basic android apps can weigh in at 30-60mb, and I've noticed cordova apps are particularly bad for that. Imagine needing to pull that much data every time you visited a new site.

Bit of a straw man Imo. WASM is specifically designed with page load in mind. It's why the garbage collector specification is so important, as languages with GCs want to use WASM but they don't want to ship their own for fear of slowing down page speeds.

> We're already seeing this weird situation where websites that are perfectly usable in urban areas become impossible to use in the mountains. Urban telcom networks can be upgraded to make a 60mb runtime feel reasonable, but a lot of rural networks don't even work for todays sites.

I agree completely, though for this I blame the companies/devs targeting a specific audience more than anything. Ie, I don't think it's the fault of "the modern web" or what languages/etc we use today for slower page speeds. For the same reason I don't blame languages we have today for desktop applications that aren't as "fast" as they could be.

We have more RAM than we did 20 years ago, and conversely programs use more available RAM. The program might be doing a "better" job (hard to measure, but I imagine UX is the main concern), or it might be doing a worse worse job.. but at the end of the day, developers took the opportunity to use languages/frameworks that used more RAM, for one reason or another.

So, just like the RAM, higher internet speeds and faster browsers have led to developers using more bandwidth than ever before. We use just as much as we can get away with, and always will.

Sure, WASM may change our idea of what is acceptable, but I don't think it will by too much. We're impatient beings, we want the damn page to load fast as hell. How willing do you think the ~2B Facebook users are to wait 30s while it downloads hundreds of MiB of some FB WASM app? I think people would flip out.

As an aside, what I think will be really interesting, will be compiling normal non-web apps WASM, as a deployment target for systems. Hypothetically, it could be the new "native" and vastly easier to deploy to for all OSs. Not intended to run on web, but still WASM. Talk about cool, Imo
Improving DevOps automation with continuous delivery chain acceleration
This is a trigonometry question, not a C or programming question.
If Bruce Willis Tweets, you should totally make a chubby black cop named "Al" for his opponent.

If he rolls a Yahtzee, you could make it pop up a message that says "Yippee Ki Yay, Roy!"

Because of my near-encyclopedia knowledge of 80s pop culture, I just had a bunch of ideas. Then again, who knows how many 80s celebrities are playing your game.
> However we're stuck with it so it's suck it up or move on.

This here is the hubris and arrogance of the entire thing.

I take heart that in the linux community, there is enough technical skill
to come up with a viable, more in spirit of linux alternative. And I believe
that I shall see the day where it is implemented. Lenny P and the gang should
be less arrogant, and better at improving their product with this in mind.
No one needs red hats "buy in" for this.
I do both nowadays but completely agree. I started drinking Huel for breakfast and lunch around 8 months ago and the difference in energy levels when I only have 500 calories (exactly weighed out) is huge. Every month or so I go out for lunch then proceed to regret it for the rest of the day.
I suspect any alternative is a fall back that cause as much troubles as it "solves". After all, the principle devs of systemd are all very much in love with dbus (bloody thing require a copy to be started by initramfs even).
> But as time goes on, I believe the more efficient libraries, frameworks and tools will win out.

The average webpage today weighs in at 2.5mb. I don't think that demonstrates an efficiency win over time.
for the local economy there's functionally no difference between giving the money to China or to a reseller at the other side of the country.
More like he didn't care.

Culture and the stuff that - at least at first - is much harder to measure, so as long as you don't care about it, who cares - you are building a sexy company and making a lot of money doing it. And don't stop while things are going on.

The problem, of course, is that it crashes and burns because the same people that would have stopped it early wouldn't have built the sexy spaceship
Not targeting my reply to you, @cornice, directly. But how did the world end up being so paranoid?
I think it since got surpassed by UHMWPE, which has a tensile strength of ~20GPa. They make cheap body armor out of it.

https://en.wikipedia.org/wiki/Ultra-high-molecular-weight_po...
I would like to have a digest or an overview written for a IT practitioner. I did go SC/IT conference and enjoyed the talks and I noticed 2 things: 1/ You learn new things and new approach that can bring value to our job 2/ It seems that the research sector discover stuff that are already known in the industry.

I think it would be great to have a journal/blog that would construct a bridge between the industry and the university.
Damn I wasn't aware of gigapixel cameras unless you're talking in the future. I tried to look that up and "gigapixel" photos came up (although none of them/links seemed to work)
>The desktop and server environments have amply demonstrated that different languages have different strengths

I believe that the main thing demonstrated in practice is that everybody [1] just likes one or another Algol derived language, from a small set of languages with superficial differences between them.

Java, C#, Golang and their dynamic cousins, Python, Ruby, Javascript which have suddenly all adopted a longing for static types (Typescript and flow, Python type annotations, etc) and for async execution (asyncio, channels in Golang, async/await in C#, etc), and all piling functional features. It's like they are converging.

Sure, they still have semantic and syntactic differences, but in the end, not that important in the grand scheme of things. I think that not catering to any superficial preference of all programmers can eliminate endless bikeshedding and be hugely beneficial -- it worked wonders for JS both in terms of industry involvement (excellent JITs and tooling from 4 huge vendors), and in terms of traction/community/libs.

What's sad is not that we don't have 20+ languages for the web, but that the one we have was a quick kludge for a totally different use, and not that great for what it's now used.

[1] the casual expression meaning "most people", not the universal quantifier meaning "all with absolute no exceptions".
nice one bro
Here's an example of a new API they added recently (the first one I thought of): https://msdn.microsoft.com/en-us/library/windows/desktop/mt5...

It says things like this:

> Indicates that the data for the file should be obtained from a WIM file. On access, data is transparently extracted from the WIM file and provided to applications. If the file contents are modified, data is transparently decompressed and the file is restored to the same physical form it had if this API were not used.

This is "boilerplate" and "very little content" to you? What are you thinking of?
I'm going to disagree from the opposite end of the spectrum as the two replies already disagreeing.

I wanted to program computers from when I was a kid and my dad showed me how to draw coloured circles on the screen. And now, I have a job in tech, part support, part coding.

But the thing is, I'm not very good at the coding part. I'm also quite lazy and hate practising things I'm not very good at, so I don't put in the work to get better.

Meanwhile I've seen coworkers come and go and maybe been a bit scornful of them because they seem to be only in it for the money, or they don't know things "everyone should know", maybe they don't even seem to want to ("pfft, what kind of boring loser would even care about that stuff"). But, they've been much better coders than me: they've picked stuff up faster, they've put in more work, they've gone on to new, better-paid, more interesting jobs. And well done them.

(It's a good, encouraging story for beginners who are drawn to it though, I agree with that part.)
> But there was no stipulation that the job needed to be in tech or anything. So the whole thing might be a total waste of time and you would still have to fork away a cut of your salary when you find a job as a kitchen hand or whatever.

But isn't it objectively less "scummy" than charging money up front, which most universities do? Then if you fail to find a good job after graduation, you are still responsible for the full amount regardless of your income.

Some minimum threshold before the percentage is taken off would make sense - the "tax" would be insignificant income to the university but a high cost to someone working for minimum wage as a kitchen hand.

But restricting it to tech is not that obvious. Every office job in the modern world benefits from a) having some sort of degree paper, and b) having some tech skills.
Yes, we're analyzing the titles. They're vectorized and fed into a LSTM net which was trained on a manually tagged training set.
The set is not very big yet but yields good enough results for the initial proof of concept.
ARKit looks impressive but the proof of the pudding is in the taste. We'll see what we can do with it when we get our hands on it. Meanwhile I suppose it's fortuitous my wife needs a new iPad!
Right, people forget there were 10 lean years between the end of the TV series and The Motion Picture. For the original cast of SW it was a whole career before the Disney movies came along, but to be fair to Mark he's been a stalwart of the fan conventions for many years.
And you can't criticise it anywhere (watch the downvotes).

Nonsense. HN has plenty of comments criticizing systemd, some of them in this very thread. They just have to be substantial, not merely empty rants or technically wrong claims.
But I don't think they are different markets. If when you search for a web page google shows you the best result, why shouldn't it search for the best/cheapest online retailer? It's searching for the most relevant 'thing' on both cases.

I don't think that would be a problem, but it's not what happened. Google has a distinct 'shopping' product, and retailers have to pay to place their product in there. Almost by definition, this means that ranking is broken, and Google is essentially running its own comparison site where retailers pay for listing.
As someone who has encountered tours of Chinese tourists in Vegas, I'm glad if there is some sort of a restriction regardless of how "just" it is.
Thing is that none of them have the backing of Red Hat's finances. Thus they can'ẗ keep up with the churn that systemd and other RH backed projects produce.
You can now request Uber rides for other people
> This is, basically, just applying the principles of Net Neutrality to Google.

I understand this way of thinking but the only trouble I have with this is that unlike ISPs I can switch to bing in a heartbeat.
> Big companies can even afford to make it a requirement of their release cycle.

Oh man. I have a peer who works for a very large international company. They require pentests in their release cycle. What could go wrong?

Turns out that pentesting isn't in the final portion of their release. They tag a release candidate (e.g. v5.7.0-rc), send that build to the pentesters, then fix other integration and user-acceptance bugs while the pentesters are working. The pentesters may greenlight v5.7.0-rc when it's really v5.7.3-rc that's shipping, and the pentesters are none the wiser.

Security only works when the culture supports it.
Petya: dead but still dancing
> A human brain would be impossible to sustain without cooked foods.

How do we explain the survival of people that eat only raw foods even today? Wouldn't that argue against your theory?

I suppose we're speaking about a population and that there will be individual exceptions. But even in a population, shouldn't raw food eaters die sooner or be worse off than cooked food eaters on average?
Check out:
- The DevOps Handbook
- State of DevOps Report 2017
- Guide to Sysadmin Body of Knowledge www.sabok.org
> Take travel sites: why shouldn’t Priceline sue Google for featuring ads for hotel booking sites above its own results?

If they're treating people equally, then that's not a problem. Priceline can buy adverts like anyone else.

> Why should Google be able to make any money at all?

Google should make more money by being better at hotel bookings and better at product aggregation and better at each of their other offerings. They shouldn't make money purely because people already use google and google put their (possibly sub-par) offerings right at the top. This would make it much harder for anyone else in the field to come in and offer a better thing, because a high proportion of people will never go down even lower on the first page of results.
1. It wasn't lucky that he made a good game that people like, it was hard work.
2. Doing something cool when he saw an opportunity with Hamill was also not luck. It took creativity and initiative.

Maybe he didn't do the fun little easter egg for marketing, but for whatever reason he did it, he created the opportunities through hard work and cleverness.
The Phoenix Project is a really inspirational novel, good for 'getting' the devops mindset and also as a tool to get other people in your organisation on board.

https://www.amazon.co.uk/Phoenix-Project-DevOps-Helping-Busi...

The DevOps Handbook is a sister book to The Phoenix Project which is more technically oriented around the practicalities of closer integration between Dev and Ops.

https://www.amazon.co.uk/DevOps-Handbook-World-Class-Reliabi...
>You're missing the point by bringing up irrelevant things like "fun."

They are only "irrelevant" if one only makes decisions based on single one-track brain criterion: "healthy or not".

Which you tried to impose upon this conversation, but as it has been repeatedly pointed out, it's not the be all end all.

>The reality is this: alcohol is worse than water and alcohol is bad for you.

The reality is I could not care less.

>yeesh. the fact that you're posting silly poems instead of constructing a solid argument is proof enough.

An argument for what? That alcohol is healthier than water? That was never the point.

In fact, if we take it strictly, TFA is about alcohol. Why even bring up water in this thread?
Sorry, I didn't have a use case -- I did it purely for fun. However, I got the idea when I was trying to optimize some Python bytecode.
It seems to test mostly careful attention, pattern-matching, and very basic knowledge of arithmetics and geometry. With that, it's tougher than it sounds.
To be fair Win32 isn't terrible. Have you looked at the .Net docs?

http://imgur.com/a/iK4uG
Right now, I see that market going into makers territory, Arduinos, Raspberry PIs and such, or the workstation/pizza box servers.

But we don't know anyway.
In a lot of ways, all that old software rasterizing theory is even more relevant now, because shader languages really don't give you very much. They can convert polygons into screen fragments, but it's up to you to figure out projection, mapping, lighting, and everything else.

It makes advanced techniques infinitely easier. There is stuff you just couldn't do on the fixed function pipeline without a vendor-specific extension. But it makes for a huge learning curve for simple stuff.

For that reason, I general suggest people start with a game engine like Unity or PlayCanvas, or if they are already experienced programmers, a scene graph like Three.js.
New Stack Overflow Footer and About Pages
My company's CEO says he looks at the survey answers to "Would you recommend Company X as a good place to work" as a health indicator of how the company's doing. Which makes sense to me, since if the employees overall would recommend it as a place to work, it's probably reasonably stable and rewarding, has reasonably trusted managers, etc.

I've never delved deep into actual statistics on this, though, so consider this just an anecdote.
Bash Snippets for Power Users
Hydrogen: 33,300 Wh/kg (compressed: 39,443 Wh/kg)
Here's a project that did 1.4G/s on a single GPU five years ago:

https://www.reddit.com/r/crypto/comments/162ufx/research_pro...

Stick multiple modern GPUs in a machine and single digit days seems feasible.
How People Like You Fuel Extremism
Using CSS Variables Correctly
FWIW, that's what the Go tools produce by default.
Idk about you,maybe you won the Putnam, but when I was 15-20 my brain was still working on getting fiber down for the last mile of the prefrontal cortex. The bandwidth required to really grok calculus (or even write a coherent essay on the metaphors of The Great Gatsby) would have been a bit untenable.

Don't get me wrong, I would have loved to have been given these types of challenges at a younger age, if only to be forced to learn time management skills sooner. However the intuitive understanding of something like the mechanism by which integrals work would have been lacking, and resulted in an employee that lacked the ability to use the lesson taught by that particular type of abstraction in a diverse and creative way.
As Egnyte turns 10, it moves into data protection
- Employee turnover: a large layoff
- Retention: some many know something you don't, especially at the high levels.
- Restructuring/reorging: there are companies that view this method as a panacea for all ailments (rather than treating the underlying issue(s)).
- Projects funded: a concentrated focus on projects that "reduce cost" or "introduce efficiencies" rather than on growth and R&D may be indicative of either a contraction to make a company more palatable for a buy-out, or a simple general state of the money in the bank.
> No, you can't.

If, in an application, all your references are of a single data type and those data types never change the types in that application are static. This remains true even though the language is not statically typed. The language may be dynamically typed but all data types are static at execution, which is what static typing is.

Also don't confuse static/dynamic type classifications for strong/weak type classifications.

> Performance problems are the least issue with uncaught type errors. Crashes and incorrect results are the more common results.

Absolutely not in this language.
All successful companies require luck and skill and most people acknowledge luck is a significant component. Capitalizing on luck magnifies the affect.

Here, the game got minor bumps from Mark. After, it got 2 viral blasts and then all of the discussion around that.
> The Postal Service receives NO tax dollars for operating expenses and relies on the sale of postage, products and services to fund its operations.

https://about.usps.com/who-we-are/postal-facts/top-10-things...
I apologise. This is the first time I've criticised systemd on HN. I had a massive rant on another site a couple of years ago when CentOS 7 dropped about the catalogue of failures I had been through with systemd, completely backed up with evidence and bug reports and it was hammered by downvotes instantly.
>To me it just seems like an unsustainable business model

My experience with this isn't quite how you're describing. The Chinese vendors are sort of having their cake and eating it too. They'll often, for example, not be honest about the the shipping time, their return policies, product details, ability to answer product questions, and so forth. Even if the selling platform does something about it, another Chinese seller pops up to replace any that are booted out.

So, for the end consumer, they don't get a true view into what the consequences are of buying from the lowest bidder.

It's difficult for a US supplier to get their value proposition out there on platforms like Amazon, as there is one product listing and multiple sellers. There's no spot to show why your offering that's priced higher is worth it. Better support, return policies, fast shipping, product knowledge, etc.