skysight-inc/HackerNews huggingface dataset:
It kind of fits how we'd talk in natural language about many common fragments of code.

I mean, if I write a small function doSomething(inputDataString) then when talking about what the function does, I'd just refer to "the string" or "that string" as there really can be no more meaningful name to refer to that. If there are multiple such parameters, only then names start making sense.

Similarly for iteration constructs like java 'for (Foobar foobar : foobars)' - when you're talking about what is done with that single instance of foobar, you just refer to it as 'a foobar' or 'every foobar', and a specific name is often meaningless if you don't need to distinguish it from others.
I think the number of companies taking free software and making meaningful changes that they don't contribute back to the community is not that big at all, though I don't argue that some probably do exist.

Consider the overhead involved in maintaining and packaging your own code base while still including updates from origin. Wouldn't it be much easier to submit a merge request so that you could just apt-get install the package and not worry about your own custom branch, not to mention feedback on your change from a much wider audience who are familiar with that code base? And then there's the fact that you're exposing yourself to liability that, again, would be solved by that merge request. It just seems like a lot of the ones that do, do it out of ignorance rather than malice.

I don't disagree that companies need to build up assets, but I think for most companies including SaaS ones, those assets are systems which are comprised of unmodified FOSS software used in [sometimes not] innovative ways.
Baffled by Microsoft Developer Support
I wrote this article. I tried to fit the premise in the headline, but it is too hard given the caveats.

"it is bullshit if your startup job offer doesn't include percentage ownership"... unless they tell you valuation and share price

etc

I guess I could have gone with what is in the slug "Percentage Ownership is Everything".

For an area of so much disinformation and confusion, I don't mind if a clickbait headline gets more people to read it.
Will do. The list of references in the other comments is enough to digest for now.
An intro to data structures with locality of reference-type features
Nearly every argument against the GPL is based on convenience or desirability for developers. I think in a lot of ways that's the primary split between the FSF free/OSI open source factions.

Reading the GNU manifesto was a lifechanger for me. Even though I've strayed (i.e. am employed producing proprietary software), I still believe the GNU project and the FSF are the most important things to ever happen to the computing world.
How to Unlock Samsung Galaxy J1 Using Unlock Codes
Exactly right. I didn't stress this enough in the article. If you start poking here and they get defensive, they aren't good people to work with.
The most interesting point that was glanced at in the article from my point of view is that small changes in conditions lead to big changes regarding optimal strategy. My chaos theory is a little flimisy but I think conceptually a general framework of considering optimal strategies as strange attractors makes sense.

In fact I think it's more interesting to find the systems in which a given strategy is successfull as opposed to finding a successfull strategy given the system. There's all sorts of interesting questions that arise from this point of view the most obvious one being how does one (or animal populations) change the inputs that form the system in such a way that it leads to the given strategy being successfull.
Large ancient-DNA study uncovers population that moved westwards 4,500 years ago
Matt Mullenweg on Polyphasic Sleep, Tequila, and a Billion-Dollar Company
Many exits and acquisitions are essentially zero for employees. They might be slight bonuses, but it would be a rounding error on salary in many cases.

Think of it like expected value of the stock. IPO is contributing to the lionshare of expected value, even if it is the least likely outcome.

That said, the basis of judgement of value is on how much of the company you have. It all starts there.

Also, I completely agree about probing what is in it for the founders. What is their goal? Unfortunately, it isn't unethical to bend the truth and project a vision deep into the future. People call that leadership.
How does JavaScript print 0.1 with such accuracy?
The Human Equation Every IBM Analyst Needs to Compute
You are hiding in a corner, seemingly without knowing why the theory exists or what it is. Strange as it might sound, but the theory behind GPL with linking was not made by Stallman.

