skysight-inc/HackerNews huggingface dataset:
very few human-created text documents get anywhere near 2MB.

True, but as a programmer i very often generate and need to view files greater than 2MB.
That conflation doesn't exist very strongly in the article at all imo.

The piece was about signals. Using the language and mimicking the dress of those acting as gatekeepers to send in-group signals that open doors/ease engagements. "Hey, I'm one of you, treat me better."
I've read the same about Russians. They're straightforward, no protocol, no unnecessary smile. Everything expressed is (or should be) genuine. Hence the 'russians are cold' feeling when they meet other cultures. Asian people smiles a lot, they have this mindset where smiling at someone make them happy and help relationships.
Atom is a desktop/native wrapper around browser-like internals. The stuff inside is all just HTML/javascript/css running on node. There are some neat advantages, as well as just seeing how far a web interface for a desktop app can go.

The limit came about because trying to open a 100MB file as an html page (even without all the extra styling and interactive options) will break any browser. It was just a hard problem to solve, having an HTML-based editor deal with so much text at once.
Given my tendency to accumulate useless crap and no emotional bond to the physical media that stores that music - for me the physical discs would be logistics and interior decorational problem rather than any thing of value.

I'm paying spotify to provide me a service to access music. Now I don't need to hoard it and waste my OCD on endlessly minding 'my' collection.

For me the lack of any physical items or files that I would need to administrate is a win.
I don't think google gets design. Everything google that I've interfaced with has been met with some level of cursing and frustration. The other day I was trying to use google maps and almost had a breakdown out of frustration. It wasn't ALWAYS like this, mind you.

I will agree that their stuff is certainly prettier now, but I've found the usability has tanked across the board. I'd rather have something I can use than something that just looks nice.
I agree, in part.

Programmers do want better languages, but they are extremely allergic to friction.

Parts of ES6/7 are relatively low friction thanks to Babel. But even so moving the majority of JS devs to modern JS is a very slow and long process.

Swift may make a dent if Swift-to-JS becomes a thing, but compile-to-JS languages are mostly a failed experiment (see the lack of success of "serious" languages like Dart or the decline of CoffeeScript). The advantage of Babel over other to-JS compilers is that you're just compiling JS to JS and it carries the promise that one day you won't need the compilation step at all.

The "JavaScript is the ASM of the Web" idea, while enticing, has time and again failed to come true. I don't think Swift can succeed where others have failed, even if it would allow iOS developers to write web apps.

At the risk of having to swallow my words, I don't think Swift-in-the-browser poses any risk to JS. I also don't think Swift-on-the-server will have a major impact, although I can imagine iOS-heavy shops wanting to use Swift when developing server APIs for their apps.

I agree that Apple will carry on regardless. Apple is all about controlling their ecosystems, so I wouldn't be surprised if they try to pose Swift as an alternative to JS (much like their unilateral CSS extensions back in the day).

About the video: basically Douglas Crockford (of JSON fame and JSLint infamy) argues that history has proven that developers (as a whole) favour similarity over "betterness" when it comes to the success of programming languages. They're more likely to pick something that is nearly exactly like what they already know than something that requires them to adjust their mental model, even if it is superior in nearly every way. The entire series is worth a watch IMO, and helps appreciating why and how JS got to the point where it is today.
Thing is, people have been saying "Let's see how this Apple thing plays out over the next few years" since 2007 and they keep growing.

"I have yet to hear anyone at all say they have any interest whatsoever on the Apple watch"

A million pre-orders on day one would suggest you might not be representitive here.

The watch definitely interests me - smart notifications on the Garmin 920XT have convinced me of the utility.
I edited (not once) an assembly for AI that was almost 100MB in size in notepad. Took a few minutes to load, but then worked just fine. That was almost ten years back. I can't comprehend how something today can't open a 2MB file.
The question that immediately comes to mind is what happens if the checksum collides?
I quit the tech industry
The Redemption of Oracle’s Mark Hurd
Not necessarily. One of the ideas behind unikernels is very fast boot time, so that you can start a new instance for every tenant. Another idea is reduced complexity...
SourceForge nmap project analysis
Hypertext systems existed long before WWW. It brought nothing new really.

