skysight-inc/HackerNews huggingface dataset:
Avoiding bugs is the default in software development in any language, no? If you have pointer DSL that can lead to various bugs, replacing it with a more complex pointer DSL is not a good way to avoid bugs. And I don't think C++ 'smart pointers' and other crap are very simple (relative to C pointers) or much less error-prone. That's just my opinion though.
If it has memory safety issues then it's not written by experts :)
The drug war. #1 culprit.
Why are people using a chat app like a wiki to begin with
The text refers to a current test-case giving three charges, two of selling boxes "adapted for the purpose of enabling or facilitating the circumvention of effective technological measures" and one of "advertising a product to circumvent technological measures" [1].

It looks like the law stems from European Directive 2001/29/EC (2001) [2][3]. That directive isn't law in itself, it's an instruction for the EU member states to implement law to deliver that directive (in fact, the UK were initially convicted of failing to implement it by the 2002 deadline).

At a guess, the relevant law is the Copyright, Designs and Patents Act 1988, Section 24 [4]:

Secondary infringement: providing means for making infringing copies.
(1)Copyright in a work is infringed by a person who, without the licence of the copyright owner—
(a) makes,
(b) imports into the United Kingdom,
(c) possesses in the course of a business, or
(d) sells or lets for hire, or offers or exposes for sale or hire,
an article specifically designed or adapted for making copies of that work, knowing or having reason to believe that it is to be used to make infringing copies.

[1] http://www.gazettelive.co.uk/news/teesside-news/kodi-box-cou...

[2] http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A6...

[3] http://www.out-law.com/page-333

[4] http://www.legislation.gov.uk/ukpga/1988/48/section/24
Welp, time for Facebook, Twitter, et al. to intentionally make themselves inaccessible from locations/networks coincident with US ports of entry.

"To protect our produ^H^H^H^H^Hcustomers' privacy, we have decided to block access to all accounts that we can ascertain within reasonable certainty to be temporarily crossing an international border. We apologize for the inconvenience, and service will be restored once you get further away from the port of entry, or as soon as those in charge of US customs decide to stop being asshats."
This also causes the most infuriating issue I've ever had with a controller and Windows 10. The "official" driver from the manufacturer hasn't been updated since a final revision in like Windows 7. Windows 10 offers a basic driver, but it's totally broken and the Windows driver constantly updates and overrides the old one. Anytime I want to play a game with this controller, I have to uninstall from device manager and install the old driver but ignore the restart. It works, for some reason, but as soon as the machine gets restarted, the driver is replaced and I get the yellow exclamation point in Device Manager again. Not a great workaround, but I'm glad it works for most things.
Get Lost in This New-And-Improved Map of America's Megaregions
Mexican billionaire Carlos Slim has a similar plan - he says we should all work just three 11 hour days per week (and change the retirement age to 75).

I think that, at least for jobs that require significant context-building spinup time at the beginning of a work period before you can start producing useful work, this is a great idea.
Facebook is really freaking me out. They broke every privacy law and still they are not procecuted ?

They spy, hide, block peoples accounts, but still ... STILL people want to use fb ?
I would have this dream that I could access the Lisp REPL that controlled my dream, but I would accidentally use the loop macro wrong and I'd be paralyzed in front of my computer for the rest of my dream, unable to kill the process.

Actually terrifying thinking about it again. Made me very wary of live programming XD
This really does look great.

Edit: since I haven't been running Keybase for the past 2 weeks, I missed the fact that they disabled continuous background proof verification due to my concerns: https://github.com/keybase/keybase-issues/issues/2782#issuec...

Good on them! The rest of this comment is not actually applicable anymore and you should give Keybase Chat a try :)

Original comment:

-----------------

My biggest concern with it, however, is that the Keybase client is now frequently verifying all my contacts' proofs. Many of these verifications are for personal websites and are done over port 80 or involve DNS lookups that my contacts control.

This leaks a great deal of metadata over the network about who my contacts are, and makes it easy for a hostile network to determine who I am if I'm running the Keybase app.