Many years ago Steve Jobs asked Stallman if Apple could link some proprietary compiler software with the GPLed GCC. Stallman initially thought it seemed legal, but asked a lawyer whose expertise in law and legal theory naturally surpassed that of Stallman. The lawyer replied that a judge would look at the final product and ask if it was two separate programs, or whether it was "really" one program with differently labeled parts. This lawyer concluded that the product would most likely be seen as a single program in the eyes of a judge and jury, and thus create a single work, i.e. a derivative work, if Apple's proprietary compiler parts and GCC was combined.

This is the basis that forms the legal recommendation that FSF has made regarding copyright and linking. If someone believes that a judge/jury would act differently, they are perfectly free to test it in court. By now it is going to be almost 30 years of industry legal practice in dealing with the question, but in the legal question is as simple as stated above.
GPL requirements don't apply to just making modifications. They only apply when you publish the modifications for others to use. In other words, they have no effect on your freedom, they only serve to protect other's freedoms by restricting you from imposing non-free terms on those other recipients of your published code.

Admittedly, this does have a clearly negative side-effect: it causes incompatibilities in cases that otherwise would remain free. But even that is not the case for your own modifications you use yourself and don't publish.
Many people seem to have game theory backward.

Game theory is a modeling tool that assumes all relevant utility is baked into the payoff matrix.

Games (payoff matrices) that capture unique outcomes/behaviors are often given memorable names from human situations that approximate the games. For example the matrix referred to as 'prisoners dilemma' demonstrates a situation where dominant actions give a suboptimal outcome. In describing where this game may apply, economists found simultaneous interrogations to be a colorful and close enough approximation to the idealized game.

It's not the case that game theorists started with the situation of interrogating prisoners and ended up with the game matrix.

Similarly, for anyone saying that 'that wouldn't happen in real life', you're actually saying that the payoffs don't accurately model the outcomes.
> EDIT: I admire your slack.

What does that mean?
Do you fear that by the time shumway actually works for "most ppl stuff" flash would already be gone and the effort wasted? (its gone from YT..)
For me comparative advantage (economics) was always enough to "justify" cooperation as a good general attitude in life.
So you are a Software Engineer. Then please don't suck at this
SoundCloud's Prometheus: A Monitoring System and Time Series DB
Right, well that explains why I was downvoted - my ignorance of Wikipedia's administration...

Thanks for the insight!
Shumway is implementing APIs as needed, not targeting a specific SWF version.

Shumway does not currently support click-to-play because it is not a real browser plugin. It hooks into Firefox's click-to-play mechanism to conditionally override the Flash plugin. This is a hack and will soon be replaced with "jsplugins", a Firefox feature that will allow browser plugins to be written in JS and run in an out-of-process sandbox:

https://bugzil.la/jsplugins
I don't know about people being arrested for comments about Charlie Hebdo, but people have been fined and imprisoned for statements about the Holocaust: http://en.wikipedia.org/wiki/Laws_against_Holocaust_denial#P...
I am currently working in an OTA and I am not in a position where I can openly share certain things, so I am sorry that blog post wont see the light soon.

But, I can share some pricing strategies that I've noticed that our competitors are doing, for example:

1) Different prices for different countries, example:

http://www.amoma.com/hotel.php?id=30800&key=2015022020150221...
and open it again in english, using an incognito window (important):
http://www.amoma.com/hotel.php?id=30800&key=2015022020150221...

2) Most of the hotels set the price using their local currency, and when the prices are converted to the customer currency, every OTA can decide to be optimistic or pessimistic. They could even decide to use a different conversion rate depending on the booking windows (number of days to checkin).

3) Price parity clause can be avoided if the price is not 'public' (http://www.osborneclarke.com/connected-insights/blog/hotels-...) so now most of the OTAs are trying hard to get the users logged in before booking. Once the user is logged in, the prices are not 'public', so the OTA can lower their commission slice of the price.

4) Some hotels have a specific (cheaper) rate for 'package bookings' i.e. the room is booked together with another service (flight, car rental...). But some OTAs decided that a flight booked earlier was enough to offer a 'package rate' to the customer. See: http://www.tnooz.com/article/expedia-playing-hardball-hotel-...