> I don't know what a "container" might be

It's some poor man crap that mimics the IBM mainframes from 1970s.

> I have programmed in Python, Ruby, and Haskell, but if you think nothing has fundamentally changed in the last 30 years, good for you.

Smalltalk, Simula, Lisp, ML, Miranda, all are over 30 years old. Python, Ruby and Haskell did not bring anything fundamentally new.
Cute emoji in commit messages, along with this sort of achievement... OK, seriously, what is the Atom's raison d'être?
No I'm comparing the culture here and there. I'm interested to see if a more technically inclined forum has a different set of morals and work ethics.

She is my wife's sister for reference.

You're probably right about being savvy. Interesting perspective.
Yes, this is a kind of stuff people say when they don't have any proper arguments.
I pay the same amount for useless snacks. They provide no lasting benefit except a few extra calories when needed.

People have different budgets but 120$ a year is not so much to pay for a thing that provides some noticeable value for me.

Spotify is a similar service that provides me something I want at a moments notice.
That's pretty golden, but I like my jokes sourced. Do you have a link for that particular change-log entry?
This is one of the use cases for CasperJS (which in turn relies on PhantomJS)
"Notice how short and easy it is to write."

Yeah, it really shows how LISP is beautiful language and why no one uses it.
To me Material has always felt like it was designed by an algorithm. There's just no trace of any "soul", playfulness or overall "artistry". I know this isn't true and there's many talented artists and designers working in Google but that's just the way I've perceived everything done with Material so far. It doesn't feel like fun, it feels like something that just had to be done to stay with the times.

Another issue is Material's animations. I literally cringe every time I have to use Google Translate on my phone. I can't imagine how annoying it would be to have full OS on your phone done with Material. Those whole element animations are so distracting and they actually make the app feel slower. I know iOS has also a lot of animation but the difference is where it is being applied. Material design applies it to interactions with elements while iOS applies it to transitions. If I have to wait and see how the element I just interacted with animates, it seems unimportant but if animation is used to mask loading time like for example when transferring between app and homescreen on iOS, then it feels natural. If you want to animate interaction elements, it needs to be really, really fast animation just to let you know that yes, I got your tap/click.
If the checksums collide, then the number after the tilde is incremented again, (eg. SOBC84~2.ASP). This time, it won't stop at ~4, so you can go up to ~10 and beyond. The file name will be shortened accordingly to fit the number in (eg. SOBC8~10.ASP). This was tested on Windows 7 x64.
For that money they could offer 52.6 million apple music subscriptions to people…

Oh wait a minute, that's almost ALL spotify users…
> trying to open a 100MB file as an html page (even without all the extra styling and interactive options) will break any browser.

I'd love to test that. Anyone willing to privide an example file? HTML with css perhaps, no js. Should be pretty small when zipped.
The Biggest Annual Gathering of Gypsies and Travellers in Europe
Show HN: Detailed website review for charmingcharlie.com
Questions about "crime" are a bit academic when it comes to international issues like this - it's less confusing to stick to more concrete questions like "would anyone shut down his satellite?"

But to answer the question, I believe a satellite is like a ship in international waters: you're obliged to follow the laws of the country whose flag you carry (and if you don't fly under a national flag you're... not really a criminal so much as an outlaw).

There are international agreements about radio transmission but AFAIK none have the force of international law. There is a long and glorious tradition of "pirate" radio stations transmitting from international waters (at least around Britain), which were often perceived as shaky (and technically illegal to listen to), but never prosecuted.
Why there is no “Optimal” conversion rate
I always enjoy reading these bite-size bits of wisdom, but in the end I think that most lessons are only learned the hard way. Still, many of the ideas and stories here are truly inspirational.
As I found out when I was poor, the $0 alternative is to just sit on the floor.
Success takes time
2MB is 0.025 percent of my ram, I shudder to think how much ram is actually being used by atom... At least the html looks pretty.
Prototype to Polish: Making Games in Chicken Scheme with Hypergiant
I just don't get the appeal for these not-really-native editors.

