skysight-inc/HackerNews huggingface dataset:
I think you can do that test by comparing pointers, you just can't subtract them. (The SO answer you link to also points out that comparing and subtracting are different, but I'm not sure that what I said follows.)

In practice, almost all C and C++ programs depend on both implementation-defined and undefined behavior, and, modulo security implications, that's fine as long as you test the program properly after compiling with a new compiler.
And you blame them for that, not Android or Payforit?
Maybe you've turned this feature off in the settings -> videos tab? Some people see it, some people don't. I don't see that option now, but I remember turning it off as soon as Facebook introduced autoplaying videos.
thank you very much for your comment, I really appreciate it. Yes, most of the time the not-technical post got submerged. But I'm quite happy with the feedback I got with my first blog post.
I can't even remember ever being able to seek in a Windows Media file without breaking the entire playback. Never had any problems like that with QuickTime.
Besides the good points made by other commenters, I'll raise you another one: want to trade space? How about cutting out some of that fat modern software comes with? Change the configuration language from XML to JSON and you'll suddenly have space for 10 spellcheckers. Cut out that pointless high-resolution banner and you'll have space for 10 more.
Ha, I think David Byrne has had a pretty successful career by any standard!
Is there really any benefit to this over explicit child process calls? I realize the syntax is shorter, but now you're hiding the fact that you are shelling out.

Overloading require for this purpose is a guaranteed way to break static analysers and module bundlers.
I generally agree with your interpretation, but as the author wrote this later in the piece:

> If I give you a challenge to take home, my expectations are even higher. If you get a week to code something with full access to Google, etc… There’s no excuse for giving me a solution that is anything less than top-notch.

I saw that as an implication that he expected a candidate to be able to recall regex basics from memory.
I'm personally expecting a wave of legislation in 2017, starting with Marijuana Legalization, and continuing on to ratification of the TPP.

Hopefully, basic minimum income is on the table as well; as the economy dries out, and the jobs are all automated (software is eating the world), we're looking at maybe 5-10 years before this needs to be mandatory.
I use one for weather, another one for calendar. But given than Google Now prompts your for both weather information and next meetings, I should probably get rid of them.

There are not a lot of information you need to have always up to date.
Nothing to debate. There isn't. Let's stop wasting brainpower on this. Too much empty and meaningless philosophical discussion has unfortunately been revived by recent advanced in ML/AI.

This is sad. Especially because I believe philosophy could have a meaningful contribution to the progress of human understanding. It was a "science of interfaces" in the beginning, and now with more and more specialization we also end up with more and more "interfaces" between sub-sub-fields until 90% of everything will be "an interface between something and something else". Too bad we'll have to re-invent it under a different name, and probably disguise it as some sub-sub-field of engineering, to make sure we sever the the connection with all people willing to waste everyone's time with empty-talk and empty-think...
Those first Compaq portables were bullet proof.

The IBM luggables were huge and unreliable. They had 2 full height 5 1/4 inch floppy drives, no hard drive, a 4.5MHz 8086, and something like an 8 inch amber screen that you could barely read. Basically, IBM put a bunch of parts they didn't know what to do with into a product and tried to sell it. The only way they could really sell them was to captive audiences like students, like at some engineering schools.
What is a meme band?

Sure, they were never huge and perhaps never that good, despite the fact Johnny Ramone makes many top N guitarists lists and the band is consistently ranked top N for both music and influence.

The 100 people who bought their albums created 100 bands. The influence of the Ramones can't be overstated.
From what I can see from keeping half an eye on the Debian/kFreeBSD Devel list[1], work is progressing nicely.

It should be noted that a) FreeBSD is doing work to keep software working without SystemD (an obvious point, I know, but it might not be obvious that this means that work also benefits Debian) - so long as we don't see any crazy dependency on SystemD from Apt or the installer itself (hopefully unlikely) - there shouldn't be any issues. b) Debian/GNU Linux still supports more than one init-system[2] -- at least for now.