Thanks for the beer, we may have an opportunity to drink it together in the future.
By same argument drinking or breathing.
WATCH: McDonald’s “answers” your questions – Fight for $15
AmEx-Costco Divorce Shakes Up Card Industry
As one example, I had some humbling experiences with constructors calling overridden methods. The dispatched methods are faced with an incompletely initialized instance in this case.
A Google-Backed Research Project Aims to Automate Data Analysis
John McCarthy on Elephant 2000, Lisp, Ruby and the Computer Industry (2008)
Have you thought of working with some of the other open source flash implementations on compatibility tests ?

I'm guessing that lightspark must already have some tests, and from your side there are probably some they could use too ?
Nice idea. A few possible improvements:

1. Import data from csv, excel etc, from file or textarea.

2. The chart should be resizable.

3. Color schemes would be nice to have.
Wow, that is insanely over the top and also pretty poorly written. I appreciate the irony of using a historically leftist image like the raised fist to promote what is essentially a pro-capitalist message ("Even if these people are companies who want to develop proprietary solutions. [sic] A company using your technology will increase the value of the project").
There are 0x0a videos of me working on my app
This is so cool, so more need to install hal?
A little quote from the link: "Full disclosure for those coming from elsewhere, not familiar with us: I’m the cofounder of Sprayable, and we make Sprayable Sleep, which is discussed here."
Yes and no. Shumway is in a race to stay relevant as Flash fades from the web, but there will always be a long-tail of Flash content that would/will be lost when Adobe or browsers stop supporting the Flash plugin.

Even YouTube must continue to support Flash video for at least another year because many websites embedded Flash videos using YouTube's boilerplate embedding HTML with the Flash <object> tag. Google can't magically rewrite these third-party websites' HTML. :) Maybe YouTube can use some SWF that loads or redirects people to youtube.com? Or browsers could recognize YouTube's boilerplate embedding HTML and rewrite it with YouTube's HTML5 video.
> Now, if the concern is that you can't modify a GPLed text editor [...]

That is indeed the issue. The concept is that I might read some algorithm or solution as a whole while working with the GPL code. This solution, even if not directly copied, might end up in the code of the proprietary (and patented) product.

If prosecuted in America, where the court is interpretive on new issues, this could result in trouble for my employer. Having no previous rulings to go by, there is no way to approximate the outcome of a case such as this and hence looking at GPL code could constitute a risk.

A good "inverted" example of this is when Oracle went after Google/Android for supposedly having copied a hashing function. The obvious question and defense is: common data structures have obvious hashing functions and there is a good likelihood of coming with identical or near-identical code, i.e. serendipity.[1] Even though there is no proof that the code was copied, the court ruled in favor of Oracle on the grounds of "structure, sequence and organization of an API is copyrightable."

How this applies to GPL code, from my situation, is uncertain. GPL has patent clauses, so it's really risky.

[1]: http://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google,....
I think you are talking past each other.

Indeed Haskell does not automatically make code higher quality than any other language.

On the other hand, Haskell provides more infrastructure for making code reliable than most (or maybe all) mainstream languages.
7 Remarkable Tips to Safeguard Your E-Store and Keep Fraudsters at Bay
A related and very interesting story is this article[1] on Ranbaxy. Basically this company was corrupt and fraudulent from the top down. Falsifying data, copying competitor information as their own, etc. Or encouraging internationally traveling employees to privately import medicines to India for them. Or asking doctors on staff to write prescriptions for everyone in the office to boost sales figures.

The FDA applied light bans, only on individual manufacturing sites, allowing the company to continue to push out product from other sites. Including making a bunch of pills with glass fragments in it.

The FDA eventually fined them $500M, and the company has since been bought by Sun Pharma, the largest in India. Zero indication that the systemic corruption, fraud, poor quality, etc. have had real change.

1: http://fortune.com/2013/05/15/dirty-medicine/
Ok, that's quite some language-lawyering going on here ;-), and while I enjoy it, I'm completely aware of the fact that in practice the behavior of actual implementation (in software, compilers, operating systems) always trumps theoretic considerations.