I reported this on GitHub when I noticed it and have unfortunately not been regularly running the Keybase app since: https://github.com/keybase/keybase-issues/issues/2782

I hope they decide on some sort of fix for this. They could at least not do verifications over insecure connections and arbitrary 3rd party DNS lookups without my explicit approval.
Brilliant launches an integrated ui for smart home control
I'm not sure why you think the extraordinary increase in world wide prosperity, general living conditions, health, and access to information that the last 40 years has ushered in is a "failed experiment in social democracy".

And if there's an explosion in single parenthood due to woman having more choice, because of these benefits - well maybe their partners should think about that a little.
all the time! I dreamt I was in a builder factory pattern and had a full on battle with team create(). I was on team build()
This is one of my worries. I had a rarely-used FB account for a few years, but deleted it when I realized the privacy concerns.

No FB, twitter, IG, Gmail, LinkedIn, etc. Nothing. You can't find me through a Google search except for my public-facing professional certifications (which are required to be public-facing).

I wonder if one day this will get me on a list as some kind of "lone wolf" even though I'm quite social (in the in-person sense).
Not only that - but a "thieving raccoon" helps reinforce the mistaken belief that crypto is only for criminals. While I don't think that had a "serious" effect or that people would read so heavily into a logo - it never sat well with me. While I didn't notice the logo change until the GP post pointed it out, I like the new one better.
The crime rates and the sociopolitical climate should be taken into account as well. I think you made a good decision.
Ignoring the straw man, can you explain how c++98 code provides a counterexample for anything in modern c++?
I would think that doing this on a small level would eat at your profits rather quick. You have your broker fees which could be as high as $10. If you are only spending $100 to $200 you limit the number of shares you could buy, which also limits your profits. Let's assume a $10/share stock and you spend $200. You have your buy and sell commissions from the broker, which we could give a conservative estimate at $10 total. Right now you're at $220 and have 20 shares. You would have to have a $0.11 price swing in order to make a profit, and that profit is only $4. That assumes that the trade actually goes your way.

It seems to me that you are not going to make much money if you are trading that little amount of money daily.
Try this link: https://apply.ycombinator.com/organizations/new
Skin+Cancer+Can+Be+Detected+Just+By+Using+Your+Smartphone
#2 is common practice in academic papers. I think this is bleed-over from the fact that many of the bigger functional languages come from academia.
Yes we are hiring! https://slack.com/jobs/273177/senior-software-engineer-searc...
Hey, at least let me have a few moments to bask in the glory!

Actually, I've been working on the draft of part 2 when my Medium notification bar started going crazy - which is how I knew that something strange happened (the strange thing being an HN frontpage, apparently).

