skysight-inc/HackerNews huggingface dataset:
Teaching and learning are spaces where many flowers can bloom, so I can appreciate the angle of this article (and thus Pyret).

To zoom in for a second: in my experience teaching, the simplicity of the outdent as a mechanism for ending a control structure is a light-bulb moment for many people. I don't think that adding "end" is helpful for this segment of the population.

And so it is with `where`, which seems to shoehorn a BDD / Rspec'ish approach which, while typical of some of the best Ruby out there, is not typical of a Python library.

Again, this approach may be great for some people, but I'll bet that it won't be great for others.
Still do not see a source there, just some journalists making assumptions like you are. Confirmation bias much?
Buddhism also talks a lot about purity. It doesn't necessarily follow that those practices should be abandoned or even avoided, just because parallels can be drawn with religion.

Let's say that I spent some time brewing your favorite tea and that I did everything right so that the tea was ~perfect~. And then I took a pin and dipped it in feces, and then dipped the tip of that pin into your tea. Would that in any way have any effect on your enjoyment of the tea?

Could programming, and perhaps many other things, work the same way? Maybe we would all be creating better software if we were a little more religious with our code?
Component Inheritance in Angular 2
In my experience in NYC, most buildings have some mechanical and some recreational space somewhere on their roofs and/or balconies. Sometimes this is private recreational space, sometimes shared, sometimes a little of both.
SCU (my alma mater) does require MBA students to pass an ethics course.

https://www.scu.edu/business/mba-degrees/prospective-student...
JavaScript Testing with Jest: Jest 18, in-browser repl, future plans
Programming can be stressful work sometimes.
I'm aware. If you follow the thread, we're talking specifically about creating a new file using the command pallet. Also, I mentioned above that, while I'm aware of the ability to create a file using finder, I'd rather not.
Erlang/Elixir would be a good bet. Erlang very much has a "model" to it that is hand tailored to a specific niche (reliability), and fits very well in networking scenarios. Adding to that, both languages are gaining adoption and will definitely see an uptick in job postings in the coming years.

If you want to learn a language for the express purpose of expanding your mind, try a postfix language like Forth or Joy. Those are different enough from what you've done so far that it'll be pretty strange to think in that manner at first. I haven't pursued either Forth or Joy beyond messing around with a couple toy examples, but they're very interesting to think about.
It may be easier, when considering the switch in isolation. But code is rarely considered in isolation. A switch creates multiple possible code paths. Combine it with other switch statements and the possible code paths grow geometrically. This is the theory behind measuring cyclomatic complexity.

When I said visualize, I meant primarily in the programmer's mind, but there are other tools that help. Code coverage tools ensure that all branches of code are tested, but fail to ensure that all permutations of all branches get tested. This is something where fuzzing tools can attempt to ensure that all branches are taken, but will quickly run into the limitations of the underlying machine if the cyclomatic complexity is too high.

Beginning programmers learn flow control very early in their development. Most will also learn fairly quickly that creating a rat's nest of ifs and switches can become difficult to reason about. It's for that reason that we learn abstractions that help us increase the complexity of the tasks we can solve without increasing the complexity of the code we have to understand.
If you only use a handful of sites, you can also solve this problem by building yourself a site that handles specific types of queries.

I'm doing something like this, by building a site to search lectures (https://www.findlectures.com). The "fallback" for me is to just use youtube, etc instead.

Rather than trying to index everything on Reddit or Youtube, if you just index "good" parts it's a lot easier, since there is a lot of low quality material either way. I think you're more limited by bandwidth, for what you can get into your own index.

A search index is basically a mapping of hashed search tokens -> urls, so it can be pretty efficient to store locally (e.g. for a video search engine, you just need unique words in the transcript/title, not the entire video)
Purescript: probably the best typed language compiled to JS :-) has great book to come along with it, and takes the best haskell ideas and cleans them up :-) https://leanpub.com/purescript/read
Jetbrains keeps delivering knock outs. I love you guys.
One nice thing about SaaS is that scaling problems are almost always a good thing. This was something I actually first built to shake the trial churn out of S3stat, and to be honest there's nothing that would make me happier than to see that trial funnel grow to the point where it starts choking the little analytics ping catcher.