I bite the bullet and use a Java based IDE because frankly there are very few good ones that aren't Java based and support the languages I use, but if you're just using it as an editor there are plenty of native apps for Mac, Windows and Linux.
Sublime's Monokai Theme with Beautiful Colored JSON
> JavaScript

ECMA-262: around 250 pages, most of which is just water. One day reading. No new concepts are introduced over anything that existed 30 years ago, so it does not require any learning, just knowing where to look for a reference.

> client side frameworks

Who need to learn the libraries? They must have some documentation, I suppose. And again, I really doubt any of those managed to introduce a fundamentally new concept which was not known 30 years ago.

> but haven't monitored the developments of the language and best practices for the last 3 years

The safest assumption is that nothing really changed.

> I like data science

I.e., statistics, a > 100 years old science.
The sound quality on youtube is really bad, the UI is worse and you waste bandwidth on video. It's also missing features such as shuffle play and defining what is in the upcoming queue. It is also a stand alone application so it you don't need to run your web browser.
This.

Not to mention log files which commonly consume megabytes.
I like data science, but it seems mostly PhDs fresh from university or other young people are being hired for that.

Do you have any domain knowledge outside of programming? A data scientist who understands the domain they're dealing with is a rarity and at least in my opinion worth more than someone who knows all the math, but has no grounding in what he's actually trying to analyse.
https://github.com/atom/atom/releases/tag/v0.150.0
Direct Install via Package Control!

1) ⌘ + ⇧ + P - Install Package
2) Type: `Monokai JSON+`

https://packagecontrol.io/packages/Monokai%20JSON+
When Spotify's contract with Sony Music leaked, it emerged that, as well as granting Sony a credit for advertising inventory (i.e. free ad impressions), Spotify must "offer a portion of its available unsold ad inventory to Sony Music for free to allow the label to promote its own artists."[1]

It's not unreasonable to assume that other labels (like Universal) have a similar deal, so those adverts you're seeing may well be unsold ad inventory that has been given to Universal to promote their own artists.

So, I'd question your assumption that Universal is paying for those ads.

1: http://www.theverge.com/2015/5/19/8621581/sony-music-spotify...
Commodity hardware goes obsolete quickly and fails frequently. Satellite-grade hardware is much older and slower than what we use for today's websites. Putting anything into orbit is expensive. Energy is much more expensive in orbit than on the ground. And it's not like the majority of your customers are going to be satellite internet users.
There's vastly more people who write JavaScript than people who write iOS apps in Swift.

I agree that server-side Swift may become a thing for iOS developers writing their own server APIs, but I'm only inclined to believe that it will at best become yet another alternative alongside Node, Ruby, Python and PHP. After all, Swift will only be a logical choice if you're already using Swift as the primary language -- i.e. only if you're writing native iOS apps.

For the "Swift in the browser" narrative it's also important to remember that the web is not just JavaScript. Even if you can abstract away DOM manipulations as in React, you still have to be aware of HTML and CSS and how everything comes together. Replacing JS with Swift only provides another layer of indirection, you still have to be a web developer to write web apps.

Considering how previous attempts to pretend you're not actually writing JS worked out (Ruby developers using CoffeeScript, Java developers using Dart or GWT, Python developers using PyJS, etc) I don't think JS in the browser is going anywhere, no matter how much some people would wish it.
>mining the stuff that solar panels are made of