While the long fingers of SystemD reaches for more and more of Linux, as long as developers are supporting other systems at all, there should be a way forward for distributions that doesn't want to incorporate SystemD. So this includes stuff like native Windows support, building on OS X, and packaging for the various BSDs -- all that work that goes into the big packages should continue to benefit Linux users that want to avoid SystemD for one reason or another.

> I was excited to try Debian/kFreeBSD around 2012ish? but it was kind of painful -- a lot of important FreeBSD userland tools weren't available in packages

As far as I know, this should've improved quite a bit. The biggest bar for entry (last I checked) was that the nightly installer builds might not work out of the box (one possible workaround would be to install Wheezy/7.0 and then dist-upgrade).

To be clear, I've yet to play with Debian/kFreeBSD, so this mostly from impressions from the list (and I'm not quite caught up with the latest). AFAIK the installer should now support installing on zfs rootfs, for example.

[1] https://lists.debian.org/debian-bsd/

[2] https://wiki.debian.org/systemd#Installing_without_systemd
To be honest, I'd rather just use YeSQL (or any SQL template engine) to keep my SQL separate from my code, keep everything looking clean and have no impedance mismatch.
Go for instance, with the use of «interface» everywhere you need generics.
Libraries for making D3 scrollers:

https://github.com/1wheel/graph-scroll

https://github.com/WSJ/scroll-watcher

And the classic blog post:

http://vallandingham.me/scroller.html
You can test equality with a given element. But if you want to test "does this pointer to any element of that array" you can't. As this test would be:

bool b = ptr - array_start < array_end - array_start

But that first subtraction is undefined if ptr does not point to an element between start and end.

Not that this is exactly a common operation or anything. But the fact that a seemingly simple and obvious test is undefined behavior is crazy imo.
> I should mention that reading lots of "poor books" is also part of literacy

Thanks for mentioning that. I've been looking for a reason to read "poor books" for a long time (much to the frustration of people around me, who want me to "just read it, who cares"), and this makes sense to me.

(I'm not starstruck in the slightest, by the way...)
You can actually. If you want more out of the box tools to migrate from Oracle, then look at EnterpriseDB.
They'd have to either strip audio out of the video stream on the fly, which will probably force them to use less "dumb" CDNs and incur a processing time cost (which, like most today's on-line businesses, they happily offload to their users now), or they'd have to keep two copies of the same video on their servers, which would make it cost 2x "a bazillions of dollars".
So Google does not serve the ads from its own servers? Google just runs the programmatic auction and then lets the winning advertiser point to whatever slow, non-HTTPS ad server they like? I guess once Google gets paid by the auction winner, they don't care what happens next with the served ad. And serving it from their own servers would just be an extra cost.
Thanks for the reminder, I know I'll need to keep this in mind if I make the switch back. I'm fairly certain I'll stay with HTTPS though, since the situation will only improve. It also helps to encourage the ad networks to make the change, and encourages other developers to use HTTPS on their projects as well.
> I would never lose a week salary for some fancy interview that takes a week

I'd actually love to do that. The company I work for currently presented itself in a very professional light and all the questions I had were answered promptly and professionally. No red flags.

Only when I started work, I noticed immediately their code base contained unfixed bugs, tests were not up to date and the databases (so called data-warehouses) were a mess. Unfortunately, the only real good developer was on the interview and answered my questions.

During a one-week stint, I'd have discovered enough bad practices that I would have declined the job.
I absolutely hate the floating navbar trend.

This thing is cancer for user experience.

While on the one hand, we have the "Medium-ification" of websites where some remove the sidebar completely, increase the font size and make text easy to read, the other sites are doing crap like this.
Framework for Keyword-Driven Test, 0.0.1 released
Markdown Notes – Markdown editor, the best or nothing
True, it's unavoidable some humans are always going to be wrong. But, in the same vein as earlier, we can't reason that because (some) humans don't care about what is true, humans should continue to not care about what is true.

