skysight-inc/HackerNews huggingface dataset:
> Well not really, we need better teachers and methods for teaching programming and computing.

I think most of the Pyret developers would agree wholeheartedly! To this end, the Pyret development team works closely (and in some cases, overlaps) with Bootstrap [1], a nation-wide program to teach programming to middle school students. The feedback we get from these teachers (and the process of teaching teachers) directly informs language design.

Furthermore, at Brown University, where many of Pyret's developers have ties, Pyret is dogfooded on two courses: an "Accelerated Introduction to Computer Science" [2] and "Programming Languages" [3].

(Disclosure: I am a developer of Pyret.)

[1] http://www.bootstrapworld.org/
[2] https://cs.brown.edu/courses/cs019/2016/
[3] https://cs.brown.edu/courses/cs173/2016/
Pre-acquisition YouTube was probably skating on thin ice here. Rumor has that eBay's origin was less pure than selling Pez dispensers.

Having worked at many startups, I can say that it is very common for startups to have an 'original sin'.
>My biggest complaint about python is how easy it is to learn

This X 1000. Some Python candidates declare themselves professionals when their code is unsuitable for production.

If you're gonna spend many thousands of hours using a language, don't use initial learn-time as the one thing to optimize for!
Depends how you look at it. I have spent the value of a 1960's Certina DS many times over servicing and repairing it over the last couple of decades.

Totally worth it; it was my grandfather's favourite watch.

(Idea being - if you have some sort of emotional attachment to a watch, it doesn't really matter all that much what financial value the rest of the world puts on it.)

I would guess collectors of these watches feel much the same way - they are maintaining a bit of history, not a watch. Besides, a lot of them probably do routine CLA (Clean, Lube, Adjust) on their own; it is surprisingly simple given a very modest investment in tools - and guess how good it feels when you've successfully dismantled and reassembled your watch - and it still works...)
std::function can throw, too
Add elementary OS to it and you're set :)
I think gdb is an option.
A Waiting Game – Explore Possible Deals for Britain’s Departure from the EU
> Obviously, but also very fed up with politicians who say "nice" things and then fail to follow through.

Exactly what I meant, but apparently there are some on HN who'll downvote anything appearing to be complimentary of Trump, even if it is not.

I voted for Hillary, BTW.
Yes, Pyret is totally indentation-insensitive.
was the op a new grad? sorry, I missed that. yes, $150k for a ncg in the first year is high. but honestly not that high, and for a 2nd year... doable from my experience [1].

[1: I am an engineering manager at Google]
I'm all for taking the high road in these situations. But I would highly disrecommend option 2. NSL and the like are targeted narrowly and they will find you... so you might as well get some public kudos for speaking out. But speaking of, regarding option 3 - they definitely will take you to court and definitely win and throw you in jail. Not to mention in both cases, they will likely cease & desist/gag/NSL whatever media you speak out in right quick, so unless you have legit media connections there's no guarantee your announcement will go viral and spread beyond their ability to douse it.
What's the point? One would hope they start with a description of why this is better for education than something like Python. I just gave it a quick glance, and it looks like many other programming languages - a bunch of odd text gibberish. I don't think the problem dividing people into "gets it" and "doesn't get it" has anything to do with nuances in syntax or semantics.
You're right, I don't have an industry-wide study of working hours, just going off of everyone I know who works in the Bay Area.

The notion that I or anyone else in the Bay Area is responsible for policing the free press's reporting on SF/SV is absurd.
This is such a good suggestion.

I'd love to see Motorola 68000 support.
I was having this exact discussion with one of my colleagues yesterday and he said almost precisely what you're saying. A lot of schools have moved away from even having shop and, in many circles, there really is this condescending attitude toward "the trades."

Most of these jobs are neither especially easy nor the path to great riches. But there's a lot of demand in many places for skilled trades people and the pay isn't bad. I'll also say that the day Google can replace a plumber working on my 200 year old house with a robot is the day I'll really be convinced that AI works.
The DEA Just Banned CBD and  Why
What are the ideas that Lua follows that are different from everything else? I'm not sure it's the language I'm looking for, but I will keep it in mind if I ever need something like it. Thanks!
AFAIK you only need opt-in for personally identifiable data.

Firefox would also definitely not be the first piece of software to run in Germany that has opt-out instead of opt-in. Most software does it that way and usually much sneakier than Firefox.
If you still need a time-remaining indicator, try Coconut Battery: http://www.coconut-flavour.com/coconutbattery/. It's free and works well.
You Can Now Play with Stack Overflow Data on Google’s BigQuery
"Mah what? mAh battery is going to last how long?"

It would be a meaningless number to non-engineers. Sounds like we need smarter predictive algorithms based on previous usage patterns etc, not degrading the "average user" experience.
I think they have a technical reason for not being able to implement 'go fmt' directly.
The results on that page seem to indicate that the i5 is faster (sometimes up to twice as fast) than the FX on single-threaded workloads, while the FX is faster (sometimes up to twice as fast) than the i5 on multi-threaded workloads. They're evenly matched on other tests (e.g. Handbrake & "Agisoft PhotoScan") - I would bet these aren't getting 100% core usage out of the FX. I'm surprised by how close they are in games.

If those results are accurate, they do seem to support that AMD FX CPUs are still competitive with new Intel CPUs in the same price range.
You have to weave this into a pretty format if you want to really ready it. I don't know if that is something I can legally just do and host somewhere, if it is, I'd be glad to.

Main callouts for me, are he tried his idea of not using left/right links for the rows and found it didn't actually save any time. Always fun to see him hit a surprise. (I had tried this, but assumed I just wasn't doing it right when I found no real difference.)