"[personal assistant], be a doll and grab a few hundred thousand out of the petty cash drawer and hire a few contractors to scale the analytics server" (Sent from my BennetonShipToShorePhone)

As to Unwaffle, right now the trial period is "30 days, plus however long it takes Jason to get around to implementing billing". I'll experiment with 60 and 90 day trials once it becomes an issue. For now, though, it's definitely at the beta stage.
Hmm. This is actually an interesting application for AI. Is anyone working on this? There is a huge amount of case law that could be entered into the corpus.
I don't think whether or not everyone knows the consequences is relevant. You can work out the purely legal or administrative downsides (to you) of lots of things.
On the flip side, I find having a system like Scrum is beneficial even when parts of it are being done wrong because it's still an agreed-upon system that the entire team adheres to. Having 5 or 10 people each going at things the way they see best based on their experiential understanding can lead to counterproductive chaos even if each individual's approach in a vacuum is sound.
I'm not sure if this applies anywhere else, but in the U.K., this name has fairly extreme racist connotations. I don't think it's appropriate to explain further, but I hope they change the name.

Edit: I guess not very wide reaching connotations then!
Speaking from personal experience, I suppose that is better than companies that are too cheap to buy pizza for their employees who are putting in crazy hours to make a deadline.
Assuming there is space for you in your destination lane.
That is not new, in NYC pretty much everyone on Wall St gets to order dinner on Seamless for free if they're at work past 8pm. Some companies will also reimburse a cab home after that time too
Mathpix: a Phone-Camera Powered 3D grapher
Boring article, sounds like any large organization.
Astute observation that he was the common denominator -- as opposed to his experiences being based on a history of relationships that didn't involve him. I guess anytime a person has multiple bad experiences, it must be their fault, right? (I have family members that think that way. I no longer visit them during the holidays.)
> If you're eating unhealthy and drinking a lot, there is no amount of running to undo it.

Emphasis mine.
They are hurting for it, though.

There are still lots of people willing to join the TAO and the like, but the NSA has been pretty open about struggling to recruit top talent. Not all of that is ethical stuff, they lose people for reasons from salary to drug and felony screens, but some of it is.

Bear in mind that the NSA only needs good talent to compromise systems, not elite talent. They have some elite talent (Stuxnet anyone?), but their domestic work is largely hacking theater. After all, you don't have to covery your tracks like a private hacker if you can just ship out an NSL to bury the matter. Hell, some of their projects involved a lawyer, a bunch of analysts, and no internal talent - they can just ask for what they want.

https://www.cyberscoop.com/nsa-morale-down-keith-alexander-m...

http://www.capitalgazette.com/news/government/ph-ac-cn-nsa-l...
So how do you protect yourself against inadvertently passing around uninitialized objects?
I gotta ask, because this looks like such a great deal on their website for a VPS...anyone use them? They're the only VPS i've seen that doesn't charge at all for bandwidth according to this its unliminted bandwidth https://www.ovh.com/us/vps/vps-cloud.xml

Are they any good? I was thinking of picking this up here in North America, since they got data centers in Canada (should be good enough for my purposes)

Edit: For clarity, my wife makes homemade dream catchers and soy candles, so I was hoping to migrate her away from Etsy to a custom rolled store, and I was thinking of hosting it on a VPS since shared hosting seems so...sketchy.
I used to be that way (I went as far as dating a few borderline people). I didn't end up with someone like that though. I think partners like you describe are fun relationships but difficult partners long term. Its exciting but you probably don't want to buy a house and have kids with exciting. To each their own of course.
“What is the robbing of a bank compared to the founding of a bank?” -- Bertolt Brecht
> Isn't escrow basically the opposite of trust?