As far as others suggesting you resolve inconsistencies and hold logically consistent conclusions: yes, to arrive at Truth by examining what logically follows from true and sound reasoning you are going to have to first adopt the 'dependency' of Western logic. But, indeed, you only need do this if you care to know Truth. Many humans reject the use of Western logic (eg, the New Age community) and prefer vague, unexamined existence but I agree this ultimately is each individual's prerogative.

Your perspective seems to be "humans often hold untenable positions and Earth has not yet been destroyed because of this (or apparently impacted in any significant way from it) therefore I may (without impact) hold untenable positions", a position I and your Christian interlocutors I think unsurprisingly reject. My most sincere advice to you and to all everywhere is found in Rousseau's echo of Juvenal's motto "Vitam impendre vero"—you must stake your life on Truth.

Re: your ability to be a romantic you'll note that the conclusion in Vladimir Solovyov's truncated syllogism "Man is descended from the apes; therefore we must love one another" does not follow. Materialists can practice what looks like romance but cannot be romantics in any meaningful sense of the word.
Thanks. Not using this one.
Also worth noting that content creators have caught on to this already and are tailoring videos be without sound. There's defiantly a facebook style of video emerging that would look out of place on more traditional video hosts.
Wow, I'm really blown away at how accurate this is, particularly how well it was able to discern between nudity and covered nudity.

Only odd thing I noticed was that male torsos were flagged for nudity. Is that intentional?
Good comment. However for future readers, I wish to point out that "ARM are Intel's lunch" is probably instead "ARM ate Intel's lunch".

That might save some confusion :)
This is the classic "I want it to be true, therefore it's true" non-argument. It should be obvious to anyone with some knowledge of history and modern homo sapiens cultures that there is no such thing as "Moral Objectivity". Morality (as in, what is considered culturally acceptable) varies greatly across time, cultures and individuals. Morals that seem more universal than others may very well be biologically hardwired or selected by virtue of helping the cultures who carry them prosper (not unlike genes).
Is it really a good idea to name your open source module after a trademarked name ?
Xeon is the brand name for Intel's line of server and workstation processors and they dont strike me as the kind of firm that would take co-opting of a brand name lightly.
SEO Hunts  Websolution's
I reckon this is also true for Instagram
Foucault pendulum
Google’s Project Jacquard and Levi’s smart clothes jean jacket collaboration
Java peopel....
I realised this is why I've been enjoying shows with subtitles recently (some anime titles on netflix) because it forces you to watch the show without the constant phone checking.
It's hard to tell if a book is "poor" until it's read. I just meant that "reading lots of books and 'taking percentages' " is a good approach. The ones that are not so good still help a bit.
It's interesting to me that you say that.

Even two decades ago, the idea of a "solopreneur" was fantastical. You needed people to run a business.

Today, you have bloggers, information entrepreneurs and affiliate marketers making enough money to rival small businesses. And they often run without any employees.

Similarly, you have the idea of the solo artist today who writes his own songs, makes his own music, and even shoots his own music videos, then releases them on his own channel and does his own marketing (Todd Terje comes to mind).

This is possible because of the tools made available to solo artists today, which are, surprisingly, similar to the tools used by solopreneurs (social media marketing tools, access to freelancers, etc.)
To give you some hard numbers... in my last full year in Silicon Valley I made $383K in total compensation. I paid $112K in federal income tax and $43K in California state tax.

The mandatory pension scheme in the United States, which is called Social Security, tops out at about $5K. (It's not a major tax for high earners.) I also paid $6K in Medicare tax. (I think my employer paid a matching amount for both of these, but I'm not 100% sure.)

So my take home that year was about $260, so I paid about 33% overall in taxes.

Both Federal and California tax rates have increased since I left, so I might have paid a little more if I had an identical income this year.
Quicktime VR found its niche later on. There were camera attachments for 360 lens "simulations" where you could shoot a scene and have it in QTVR. There were postcards (physical with CDs) with those.

I remember this though https://vimeo.com/97806117 which was more of a VR. We even had stereo glasses on workstations. There was also IO Glasses, later on, for PCs. https://www.youtube.com/watch?v=YbNUIwi5F6g This was more like VR, not like QTVR. It gave you a dizzy spell and/or a headache after 15 minutes or so. It was worth it when playing Dark Forces with it though.