He also has a section where he mentions that he convinced himself one order of operations was not important, only to realize it was. I love that he is exploring it.
I'm the author of a code-generation ORM in Go (real orm, does relationships fairly robustly) https://github.com/vattle/sqlboiler and I'm curious why you needed to make another one despite something like this existing? Granted we don't support sqlite/mssql yet, but surely a PR to support it is easier than writing your own :(
because mAh aren't magical
Good point.

You need to back up data from Dynamodb, but as a measure to protect against user caused data loss, not AWS infrastructure failure dataloss.
I am a developer and I had to take a course similar to what you're talking about. So it's out there, but making it more common would definitely be a good thing.
Why I chose Estonian e-Residency as a Brexit insurance policy
Microsoft Office Ribbon UI Is Coming to LibreOffice
The fork is called Waterfox, and yeah, the 64-bit Windows installer is relatively new.
No offense but I really don't think it's a good idea to teach beginners a language with such a goofy syntax. It's fine if you want to make a language with a unique and "innovative" syntax. But beginners are best served by learning something mainstream, and ideally simple. They can expand into crazy stuff as they are ready for new languages.
None techie managers dont understand how good a developer actually is. But they try with the info they have. From whats said.
Why are you depending on a variable which will be defined in a module which is expected to import your module?
Do you love the challenge of building a perfect API? Sift Science is hiring
Were Instagram and Whatsapp unicorns?

FB put down billion dollar purchases for them, but they weren't the inflated-valuation investor rodeos we see with unicorns.
What makes him think privacy was not going to be as much or more in the cross-hair under Clinton? I was really put off by his first paragraph. As much as I have distaste for Trump, I don't see that level of power in the presidency.
What if am an expert who understands the pricing of loans and understands the risks, but I make a personal loan to a friend? Is it immoral to not try and pay it back then?

Isn't repaying your debts (or attempting to) morality 101 stuff? You made an agreement and received a benefit from your counterparty.

Just because someone thought you might default doesn't relieve you of your obligations. I lock my doors because I think someone might break in, that doesn't mean I've "priced in" my TV being stolen so it's OK to take it.
How to build robust systems
x -= N & -(x >= N);
Maybe it will end up like the geocities. All in all, I stay away from tumblr because the pages always crash and slows to a crawl. I'm not sure if Marissa accounted for the fact that Tumblr's users are far far less likely to look at ads than even FB.
Reliably compromising Ubuntu desktops by attacking the crash reporter
To be fair, engineers aren't usually the ones who will have their careers judged by a delayed project that cost the organization large sums of money. There is a much stronger motivation for upper management to pretend everything is still fine and dandy.
To add on to kibwen and Manishearth, another aspect is that one of the Rust Team's 2017 objectives [1] is to get our community more engaged in mentoring people and projects. We see the open ended aspect of this contest as a way to encourage people to help find and fix security bugs in our ecosystem. This should help to accelerate getting Rust even more production ready.

[1]: https://github.com/aturon/rfcs/blob/roadmap-2017/text/0000-r...
interesting...forgot about flickr. to be honest imgur and even reddituploads pretty much killed it for me.
So not only too big to fail, but too big to ever go out of business. That's quite a nice setup, almost like a guaranteed basic income.
Ask HN: Is Wickr dead?
(via throwaway account)

Does anyone know what the deal is with the Wickr Project?

https://wickr.com

There are no Android/iOS updates on their app pages after March, and their blog states notably that they have gotten a new CEO in November.

Signal (as a unified app) wasn't around when I started using Wickr, but now most of my Wickr contacts have moved to it since.

So I'm wondering if I should just delete my Wickr account because the project has been left idle.
Recap: Product Panel: How to build a customer-driven product team
Drawings of India
Imho, that's the whole point. Testing frequently and using small steps is merely a question of how TDD is best used.