No, escrow is trust-as-a-service. That is, it's a means of removing the need for trust between the transaction principals by hiring a mutually-trusted third party.
Effective Application Security Testing in DevOps Pipelines
Right? The only reason I got hooked on coding was because I was making cool things. Good practice and CS fundamentals came later. If programming was introduced to me in this "bottom up" approach, I would have lost interest. Math education has the same problem.
I do think Python is an acceptable language for beginners, but I wouldn't say it has little magic. It may feel intuitive at times, but Python's magic methods can be somewhat disorienting for students. This usually hits when students reach for-loops (and to some extent during branching due to __bool__).

Also, Python may feel like a small language at times, but it is really quite large and complex. This can be seem by imagining a beginners perspective when Googling for help with a simple list operation. The inevitable Stack Overflow answer will almost certainly use a comprehension. I would argue that Pyret is actually fundamentally less complex than than Python.

As always, the biggest issues are your goals, constraints, and resources. If you can afford to spend time in a language optimized for education, that is fantastic. If you can't afford that time, python starts to look like a good trade off relative to the languages with reasonable job prospects.

* It doesn't make me an expert, but I do teach programming for a living. We use happily use python for introductory content and server-side web content, but I can easily see Pyret as a great option for an educational offering with different constraints than mine.
Assuming you're fixing a bug...
The ethics course will make you feel better about going to prison.
I mean for the average use case, a 5 year old pc generally has the compute capability.

Gaming requires updating (though 32nm cpus are still perfectly fine).

Scientific computing will move to the cloud soon enough, as you either need absurd capabilities, or a recent laptop is generally powerful enough for data science (depending on the usecase).

Hell, I dusted off a 10 year old core2duo HP laptop and it does most of what I need it to (browsing, jupyter notebooks, etc.) fine. The one common app that's painful to use it with is Facebook and other sites that became a sort of monstrosity (the ones with 40 NoScript dependencies you need to whitelist to see content)
Please don't take this thread any further off topic.

A substantive debate about variance or the lack of it in the surveillance policies of successive administrations is on-topic in a thread about surveillance. But arguing about whether you should or shouldn't know who Schneier is, and some of these other things you've posted, are way out in the weeds.
> People don't like it when someone tries to predict their reaction to something.

What? How exactly do you expect to pleasantly surprise your significant other if you can't predict what they'll like? How could you possibly buy them gifts? I'm pretty sure that predicting what I like is something that pretty much everyone is perfectly ok with.
Twitter Developed Its Own Messenger Product, but Killed It
You simply criticized the wrong person. Schneier has already fought against the Clipper chip as far as I remember.

I agree that we don't know yet whether surveillance will be worse under Trump than under Obama/Clinton.

Trump likes to troll and is a bit unpredictable. He has flamed the CIA and apparently invites Musk (green energy).

For all we know Schneier will be invited to the transition team next week.
Um. No. It's definitely illegal.
You know, I'm not saying he's a great guy, but that quoted comment seems very out of line from the rest of the article. "I was just unlucky" seems taken out of context somehow. For example, he said he wouldn't have done it again because of how it destroyed his life and wasn't worth it. So I suspect the "luck" was about some narrow specific component and not the fact that he got arrested. Obviously he knows why he got arrested.
I'm the same way, and for me I believe it is a combination of being extremely intrigued and gratefully removed from my own world. Meeting an interesting person (romantic or not) is a great experience for that dual effect of mental stimulation (your "figuring it out" description) and being confronted with another person's reality which may feel much more vibrant than your own.
Hold your horses it's not like there are tons of people yelling for war. People attacked the US election, which is a huge deal in a democracy, so it's going to be a story with a ton of interest and there are going to be a bunch of random leaks and shoddy journalism. If Russia really did attack the election would you rather no one said anything?
Apple Removes 'Time Remaining' Battery Life Indicator in Sierra 10.12.2
> So does go-guru allow you to navigate code in emacs or not?