edit: I just remembered. IO Glasses cost somewhere about 1600 Deutsche Mark (around 800 Euros) and thing sucked, but not by much. I might still have them somewhere!
Yep, the last few movie trailers I've seen on there have been subtitled. I assumed this was the reason.
If this sees us getting more and better quality subs for video content then I'm all for it.
> I don't understand the suggestion for regexes as the correct and optimal way to detect palindromes

That made me pause as well, but he actually doesn't say that. He says a "many will use RegEx as a part of the solution" - typically to strip whitespace and punctuation signs - something like /\W/.
Alan, have you actually read all those books cover-to-cover ?

In general how do you read ? Do you finish a book even if you don't like the style or subject matter ?

Do you read sequentially - one book at a time cover to cover - or do you read several books in parallel ?

Any tips/tricks on how to choose the next book ?

Do you continue going deeper into the subject matter of the last book or do you jump to a completely different domain ?
> It's worth it to try to understand what "interesting people" have thought -- it provides context for one's own thinking.

This is eventually the main reason why I mentioned Bateson's work in particular (besides the depth and orthogonality of his ideas).

I've read Watzlawick's work on interaction and pragmatics of communication before I've read Bateson's. I found Watzlawick's ideas easier to grasp (at least, I'm under that illusion), clearly presented with e.g. axioms. Then I read Bateson's work, and got this strange feeling of dwelling around the same underlying concepts, but without a clear understanding of his main argument.

I've read "Steps to an Ecology of Mind" quite a few times (I still re-read some chapters every once in a while) and always felt that a) I'm reading new material; and b) I'm not getting it all. Yet, I always get something new, and this is an extremely interesting insight on how my own perception changes over time.

Of course, this happens with other books and authors. Still, personally, I have a clear feeling that not to the same extent as it happens with Bateson's ideas. It's my own mirror, so to speak.
How Much Does It Cost to Build MVP for Web App
Marvin Minsky: "A lot of philosophy is just bad science ..."
Some motorola 68000 machines did automatically mask out some of the most significant bits of any pointers. This means that two pointers to the same object can have different representation. That did happen in practice as programmers used the highest bits to stuff metadata and relied on the automatic masking. That made things interesting when the platform wanted to increase the address space. And preventing this sort of backward compatiblity issue is the reason why AMD64 will trap if the unused bits of the address space are not all 1 or 0.

Bottom line, the pointer to integer conversion should be specified by your platform ABI. Read it, then either refuse to support your program on platforms with insane ABIs or have a fallback path for them.
Super annoying and sleezy of Facebook, but basically they are doing what Google already does with Analytics. Completely unsurprising.

Anyways, as a technically competent, privacy aware user, the first thing I do on a new installation of Chrome or Firefox is disable third-party cookies, install uBlock Origin and subscribe to a handful of third-party filter lists. I also do this for my friends and family, though I am more conservative on their installations.
Building End to End Machine Learning Applications with Spark ML
This is similar to an argument made in Cal Newport's book Deep Focus. He also goes on to argue that since we are living in an attention-deficit economy in a time when it is needed most, learning to dig out these distractions is becoming more invaluable. Great book if anyone is interested in becoming more focused and less distracted like this article suggests.
Auto-play: what a waste of bandwidth.
How Google Code Search Worked (2012)
Known as "capture filters" in Wireshark and as easy as: "host www.afterthedeadline.com".
How the Netherlands Is Trying to Make Sure Its Citizens Don't Become Terrorists
The whole world....

Denying facts doesn't make you look intelligent.
As someone that was a student until last year, the real hard problem is that we have teachers that want this type of comments.
Having different standards for different teachers the same day is a lot of context switching...