That being said...

§6.5.3.1/4 The unary * operator denotes indirection. (...) the result is an lvalue designating the object.

So, I believe that there will be no difference in access to something declared as

volatile X v;
v = ...;

and

X v;
*((volatile X*)&v) = ...;

if the access to v will always be performed through such a cast, as ((volatile..)) will always denote the same "volatile" X object stored in v, independent of the fact that storage to the volatile X object is allocated in a "nonvolatile" X object.
This is an area where some kind of crowd-sourcing seems like it ought to work. The facts on side effects and morality exist once a drug is out in the wild, but we don't have any way of collecting it, curating it, or analyzing it.

Yet odds are that most of the people taking it (for any value of "it") have smartphones and could be prospectively matched with people not taking it (I'm an enemy of case-control studies for lots of reasons, but this may be an area where a well-designed one would work.)
Still not even a mention of SRV records in the “critiques” section. I’m more saddened than surprised, really.
I honestly don't think it's simple. How can I possibly use GPL code to reduce anyone's freedom? By creating some derivative work? By doing so, I have not diminished your access to anything that already exists!

The way I understand it, the GPL guards against the possibility that some non-free derivative work will prove more popular, and so crowd out the free original - "to turn free software proprietary" as the FSF states it. This crowding-out may be a legitimate concern, but it's a subtle one: it's protecting code by preventing a certain class of competition, an act which may not be in the interest of users, who would probably welcome more choices.

I can draw an analogy to "poison pill" provisions: they protect the company from takeovers, but often work against the interest of shareholders.
Actually it's not, if you have the physical device you more or less already cracked the fingerprint scanner.

You could also be compromised by your glass in a bar, a handshake, the door handle of your car or your house.

Passwords can be changed but you can't change a finger so this sums up why fingerprints are shit.
Does JavaScript Software Embrace Classes? [pdf]
That's a good question. Video is just one use case for Shumway. This specific use case might be better supported by rewriting Flash <object> tags with an HTML5 video player, but Mozilla dislikes adding hacks to workaround site-specific quirks. The hacks are technical debt carried by Firefox on behalf of websites that don't bother to maintain themselves. Mozilla even removes moz- prefixed DOM APIs and CSS attributes when the standardized, unprefixed name is supported.
Have you implemented support for Real Time Media Flow Protocol?

If so, is it possible to use UDP over shumway?
Is OpenBSD well suited for realtime synthesis? I've been looking for a minimal platform (no graphics) with better latency than linux out of the box, to use with SuperCollider and puredata.
He also has an awesome story about his parents on This American Life(http://www.thisamericanlife.org/radio-archives/episode/214/t...) even though he (and they) are Welsh.
Businesses has been limited in a very pragmatic way from doing what they most would want to do: Take money from people. The way you can take money from people is extraordinary restrictive in society, limited to fair trades and agreements. They are restricted from applying a freedom of entrepreneurship that privateer and slavers enjoyed in 19th century, or mobsters during the early 20th century. Stealing, murder, slavery, and plunder are all restricted ways to reach profits.

One might wonder why more businesses succeed today with all those restrictions compared to the times when everyone was free. It almost seems that freedom is distinctly bad for everyone, and restrictions, harsh has they might be, benefits everyone. I think it might be correlated with the businesses desire to be protected, as a ship full of gold serves little purpose if it is all stolen by someone else.
So I'll second what a lot of people are saying here with CBT and mindfulness. No experience with medication so I won't comment on that.

I'm surprised nobody mentioned this: exercise.

Seriously, instead of compulsively checking HN, go for a run or even a walk somewhere in nature. It'll get rid of that excess adrenaline that prevents you from relaxing. If you've got a legitimate hard decision to make, freeing up your mind a bit (rather than focussing on tech news or sci-fi) is the best way to come up with a decent solution to things.

The running shoes I got a year and a half ago were pretty expensive, but they have been one of my most useful purchases to date. I go running 2-3 times a week - when I'm feeling down, when I need to make a hard decision, when I'm about to go on a date - and it might not always be a 100% panacea but it makes things a whole damn lot easier.
This site just reinforces my view that people are getting more insane and lazy, and to stick with releasing my own software under GPL...

It won't prevent anyone from "stealing" my code (e.g. incorporating it into their own code without giving any credits nor releasing their modifications to the public), but at least their conscience will make them feel a bit worse, which I believe OccupyGPL is a sign of.

I had my own share of rip offs when I generously released my SQL database server code under a more permissive license and as a consequence for multiple years students ripped it off for their own projects at one university I attended, and pretended they wrote it themselves...
I'm not sure how I would feel about ordering health supplements (or any substance to be applied on my body, to be honest) via IndieGoGo...
Too bad melatonin is illegal in Sweden... (Regulated)
The awesome Haskell community
W3C announces 1 in 20 sentences on the web will be advertising
His wife is working as an international operations manager for Shake Shack. I don't think they rely on handouts.
I suggest donating to addiction treatment centers.
Mayan EDMS v1.1 released
Fuffa App
The poster works for CoreOS...not so magical.
Sweden's Riksbank charging a small fee to safeguard the cash
I believe the next line in this traditional dialogue is “Language is a fluid thing and words are defined by their use!”

Your turn.
Nice. Everybody who programs something that involves calculations with colours in any way should learn some colour science. It's not hard in any way but lot's of stuff are missed in most applications.

One of the most missed feature is the lack of using a linear colourspace when it is necessary, like scaling (especially scaling down) images [1] or calculating physical models (like the Phong model [2]) that implicitly imply a linear colourspace. Iceweasel 35 still doesn't use a linear colourspace for scaling, there is a simple example image showing that [3] (try to zoom out). Last time I checked their SVG engine's Phong model implementation (yes, SVG supports bump maps with custom lighting settings) was broken too. It was a long time ago, I submitted a bug report for it but somehow it was marked as a duplicate for a "fixed" bug so I do not think that it got fixed since then.

[1] http://www.4p8.com/eric.brasseur/gamma.html

[2] http://en.m.wikipedia.org/wiki/Phong_reflection_model

[3] http://www.4p8.com/eric.brasseur/gamma-1.0-or-2.2.png

edit: formatting

edit:
Found the reference renderings of the feDiffuseLighting filter [4]. In my Iceweasel 35 the SVG images are much darker than the prerendered png.

[4] http://www.w3.org/Graphics/SVG/Test/20110816/harness/htmlObj...
"statistics" without any reference to source(s).
I wrote a language once where functions were not allowed to return values. All you could do was pass a continuation that could handle the results of that function. Totally impractical language, but it was fun and did force me to think out of the box.
Tangentially related, a blogpost [1] on statistical approach to baseball teamwork with a dominating player, along with the earlier HN discussion [2].

[1] https://gravityandlevity.wordpress.com/2009/05/28/braesss-pa...

[2] https://news.ycombinator.com/item?id=771099
F.B.I. Director Speaks Out on Race and Police Bias
For North America, this is one of the oldest (if not the oldest) http://en.wikipedia.org/wiki/Hudson%27s_Bay_Company
About the truth
That ;) You Type Can and Will Be Used Against You in a Court of Law
Yes, definitely! SWF obfuscators are a problem because they rely on undocumented behavior and implementation details of the Flash plugin that the Shumway developers must debug and support to maintain compatibility. Obfuscated AS1 code can do strange things like jumping to unaligned SWF addresses in the middle of bytecodes.
For some cases. But static methods can be easier to unit test.

But if you're concerned enough about performance to care about minute bytecode details (intended audience of the article), I think ease of testing is a lower priority.
Ditto for me.

I have created a desktop app and use 'logrus' for logging locally and have created a 'hook' to send logs to the server. Works pretty neat!
Yes. It's a variant of Acid2 face. I don't know where that SWF is from originally.
It's an advert.