Yes (or at least, go-mode in total does): C-c C-j to go to a definition (annoyingly, not the stand M-. every single other language mode uses, why go-mode why), M-, to return up &c. Also, with projectile, searching an entire project (not just source) for strings & regexps is incredibly easy.

I'm not 100% certain, but there's a strong possibility that emacs invented code navigation.
"Business perspective" can be like hill climbing: you evaluate a potential direction based on whether it makes your situation more profitable or less profitable, regardless of the peculiarities of your local landscape.

I think got into TDD for its aesthetic or philosophical appeal. The idea of being able to make reliable software by first writing down what its supposed to do just struck me a poetic and tractable. On the one hand, I spent a lot of time and money going through a dip in productivity while learning all the things to make testing work for me. On the other hand, I eventually emerged from that dip with skills and a mentality that allow me to be productive and relaxed in a way that I wouldn't have thought was possible.
While I liked it, it was quite buggy for debugging. I hope Gogland is better.
Well, do PostgreSQL magically prevents SQL Injection attacks if you pass unsanitized data to it?

It's the same thing here
> Don't complain about downvotes, it makes for boring conversation.

And more downvotes.
Don't rely on lawyers working for free.
The whole point of TDD is to submit one's code to experimental validation. It seems wrong that, in order to better grasp it, one should be taught all the counter-examples.

Moderation comes from practice, in fact. It comes from trying and failing, not from extra-prodding the experts, or from studying the matter. And should one be confronted with a zealot, their experimental rebuttal should be convincing enough that zealotry isn't a problem.

On the other hand, OP's assertion that, e.g. a pseudo random generator shouldn't be tested comes without explanations, and frankly is unconvincing : there are acceptance tests (they may not be enough, but passing them is the least you can do) https://en.wikipedia.org/wiki/Randomness_tests, and you can also split the seed and the function you implement, and test thoroughly that the function performs what the algorithm describes.
noexcept is a messier than const because it's not straightforward to assess if code you rely on should be throwing or not since that's an implementation detail versus a contract around data ownership. This makes maintenance hard as implementations change.

It'd be nice to see compilers infer the exception behavior themselves and do these optimizations when appropriate.
They were a part of the Treasury Department until 2003 (now DHS) and deal with counterfeiting and other financial crimes. I don't know for sure that fraud like this would land in the Secret Service queue and not the FBI but it's certainly plausible. It mostly depends on which specific statute(s) you're being investigated for as to which agency(ies) do the investigating.
That sounds like a lovely workstation. I had a dream machine of overclocking a dual x5670 xeon machine, but motherboards that let you do that now are too rare and expensive.
Yahoo has completely lost my trust forever... looking forward to the day they don't exist anymore.
> You'd be amazed how much it speeds up testing these kinds of processes when you can just watch your list of tests change from pass to fail or vice versa.

That sounds like a test-first strategy, which I would categorize as TDD. Yes, you can write unit tests without it being TDD, but I'll second the notion that the sorts of situations the parent pointed out benefit from a test driven approach.
Ironically, despite having all the money he could spend, he STILL ended up starting a business!
>haven't heard of most of those

I feel like I'm 120 years old in Internet years. I mean, I remember when there was no Internet :/
Professional organizations have a lot of other, unintended negative consequences that make me want to stay the heck away from them. Also, nobody guarantees that the professional organizations themselves would be ethical. The AMA lobbies for things that I consider unethical, as a way to keep their leverage. The American Psychological Association was fine and happy with torture. I've seen an architects association let a member amend their copy of signed documents (which I got to court for, and won, because the editing ended up overlapping a little over my signature, and my own copy didn't have the last clause)