A better idea would be to get a standard code style for all course...
Unless Facebook is actively trying to slant the number of video views, auto-play should just be disabled. It really doesn't even need to be an option to turn it back on, because I doubt that many would want to.
If I understand you right, child process is made by utility that check your local version and laters to notify your for updates. It should only be called once an hour
A tidbit that I found interesting recently is that their video stream is different from the audio stream source.

Kind of a no-brainer optimization if you think about it.
I fondly remember my Star Trek CD-ROM that would let you explore the TNG Enterprise using QuickTime Vr

http://memory-alpha.wikia.com/wiki/Star_Trek:_The_Next_Gener...

FWIW the article claims that QuickTime VR was unveiled in 1995, but it was actually 1994.
KDE is better than Aqua. One needs Darwin for drivers and other subsystems. You can even run cocotron on this.
ASUS' ZenBook 3 is thinner, lighter and faster than the MacBook
A decent free alternative to Charles is https://mitmproxy.org/
Once again I have checked devpressed: HTTP 502. First thought was "oh, HN effect".
But... This was not a story on the front page, rather a comment (although was at the top for some time), yet we managed to DDoS them. This raises an eyebrow or two for me: maybe the percentage of people suffering from any degree of these disorders may be way higher than we thought?
Enjoyed reading through this, nice work!
I'm mostly using seaborn (https://web.stanford.edu/~mwaskom/software/seaborn/) to wrap matplotlib graphs but great to see a direct alternative into the matplotlib library.
Given how many sites fail as soon as I start entering an "ä" in the name field (even on websites marketed internationally) I'd prefer if people would. At least the very basics or else you get a bunch of people that won't think about those issues when developing.
Conway's Game of Life on Lua
Brain Maps to Be Prepared for Utilization in AI Development
Crowdfund Your Home – Airbnb and Kickstarter
What about

array_start <= ptr && ptr < array_end // or `<=` if the upper bound is inclusive

Edit: well, for one it may not be thread safe, since it's not atomic, but neither is your example AFAIK.
I wonder if the choices are linear as they look. Why not a future where if the internet becomes an increasingly totalitarian medium, we're able to just make it a small, optional part of our lives?

If the state of freedom in the entire world depends on a single medium, and we're unable to change that with even ten years of warning, we've got some (well, some more) serious problems.
>>moral code tends to be derived from…

No one is foolish enough to deny that various societies develop moral codes, generally based on their experiences (eg, pain). The question is whether moral statements (eg, "Humans should not murder") are objective and Real (they refer to some objective Moral Fact) or whether this was just a delusion we invented and used to survive.

>>but the best we can conclude, morality can be derived from reason and emotion

No. This is the entire Is-Ought argument. Saying "Hume is wrong" does not refute Hume. You would need to give a reason.

>>looking at life more in a thermodynamic fashion

Materialism cannot point to a source of objective moral values. Period.

>>But to me, saying…is false.

As expected, that's not a refutation.

>>That's one of the reasons I became a christian early on

In my opinion, based on your given conceptions of metaethics, rather than dismiss this avenue of inquiry with the reasoning "it made some sort of logical sense [but not enough]" you could likely have explored the concept further.
Should have reported it and got your 10k.fb needs to add a flag not to send typing message if no msg in last 30 minutes.
It might be nice to use the front side for pages 1 to n/2, then print the remaining pages on the back side of the sheet, in reverse sheet order.

eg: (1, 8), (2, 7), (3, 6), (4, 5)

This has the downside that the middle consecutive pages are on the same sheet, but the upside that you only have to flip the stack once, and never have to flip any individual sheets. So it's nicer to leaf through and you can jump ahead fairly easily.

It's almost completely compatible with the algorithms for single page printing, with the small addition of one stack flip in the middle(No memorisation of state is needed, it will be very evident that the flip is required as you will see the first page again!).
Now that ever more sites are transitioning to HTML5 videos, we need easy-to-use and ubiquitous browser options or addons to disable the autoplay of such videos as well as GIFs. Not everyone everywhere is on cheap broadband or fiber. Am rather surprised none of the browser vendors nor any addon maker has implemented such a functionality yet, although I'm most likely overlooking something here.