Likewise, I would totally accept that someone that writes zero tests but has an inexpensive and permanently available source of validation (e.g. from prod) practices TDD.
Fixing Yahoo seems impossible. It is bleeding cash and has at its scale no really credible strategic business model as a conglomerate of ideas. Selling it may fall flat now. Would it be possible to split it up? It may be easier to find a strategic direction for parts of it and maybe wind up others?
Doesn't matter. Every thread from now until the end of time will mention it. Just like Microsoft is a "convicted monopolist".
In the same world is easier to understand for advanced developers.

You know n is a number and the result is a number. You don't need to "type check in your head".

Remember Pascal? Being explicit is good for education and for regular sanity.

P.D: I like python very much, but all the time I'm wondering "ok, what is the meaning of this code, let's find elsewhere so I can remember what is supposed this return"

This also happens to me with F# (type inference is weird: The compiler know, but it hide to me what it know!).
If a service doesn't exist, can you violate its TOS?
Hyphens are much better for names than underscores, and easier to type.
Their over-prescription is no doubt a problem. That being said, I have family members that are verteran's from the Vietnam era. Anti-depressants made their existence possible. They all had so much trouble adjusting and maintaining relationships. The change was night and day different.

Anecdotal evidence isn't really evidence, I know that. And the pharma companies are really just the worst. I have seen these things really work though.

EDIT: It's funny, but people never seem to question if modern American life actually, you know, is good for mental health. Maybe people are mentally ill because the world is super effing weird and hard to adjust to?
Fun fact: I got an MBA and was one of the first cohorts of a new curriculum, which required an ethics course. Hilariously and sadly, some 20 students were put on probation for CHEATING in ETHICS class.

I think that was the moment I realized I made a $100,000 mistake.
Probably a good idea to set things up as a 1 member LLC in order to limit any liability, so that if anything happens, you're not personally liable for anything.

I'm also getting ready to start another small business for a side project, and have had a good experience getting it setup using LegalZoom. Quick and really easy to do.

https://www.legalzoom.com/business/business-formation/llc-ov...

Just opt to get the EIN (employee identification number), yourself from irs.gov instead of having them do it for you. It's free on irs.gov and can be done in a couple minutes. LegalZoom however charges like $69 for it, which isn't worth it.

https://www.irs.gov/businesses/small-businesses-self-employe...

Hope this helps.
So how does Unwaffle differ from Heap Analytics and Mixpanel?
Many people do it entirely on-line, and the bank sends a notary to their house to do the final paperwork!
Yet SarbOx is still the law.
What's the TAO?
God, I fucking hate the DEA.
I thought the same thing of the first place I lived in my early twenties after moving away from my home town. Then my older sister came to visit and schooled me in how blind I was.

Culture is a human artifact and although it exists partly out there in the world we create, a big piece of it lives inside us and informs us of the proper way to interact with both other people and the spaces we share. Sometimes, people who decry the lack of culture of an area are telling you more about themselves than about the area.
Building Your Own Facebook Messenger Bot (Free Email Course)
I really resonate for planning with the 'debate from hell' and while its fun to posit a world class debater on the other side, sometimes it helps to imagine a clueless idiot as well.

Founders are clearly founders because they really like their idea, and people "just don't get it" and are spewing irrational arguments at it in an offensive way can easily get under your skin if you haven't already thought about them attacking you. Sometimes you'll just have to walk away and if you really want their support that can be really hard to do.
It's common for etymological roots to branch to opposites, or simply invert. And then maybe revert again. Almost too common to note, really. A byproduct of how core association is to our minds it would seem.
I like the expression "evolution isn't toward, it's away".
What do you mean by the offside rule in this case? I presume you don't mean that Pyret can't shoot if it got the ball when it was behind all the other language's defenders.
I'm being a little wary :)
The shot at religion was unnecessary and does not help your point. FYI, I'm agnostic, but anti-religious bias and attacks is no better than racially or gender based attacks.

Also, science is pretty broad. I'm guessing you mean medical science. Social science, depending on area, may agree with the keep illegal stance.
I see no difference between mAh and MPG in terms of ability to understand for most people. If we expect more of people, they can learn. If we constantly dumb things down, all we do is create a depressing economy where no one understands anything, and always has to have someone else fix their trivial problems.
He bought 40 Wall Street for $10MM (in loans), put $40MM into renovations (money which came from loans) and it's now worth $600MM.