Collective action like this demands doing a lot of work to make it difficult to get a job without being a member, and then works on limiting the influx of members: For instance, you'll find that the attempts of a professional developer association in Spain advertises how it'll increase the value of your college degree, and protect you from having to compete with intruders, like those with physics degrees, or that learned programming from an accelerator, or on their own. And professional organizations have to do this kind of thing, because otherwise they lack the power to get anything done.

So no matter how much I personally dislike mass surveillance, I'd not be caught dead supporting the creation of a professional organization. Instead of using force, how about growing the utility of our work so much, everyone knows they can change jobs the next day to a place that doesn't do mass surveillance? If enough great jobs exist, the awful can't retain talent. That's why developers in the US have far better working conditions like in my native Spain, where finding another job is not something you can do in a week.
Yep, and ECC RAM starts getting pretty important >8GB if you value stability. Workstations depreciate like bricks typically, so a last-gen system can be had for a song if many cores if what you're after. A short while back, some Xeon engineering samples were flooding eBay and were a better deal per-core than whatever the latest i7s were at the time. I forget the model number.
Cisco to kill its Intercloud public cloud on March 31, 2017
Evernote Employees Can Read Your Notes, and There's No Way to Opt-Out

http://lifehacker.com/evernote-employees-can-read-your-notes...

https://news.ycombinator.com/item?id=13177971
Disclaimer: I haven't used any of the languages you list other than C(++), unless you count first-term-student-level Racket as close-enough to Scheme (unlikely), so this might be something that they cover but you didn't feel worth mentioning

I'm finding Lua/Terra quite interesting. Lua [1] is an extremely lightweight fast dynamic-typed interpreted (or JIT-compiled) language (don't forget to get the penlight library, though, because it's batteries-not-included otherwise). Terra [2] is a C-level bare-metal static-typed compiled language specifically designed both to use Lua as a preprocessor and to interleave with Lua code as necessary. I'm pretty sure it ends up as metaprogrammable as Lisp but without the difficulty I had parsing Lisp syntax (might not be an issue for you, given that you've got Scheme listed).

[1][http://www.lua.org/]
[2][http://terralang.org/]
JS1k 2016 code golfing - webgl demo
Well, it's unique in that most people still don't spend that time in jail, and then on top of that he was able to get out without any criminal record.

It did give him enough experience to find something worth doing with his life.
Indeed. They stared down the FBI with engineers threatening to quit and/or go to jail rather than compromising their users' phones. That had the enormous risk of making them unpalatable to the conservative half of the nation.

Compare to yahoo, where they apparently handed out data to anyone asking, and not a single person considered it m0re important than their paycheck.
I can see the usefulness of this project. Thank you for providing this tool. Can you please share some of the things that you've learned regarding these VPN service providers?
At least Postgres has proper SQL support and can handle CHECK constraints.
I know of a math paper that was plagiarized from the arxiv, and then posted to the arxiv itself. (The math was rewritten but identical. It was also wrong!) One of the authors is a full professor in Germany.

There were many reasons why neither I nor the authors of the original paper pursued this issue.
> Apple believes that the battery life indicator in macOS Sierra is ultimately inaccurate and has led to some confusion about battery performance, and so it has been removed in macOS Sierra 10.12.2.

I think that's the worst possible way to react against the new Macbook pro battery life complaints.
> No, there was not a single piece of bad luck for him in this whole affair. Something strange happened to him, but it was easy to handle without screwing anything up: just tell the bank they messed up, or even just ignore it. Deciding to start spending the money like crazy was not bad luck, it was bad judgment.

There's another way to look at it: The "bad judgment" is only bad if you view the standard as "tell[ing] the bank they messed up". If the standard is to blow all the money on strippers and cocaine, then the bad luck in this situation was that he was presented with the anomaly in the first place.
We detached this subthread from https://news.ycombinator.com/item?id=13184727 and marked it off-topic.
Safer for who? We are talking about scam buyers here not scam sellers.

Amazon handled my claim when I was scammed by a third party Amazon seller.
Genuine question: are you a woman?