You mean silicon-oxide a.k.a. sand?
The value isn't in the distribution though, it's in the content. I'd be interested to know the cost of distribution in the pre digital age (when economies of scale are factored in obviously). I don't think it would be that high. If you look at iTunes the price of an album is significantly lower than it was on CD 10 years ago. In the UK it's around £10 digital now and before digital would've been £15-20 on a CD.
How about grad school?
I see, that makes more sense, haven't heard about it before.
> with mocks you're not really interleaving side effects.

Yes, you are. Side effects aren't limited to filesystems, databases, etc. Here's the very first sentence of http://en.wikipedia.org/wiki/Side_effect_(computer_science)

> In computer science, a function or expression is said to have a side effect if, in addition to returning a value, it also modifies some state or has an observable interaction with calling functions or the outside world.

Every time we call a mock, we cause observable changes (ie. we alter the results of any queries made on the mock). Therefore, calling a mock is a side-effect.

The point of mocking is to replace unwanted side-effects with harmless side-effects. The side-effects are still there, mixed in with the logic.

> That's what mocks do. They capture calls and turn them into reified values that can then be manipulated and queried.

But mocks are only used in tests! My application can't ask, say, a FileSystem object for a list of calls which have been made. Only my tests can do that, because they're using a FileSystemMock object instead. My application can't use a FileSystemMock since, by design, it can't do the filesystem manipulation that I need.

Even if I add call-logging to the API of my FileSystem object, it doesn't give me any control, since they've already happened by the time they appear in my queries.

For example, let's say my application ends up with a list of effect values [e1, e2, e3, etc.] and, after performing some logic, it chooses to only return the first one: [e1].

How would mocks help me do this? Firstly, since this is application code rather than test code, I can't use mocks at all. Secondly, even if I could perform a query to get [call1, call2, call3, etc.], there's no way to turn that into [call1]; I can remove the logs of call2, call3, etc. but I can't undo any side-effects they've caused.

To achieve the same outcome as the effect value example, I must alter the control flow of the program such that call2, call3, etc. are never made. That has nothing to do with mocking.

> Except that API is identical to that of whatever effect API we're using.

Exactly! How is an "effect API" not a DSL for describing effects? They're the same thing. Mocks don't
I'd never heard the false attribution of the riddle/enigma/mystery quote. My problem is always getting the order of the terms right. :)
The limit came about because trying to open a 100MB file as an html page (even without all the extra styling and interactive options) will break any browser.

I remember opening HTML files in that size range (they were logs) in IE6 around a decade or more ago, on a machine with <1GB of RAM, and it handled them just fine - there was a noticeable delay, but it wasn't unusable. Even searching for strings worked.
Twitter Streaming Analytics
For someone like me who is borderline Asperger, this is a rather hard game to take part in. I would sometime take it literally and accept their refusal, not realising that this has caused offense. Other similar taarof exchanges were not respected by me, causing further problems.

As you can imagine, this has causes unintended serious problems/misunderstandings in our social circles.
The bacteria might be able to harness some energy from radioactive decay, but it won't speed up that process.
Afaik, chemical processes should have zero effect on the decay rate.
What do you do if the second or third time never come?
The problem with that line of thinking is that her 'free' lifestyle comes from the taxes of others.

That causes a lot of resentment among many people. It's basically an abuse of the welfare system.
"Imagine if designers tried to do everything in PowerPoint for some unknown reason."

A fair percentage of the employees where I work seem to have reached that point already - reports, training material, data for general discussion, GANTT charts with individual symbols that I guess must be manually moved every week. Gah!
No. The core has to be denser than the outside for the guiding to work; if you made a "fiber" like you describe the signal would just travel through the sheath - if it was heading towards the core it would internally reflect to stay within the sheath.
UK Data Breaches Have Increased in Number, Scale and Cost
So, we are getting better with misuse of statistics and media (and probability).
"Who need to learn the libraries? They must have some documentation, I suppose."

I am not saying it would be difficult. But I lack the energy. I have read a lot of documentation in my 30 years of programming.
From the article: "And nothing is more logical than trying to survive."