I too could become ultra-wealthy if someone were to give me a ton of money to buy assets at well below market value.
May I ask if you guys have a link to where you reported this issue? I am having the same problem.
And my car adjusts the mile-remaining indicator appropriately. If I drive with a lead foot, the mileage remaining drops faster than if I drive like a granny.
As someone who is writing in go for some time (still deciding if i should learn something like C or JVM-based to get better at understanding big programms), i also want to get into Databases (never really learned to code. Everything is self tought). Do i need to approach a not-language specific way to really learn the SQL concept, and if yes, where do i start? In Chatroom i always read super complex stuff about databases and meanwhile i was never able to handle a SQL Database right, because i wasnt able to wrap my head around the documentation, and used something simple like bolt (in go) for my db needs.
Can we stop assuming that only the syntaxes we are accustomed to are the only "readable" options?
Dijkstra's handwriting is quite charming. If you've never seen it, it's worth clicking the “EWD831” link at the top right to see the scan of the handwritten original.
Hi, I'm actually the person who wrote the static type checker. Essentially we get around the difficulties of mixing objects and ADTs by having very limited support for subtyping. This way we can still carry out unification-based inference. The subtyping bounds are not propagated during unification so we don't need to worry about calculating closures. This does mean that type inference is incomplete with respect to subtyping, but I haven't found a satisfactory system that would let us do otherwise.

I would also like to note that we do also have a new feature where types can be inferred if you provide tests in a "where:" block attached to a function. This infers a function's type solely from the examples of usage provided.

If you have any other questions feel free to ask!
Intro to python and get a web service built in an afternoon or so: http://www.web2py.com/books/default/chapter/29/02/the-python...
I just bought a brand-new 2015 model 15 inch, which Apple still sells. Best laptop I bought, couldn't be happier. It's a lot less expensive, has all the ports, extraordinary 12 hour battery for me doing C++ in Emacs all day. Still has escape key for evil mode in Emacs. I thought about switching to a Windows machine, but I'm really glad I stayed with Apple on this one. I think time will tell on the most recent new models, and I bet Apple will address many of the complaints. Many people are not early adopters of any new release by any major manufacturer, specifically for this reason. The first iteration of major new designs by most super large companies are often met with a wide range of divergent opinions. I suspect Apple will be smart to listen to consumers and improve the next iteration of this current new model.
That's just silly everyone knows that just California...
That's effectively what they're doing when it says "57%" remaining. Just multiply .57 * 54.5-watt-hour.
In particular, you should be changing your mind as a result of trying to write the tests. If it's hard to write a test, that's telling you something - the interface is clumsy to use, for example. TDD is different from just writing tests, because the tests drive development. "Drive" may be a bit too strong, but they at least significantly influence it.
5 alimenti che diminuiscono il gonfiore
Judging from the red/blue colors in the logo and that the website was generated with Frog, I assume that once you feel too big for Pyret's shoes you'll discover that you've actually been using Racket all along and will start using the Racket language directly.
Miles and gallons are all measures most people have a relative understanding of.

If I drive x miles I need y gallons. Easy-ish.

What about amps?
Overdraft protection is an explicit line of credit (read: loan) that you agree to open along with your bank account.
One benefit of these incidents at Yahoo! is that they represent salient, clear examples of the cost of poor information security. CIOs and security directors will be able to point to this deal as evidence that poor security can have material impact on the business and destroy massive shareholder value, even years after the fact. A 6.5% intra-day dip sends a clear message. Even a CFO can now see that information security should be viewed as vital insurance that directly impacts shareholder value.
I've written a lot of tests using Clojure's with-test, which is slightly less elegant, but the same style:

https://clojuredocs.org/clojure.test/with-test

I've found it wonderful and productive for low-level bits of functionality, especially working on small data structures and primitives. With Emacs set up to reload the namespace and run all the tests on every save, it's a great feedback look with very little cognitive overhead.

It breaks down a bit for more involved tests, as you say, and it can be taxing knowing when to refactor, how much test setup code to include along with the unit under test, and also once you start splitting things into other namespaces, where to look to get a full view of a module's functionality.
It's a social network, not a blogging platform. You have a consistent identity across the entire site, including everyone else's blogs that you comment on. It's closer to Facebook (with a larger focus on writing original posts) than it is to WordPress. If you were around for LiveJournal, it's more like that.

Tumblr has a huge community and there are a large number of niche topics that have their biggest communities on Tumblr.
Out of curiosity, what do you use it for? I can't remember ever needing that feature.
The overall experience of using emacs is very dated. Again, for those who are not users of emacs it presents a deep burden.

Back in the day (late 80's in my case) I started using emacs because it was faster to figure out using it as a basic editor than vi. (Built in docs.)
I was once advised that if you are going to drown, it is better to drown in the ocean than a mud puddle.
> I have seen these things really work though.

The argument (based on some large scale trials and other data) is that after 2+ years, those on SSRIs are worse off than they would have been without them.

The issue is that by taking SSRIs, you may be getting a few weeks of negligible benefits in exchange for a lifetime of being disabled, when otherwise you'd have been better after a few months using other interventions.
Haha I sort of thought Trump's unspoken slogan was something like, "You didn't like 'Hope and Change'? How about some Change without Hope?" Lots of people wanted that...