So, no worries, part 2 is coming soon (TM).
The ones who are easiest to help are the ones who generally need it the least.
Watch Cruise’s Self-Driving Bolt EV Navigate Smoothly to SF’s Dolores Park
This is so dumb. You arent going to understand or get a job in machine learning unless you have at least a masters in the subject. Its extremely difficult and complex. I see tons of college students taking machine learning classes in anticipation of becoming a dinosaur amd none of them could get a machine learning job afterwards. Programming has always been pretty easy. The ai revolution wont be like the home computer revolution. Its going to be led by a relatively small group of academics, scientists and engineers working in prestigious research positions.
It's a pep talk. Nothing wrong with that, IMO.
MetalSL is basically a slightly stripped-down C++ with vector math datatypes and some new annotation keywords, but I think it basically requires a complete C++ compiler (Apple's MetalSL compiler is based on LLVM I think). SPIR-V is a bytecode format with the idea that several shader languages could be compiled into SPIR-V (hopefully also MetalSL).
Found the relevant part of the post:

How Keybase solves this problem:

End-to-end encrypt all messages,
but only "exploding messages" (coming soon) will have FS.
Therefore, your history will survive, encrypted, except for the messages you choose.
Oldest computer program still in use
No, you're not going to be a "dinosaur". 99% of extremely well compensated software engineering jobs do not involve ML. Using top large companies as a proxy of what things are going to be like in the world at large 3 years from now, maybe one in 200-300 engineers does anything in any way related to ML there. And that's a generous estimate. You do need to know what it is, roughly, but there's no need to drop everything you're doing and switch careers.
You say his politics are irrelevant. I disagree: the only person in the world who probably has a complete picture of what this system is meant to be is Yarvin, and there are troubling indications that his political principles influence the design. See, for instance:

http://web.archive.org/web/20131014210123/http://www.urbit.o...

But that's neither here nor there, because this thread hasn't really centered on his odious politics, but rather on the dubiousness of its design and the steps the team has taken to conceal the basic details of the design behind a wall of obfuscation. We generally don't like distributed systems that go out of their way to make themselves harder to reason about.

I'd further add that a lot of basic support Urbit receives on places like HN seems premised on the idea that there's something intrinsically novel about it. But that's not so: overlay networks are a relatively well-trodden topic in CS, including overlays based on what we used to call "mobile code", including functional mobile code overlay networks.

I'd like to see more discussion of decentralized overlay networks, including compute overlays, on HN. I find it unfortunate that all those discussions for the past year or so have more or less been captured by this goofy system.
Does Trump Actually Want to Succeed?
You could dig a director's pit underneath the camera!
I would agree with you if the author did not explicitly say what he meant, and assumed the reader knew what he meant, but the author did not make any such assumption.

In order to quell the issue of "functional" having many definitions, the author chose one, and wrote about it. I don't see your alternative, which seems to be "accept that functional means something different and write about that", as one that is worthwhile to pursue.
I don't think filling out visa applications, in general, is anyone's job (unless maybe you're a personal assistant for someone who travels internationally a lot). It's not about what is and is not your job. If that's what a country requires to allow you entry, and you want to enter, that's what you do.
I also used to think those questions are idiotic, but maybe there is a point to them. Now many people are worrying like, all these people coming from a different culture, do they understand our culture?

So maybe these questions serve as a simple reminder - don't do these things.

Actually, I think it would be better to ask about U.S. Bill of Rights, but hopefully you get my point.
I mean, existence itself is arbitrary, and that's going to frustrate the rational so long as questions exist.
Just to throw my two cents in here: my favorite technical book is the fairly recent Go Programming Language by Donovan & Kernighan (www.gopl.io).

It's very readable and has _excellent_ exercises to do as you work through the book.
I would love to have a linux curses client for encrypted chat. Something that irssi can connect to, perhaps?
After reading it over a couple times I realize it may read that way. Just a (terse) synopsis of some of my thoughts on the state and future of UI "programming"
TardyTimer App – Say Goodbye to Tardys
Or you could pay a surtax on imports that aren't built with the environmental standards of the native country, as we are seeing with attempts for a carbon tax.
Pinterest Growth Hacks
DoS's can be limited by isolating the regular expression from the rest of the program and limiting its resource utilisation.
Why do you care that those black boxes are implemented in Java?
My female Canadian friend was interrogated in a Canadian airport by an American border agent because she made the unfortunate mistake of having a connecting flight in the States on the way to visit me in Mexico.

The agent asked her if she was a "good girl" and then demanded access to her phone's Facebook Messenger to see if she'd been offering or planning sex services.

She of course complied. What else are you going to do? Cancel your plans and stay home during your vacation leave?

It's a great job to have if you're a creep and/or resent women.
Ambitious Chan Zuckerberg Initiative to combat disease is about to be tested
Is This the Underground Everest?
"Most 'office' jobs can be worked remotely."

This isn't quite right. Most 'office' jobs could be performed remotely is true. You can't say they can be worked remotely because most companies don't want to deal with remote workers.
I've seen this argument before, but I don't really buy it. Why did they subtitle their book "elements of reusable object oriented software" if they didn't intend to present "patterns" as "templates." (After all, "reusable" is a good thing, right? So if you follow these patterns your code will be reusable, hence, good.) Why did they use the word "pattern" at all? Why not name the book "Software Structures: observations about software out in the wild?"

In any event, it doesn't really matter what the original intent of the GoF book is because in practice, people treat design patterns as, well, what the word "pattern" would suggest: "something designed or used as a model for making things <a dressmaker's pattern>".

This is further indicated by the term "anti-pattern," which basically means, "something you should avoid." If you should avoid the "anti" then it stands to reason you should follow the "pattern."

For even more demonstrations of this fact, look at subsequent design patterns book, like one by the Head First. These explicitly treat patterns as improvements to be made over some previous attempt at a coding problem. Or hell, check out this description from https://sourcemaking.com/design_patterns -- "Design patterns can speed up the development process by providing tested, proven development paradigms." " Reusing design patterns helps to prevent subtle issues that can cause major problems and improves code readability for coders and architects familiar with the patterns."

Whether it was the original intent of the GoF or not, design patterns are mostly perceived to be _good things_ that should be adhered to.

Now, as many have suggested, the wisdom of reaching for design patterns has been increasingly viewed with skepticism, and rightly so. It'll be interesting to see over time how much weight they carry and where the equilibrium lies. My guess is that certain patterns will essentially fade from relevance (if your language has first class methods, do you really need Strategy, for example?) While some (adapter, facade) remain useful ways of handling various problems.
If someone is eating and playing fuzzball then I'm not sure I would count that as working overtime. In tech companies in particular at work does not necessarily equate to working.
Yes.

I mean, I did OOP in some languages, because, well, they had object like constructs. For example VBA had all these Excel tables modeled as objects you could access and modify via code.

Then there was C++ and Java with their factories and factory factories and whatnot.

And lastly the examples of cars that have wheels and animals that inherited stuff etc. pp.

So I had different concepts in my mind, all being objects.

On the one hand the examples of university.

On the other hand the tangible Excel table of VBA that I understood. "At table is an object with some methods and properties"

And then the "real programmer stuff" like a controller, a presenter, a singleton, a emitter... Things that were really abstract to me, because they didn't map directly to tangible things I saw in the software as a user.

Design patterns somehow made this more easy to grasp.

But I first started to understand the whole thing after building my own API in PHP (started after it got classes haha) that had module- (controllers), protocol- (views) and data-objects (models).
More good reasons not to bother having kids. Just too much hassle; our employers and governments are doing everything they can to make raising kids a miserable chore, so why bother?
Faire enough, so prepare for an history lesson. :)

Mesa/Cedar was created at Xerox PARC, as an extension of the Xerox Star 8010 system, which was programmed in Mesa, the language that inspired Niklaus Wirth to create Modula-2.

http://www.digibarn.com/collections/systems/xerox-8010/

https://www.youtube.com/watch?v=Cn4vC80Pv6Q

https://www.youtube.com/watch?v=ODZBL80JPqw
Mesa evolved to Mesa/Cedar, which allowed for automatic memory management via reference counting and a tracing collector for the cycles.

https://archive.org/details/bitsavers_xeroxparcteCedarProgra...

The environment had a REPL and debugger inspired by the Smalltalk and Lisp systems at Xerox.

Think of Swift Playgrounds, kind of.

This system inspired Niklaus Wirth to create Oberon, which you can read about in his book, about how the OS was built.

http://www.ethoberon.ethz.ch/books.html

In 2013, Niklaus Wirth revised the language and updated the book for a FPGA based computer.

http://people.inf.ethz.ch/wirth/ProjectOberon/index.html

There were several generations of the Oberon OS, the last one before it stop being relevant, the Bluebottle OS coded in Active Oberon variant.

http://www.progtools.org/article.php?name=oberon&section=com...

It had a strange mix of UI, using a mix of text and mouse input. Basically all applications were dynamic modules and the procedures/functions with a special signature could be used from the UI.

So you could select text or objects from applications, and invoke such operations on the selection.

The Oberon System 3 and Oberon V4 with their Gadgets framework were the best experience, before AOS was designed.

Most relevant OS in Modula-3 was SPIN OS,

http://www-spin.cs.washington.edu/external/overview.html

There were a few others, this is just a small sample.
Came here to promote RegexBuddy myself. It's the one thing I truly miss in my transition from Windows to Mac. I run it in WineBottler[1] now and it works well enough but I'd pay good money for a native Mac version.

1: http://jdon.at/HpTd+
Its not idiotic, its procedural. In the future, if they want to get you, they can find something in that form.. like using a prostitute and throw the book at you.
Because codifying, organizing, and keeping up-to-date general knowledge on a wiki is hard work, whereas banging out a quick answer to a specific question on slack is comparatively easy.

Which maybe should be a challenge to anybody looking to build the next generation of knowledge repositories.
Anyone know if they've implemented DMVPN yet?

edit: sounds like nope; only progress is a high-level description of how WireGuard might provide equivalent functionality: https://lists.zx2c4.com/pipermail/wireguard/2016-December/00...
I am just a normal programmer, not a spy. Visa application is acceptable (I have done that in the past), forging social media accounts is not (I in fact I do have FB account but God knows where the password is).
Please report this incident to US Customs and Border Patrol, as well as DHS.

https://www.cbp.gov/contact

https://www.dhs.gov/department-white-pages

EDIT: Sorry to piggyback.

For your own security/privacy when traveling (I'm sorry, as a US citizen), bring a dumb phone just for calling, and wipe your iPhone (if its an iPhone) before transiting a customs checkpoint. Restore from iCloud when you're safely out of the airport. If asked what the dumb phone is for, "I break my iPhone all the time."
I think he's talking about unpaid overtime.
My friend wrote a great article for non-technical startup founders
The RMS Titanic?
I've had the same issue with my TV card. This troubleshooter fixed it for me https://support.microsoft.com/en-us/help/3073930/how-to-temp...
This is fantastic! I've been playing with it for a bit, and I'm loving it.

Question: since (encrypted) chat history is stored on keybase servers, does my chat history count against my KBFS quota? If so, how do I clear it out? If not, how do you mitigate against someone building a pseudo-FS on top of chat messages for free unlimited storage?
New in Python: Formatted string literals
A little old in the tooth i'd imagine.

In some ways, but not others - that's the advantage of something that teaches computer science fundamentals, as much of what is in there is timeless. In many ways it's never been matched (in that particular domain).

I suppose the programming environment does make it a bit less accessible over time.
Thanks but he offered to do it free for the exposure and design credit :(
I agree that "deep zooming" is desirable. Looks like Micrio doesn't support the International Image Interoperability Framework [0], something I think a museum would be interested in. Oh, and I hate that http://micr.io uses a fullscreen background image that highjacks the scroll wheel.

[0] https://en.wikipedia.org/wiki/International_Image_Interopera...
> It is theft of service. Same as if you went in for a haircut, and didn't pay for it. You just stole the service provider's time.

What does matter is marginal cost of providing service. In this case it is ZERO. So no, it is not stealing. Nowhere close.
But that doesn't answer my question. If "Piracy is about wanting stuff for free. Nothing more and nothing less", then why would someone who can get it for free choose not to?
Nonsense. It also depends on many other factors, like how far you can turn your head comfortably, if you're standing or sitting in a swivel chair, and whether you're using a wireless headset or if you might pull the computer off of the table or strangle yourself with wires if you spin or turn around too much.
Collection of tools to manage control flow of/with Promises
why the fuck can't I just have one god damn app that can load ALL of my
shows/movies/livetv and takes care of payment to whichever company is providing the content

Which is what Apple have tried to do with the TV app [1]. Except it doesn't include Netflix. Or Amazon [2]. And I'm sure there are plenty of others. Walled gardens eh?

[1] http://www.apple.com/newsroom/2016/10/apple-unveils-new-tv-a...

[2] http://bgr.com/2016/11/17/apple-tv-universal-app/