HN commenters may "feel" like "the author is trying to make it more noble than it is." But in reality, the obvious point of the article is to educate the reader on the "logic" behind decent survival.

I prefer the author's focus on logic to commenters' "feels". Perhaps these vague feels exist because mainstream media tries to make Dickensian stories out of African-American struggles; mawkish sentiment to make the audience "feel" like they care. Inculcating kneejerk expectations.
Assuming you don't need anything complex, it's pretty easy to generate it.

Here's a 100MB HTML file (compressed to 300KB): https://curl.io/get/yt7zbmfq/0eb1564f570236acf1d9f304855a7c7...

As a side note, VIM opens it in an instant /troll
Freelancers Who Want to Stay Busy and Productive
They get X million(?) dollars per year of ad spend from Spotify as part of giving Spotify access to their music library.

They could of course resell the ad space to external advertisers but may prefer to increase the exposure of their artists.
I use Google Play music and have found the discovery algorithms to be astonishingly good. My music taste is very specific and covers only two or three genres, and within those genres I get suggestions that I love perhaps 90% of the time.
Which text editor do you use to open and edit 100+MB files (on Windows, Linux, OSX)? Which text editor can handle a 100GB text file and has a fast search and replace function?

On Windows notepad.exe, wordpad and notepad++ aren't really prepared for that task. Helpful would be an editor that streams in only a small part of a big text file.
Jamky – postdigital drum machine
I have the equivalent of a MSc (in maths). Sometimes I ponder doing a PhD for fun, but it would have to be on the side because otherwise it costs too much money.

Looking into data science, now is actually the first time I keep seeing PhD listed as a requirement for jobs that would interest me.

Maybe one day - atm I don't really have any connections into academia and wouldn't quite know how to find a worthy subject and a willing mentor.

Also, I am 42.
Everybody who dares to compare Taarof to any western behavior has not experienced the sheer intensity of it... It's unlike anything I know and takes a good time to get accustomed to (husband of real grown-up-in-Iran persian wife here...). In many cases, I find that at the end both parties do the opposite of what they wanted due to taarof, so I think this thing is rather difficult for Iranians, too, even if it is deeply ingrained to their minds. Anyhow, Taarof is what makes Iranians so lovely to Westeners in the first place (later you will find out that they, too, are just normal people).
> My most favourite social status indicator is the number of children. It seems to me, that having more than 3 children is an indicator of either the lower class, because the marginal costs of an additional child are mostly paid by the state, or the upper class, because you they can handle the marginal costs on their own again. The middle class often does not want to pay these costs.

I don't get this. How good of an indicator can it be if >3 is both upper and lower? And is the middle class really pinned at 3?
"The problem with internet quotes is that you can't always depend on their accuracy." - Abraham Lincoln, 1864
Peter Thiel Is Invited to the Bilderberg Meeting
On Windows I always used HiEdit http://www.winasm.net/free-small-fast-text-editor.html
Written in asm and can open files including several gigabytes.

Vim does a quite good job too.
They also showed some outside parking places. Security is not a problem inside but what about outside? Do the cameras serve a dual role, is the bike insured against theft?
an editor that streams in only a small part of a big text file

vi does that.
Classifieds scripts comparison
You only need to read the documentation as you go, and only the relevant bits. Not in advance.
They only have 15m paying customers, so if it was a matter of scaling there is a long way to go. Of course they may not be profitable at any scale due to the pricing model of the labels, but thats a different matter.
> and I certainly wouldn’t be able to get access to the NT source code.

I thought that Windows 2000 source leaked. Would seem like an easier path. Though certainly not better (for either the author or a reader).
So was knowledge of Apple's announcement.
Being a Go-Getter Is No Fun
HN: 10 Must Have Productivity Apps
He didnt say he wants coal instead of nucler, he said he wants solar and wind.

How difficult is it for pro-nuclear people to read?

Can you also explain how people die from solar energy?