skysight-inc/HackerNews huggingface dataset:
Schools do a terrible job getting people excited about computer science and even worse software engineering. You start with C and Java and a bunch of arcane syntax and commands to print 'Hello World' when you could start by making simple games or apps and working backwards to introduce CS concepts mr miyagi style.

I started with Basic in elementary and PHP in middle/high school and by the time I got to college - young arrogant me was like, "what is this C/java noise and why do I need it when I can already do all this cool stuff with php!". I didn't really start appreciating CS and how it applies to software engineering until much later.
Yeah, exactly. He writes "What deters them from studying this exciting, high-wage profession? Why do they go into math, physics, or engineering in higher numbers instead?", but students absolutely do not go into math or physics in higher numbers.

I'm not very surprised by that: not very many people are smart enough to do math or physics, while computer science is much easier.

Meanwhile, the fields that are larger than CS are the engineering and biomedical ones. I feel this is a bit vulnerable to how you slice it though, e.g. the number of CS graduates are presumably more numerous than any particular type of engineering (mechanical engineering etc). It's a bit of an accident that all those fields are grouped together and computer science is not. (This could have been otherwise, e.g. in Sweden you can study both of an MEng in "software engineering" or a BA in computer science, and the content is quite similar.)
Symfony 3.3.0 released
I'll be there to work on EEG 101, a neuroscience teaching app for Android that uses real EEG data from the Muse headband. https://github.com/NeuroTechX/eeg-101

I'm actually the main developer on the app and feel fortunate to have been accepted as one of the official Sprint projects. Looking forward to having some beginner's minds to take the tutorial and give feedback. Also, hoping to get some help on the code side (Android + Java, Data viz, and React Native people wanted!)

All my interactions with Mozilla have been great so far, and I think it will be a good time. They're actually opening their office in Toronto up to sprint participants. Tickets and Info here: https://ti.to/Mozilla/global-sprint-toronto/with/tlcivmz5efg
Not normally distributed? Why would they be? For a "random" shuffle you would want a uniform distribution -- each permutation of the cards being equally likely. Can't think what bias could possibly consistently distort a random shuffle, but maybe you have one in mind.

Edit: "to the point of randomness" effectively establishes a uniform possibility of getting any one of the possible orderings...
I didn't say ART was not a VM. I said ART is not a JVM. There is a difference.

>and no you can't write games in C/C++ on Android

Of course you can. All of the high end games are written in C/C++. Java, Kotlin, C/C++ are the official languages of Android.

>While technically it can be done it's pretty much impossible to get it off the ground and running because of the VM in place.

Apps that use NDK do not use ART.

>Objective-C is very quite fast, several notches faster then Java apps

No it's not. Please provide proof that Objective-C is several notches faster than Java apps.
"utf8mb4", though really in 2017 the correct thing is to use Postgres.
Wish I had that when I was still doing machine learning. Looks nice!
> I would rather provide conclusive proof, like some side to side comparison of features to illustrate how idiomatic MoonScript is supposedly friendlier than Lua.

In the reference manual, it is quite literally a side by side comparison. MoonScript code is shown to the left, with Lua to the right. MoonScript provides shortened code with minimal overhead compared to how it would be implemented in Lua, and you can see how by viewing the reference manual.

> For example, what if you have a typo in a variable identifier when assigning a value to a variable? Now you have a new variable. Where to look for the definition of a variable? It depends on what runs first now. That's not friendlier. CoffeeScript made the same mistake in the name of simplicity and it quite frankly doesn't add any value. The time you saved typing "local" will be now consumed several times debugging and code reviewing... and you will have to pay more attention during your code reviews.

This is the same problem with Lua. The best solution that I've found is to have an editor that highlights variables in different colors; once the color has changed (and it should based on if it's similarly named to another variable, so that `asdf` should be a very different color to `asdg`) you know it's a different variable.

> Then, removing braces and other delimiters. That's not necessarily better either. Let's remove lane delimiters from streets, traffic signals, stop and yield signs, and let's make it all implicit based on rules you can follow in your head. See? doesn't work.

Except you can still know when a block ends. Your comparison isn't really fair because it's just a cosmetic change. It's as though stop signs were a square instead of an octogon, not if they were just completely removed.
The difference with math is, you can get partial credit.
How to overcome the imposter syndrome (Female Software Engineer)
I have no idea why this post is so popular. I'm equally confused at why I find it so interesting.
Finance and Business Case Essentials for Product Managers
Iirc its used on some digital cameras as well.
> Is that typical of Silicon Valley and the startup scene? Do people there just eat more healthily than the average person in the country?

I don't think so but the people willing to comment in this thread yes.
To some extent you're right, but the problem is much more than can be blamed on font designers. How would you distinguish a Turkish i from an English i with a font?
How are they just noise? If somebody says that something is "fast", it's because it's purpose is to be fast and nothing else. If something says it's lightweight it means it's aim is a minimal size. They are not noise, they are mission statements.
A reference to The Regular Show? haha

>I don't mean to brag, I don't mean to boast

Also I like/strive for the minimal attention online business too however I wonder how that is running a business when you travel regarding environment/tech... like that photo of the beach/shack looking place I don't know... I guess I always picture "skyscrapers" and fancy things as "success" (I watch too much tv)
I exited out of IT programming degree for the military.

A big reason was I did math on what my future loans would mean to me to get a bachelor instead of just my associates.

Sweating through the nuke program for 3-4 more years (extra compared to college), having no debt at the end, and a program that if you complete it is more valuable than a lot of degrees.

It also seemed that there were two types of programmers. The Office Space guy, that is a cost to their company. And the Cult Of IT guy, that pretends to only think about IT. I wouldn't have the patience for the first, and after learning enough Lisp to make simple macros (and rip apart some of Paul Graham's mediumish ones) I realized that I just saw a system that does what it's told (and probably wouldn't be able to keep a straight face when Cult Of IT people worshipped beauty).
️ XSS Listener is a penetration tool for easy to steal data with various XSS
Motivation probably matters the most here. Own company or working on a project you love (w/ a team you respect and enjoy working with) is great.

However, 40+hrs/week after a while, might probably lead to some sort of burnout / dissatisfaction (something adverse), if it is only for capital gain.
I boldly compare your hardship to the problems with any sufficiently different CPU architecture.

The same argument can be applied to GPGPU, data flow languages, IBM's Cell BE and, god forbid, GreenArray's GA144.

Or computation architecture - you already mentioned Haskell and I added data flow computation paradigm to that list.

They all about the same from sufficiently distant point of view. Prolog isn't all that worse.
Don't know, don't care. Labelling people is just a way of distancing yourself from them, ending critical/rational discussion. https://www.psychologytoday.com/blog/alternative-truths/2010...
I would suggest some rules, e.g. http://critical-thinkers.com/2011/03/critical-thinking-the-r..., except I don't follow those myself. Discussion is just a tool for idea generation (brainstorming), having a position at all is the fallacy. At best, you have a mixture of labels, e.g. 40% black / 60% white, based on random sampling of opinions.
Well, I wouldn't say salaries "suck" outside of well-known tech centers like SF/Bay Area and NYC. They aren't great, though. Even in the Bay Area, at least, the salaries of engineers still pale in comparison to the salaries of managers and executives.
Thanks for sharing this!

-An aspiring game dev
I'm a programmer who's been programming for a long time. The worst type of project for me is to go into a pile of code and start making changes. Many times I can get away with it but most of the time I pay by breaking the code then or finding the trouble later.

The genome is no different. If you make changes at one point you're bound to get unintended consequences. This article does not surprise me. The big problem is that we can't back up and start over.

We think now that global warming or nuclear weapons are the problem but the real threat is something we don't expect. Like screwing up our biological environment by changing the genome without knowing enough about the consequences.

Does anyone know how to backup and restore that?
>We've been writing SQL for decades without such complaints

People have to do exactly the "State what I want done in another way to nudge the DB into a performant path" that he was talking about all the time in SQL.

But SQL is a specific domain where it is (probably) worth it.
Who said money was heartless
I once asked a retired Japanese computer scientist why the 5th generation project had failed. He said: "What do you mean 'failed'? All my former colleagues who had worked on this project went on to become full professors!"

Also, I once attended a talk by a Japanese researcher who was intimately involved in the project. One significant phenomenon at that time was that commodity hardware was progressing much faster than had been anticipated, in the end eclipsing the specialized designs that were being worked on.

There are other reasons too, and here I can only say that Prolog as it is today had very little to do with the outcome. In fact I think this would be a great follow-up question to the present discussion!
Using immunotherapy and a genetic glitch to give cancer patients hope
No. If for absolutely no other reason, through Windows 7 at least, Notepad allows you to undo only the last thing you've done. That's a perfect, one ingredient recipe for inevitably losing work.
According to wikipedia, in 2015, the population of Europe minus Turkey and Russia was 628 million, while the population of US was 321.5 million. That's about twice the US, without even addressing the debate about whether Russia and Turkey should be included.
Show HN: Minimal Music Suggestion Service
Can this be used instead of Lua with Redis? Is there an example somewhere of that?
To an audience of CS majors this will probably sound like trolling but honestly I have never used any software written by a "computer scientist" that I came to value and rely on -- software that I consciously chose to use.

Whereas I have found such software on multiple ocassions written by mathematicians or persons in some other field, e.g., physics, etc.

As a user of software, I do not believe that a computer science degree is of any significance in terms of the ability to write good software.

The blog post makes a comparison to Liars Poker. Perhaps it should be noted that the author of Liars Poker majored in art history. It was not necessary for him to have a particular degree in finance to do his "job". That was the point of book.

The question to ask today is whether one needs a degree in CS to write good software.
I agree that the software engineering profession isn't one with much prestige vested into it as a profession.

However, the technology industry, especially up and coming start-ups, and the established players like google,facebook, or apple are some of the most prestigious companies to work for, in some ways surpassing that of McKinsey or Goldman Sachs in the eyes of an everyday person.
Flipbooks Help Prisoners Stay Connected to Their Loved Ones
It's called video inpainting. I'm not familiar with it, but here's one paper with video examples I found: http://perso.telecom-paristech.fr/~gousseau/video_inpainting...
Never mind that, your company is still awesome, and with Tarsnap now running on Windows (10) thanks to the 'Windows Subsystem for Linux' I'm sure it will do a lot better in the coming years.
This definitely feels like a bubble. But if anyone is interested in investing in some potentially cool tokens and projects, I personally think the most interesting ones are:

1. Tezos (not part of ethereum ecosystem)
2. Golem (part of ethereum)
3. Litecoin (they are pioneering the lightning + SegWit protocol first, before BTC, the price could rise dramatically if it's a success)
4. Dogecoin (this one is just fun and has been a cult classic since it came out, don't recommend anyone buying, just fun to add it to the list, much wow)

Disclaimer: I own no position in the above nor am I affiliated with any of them. These are just my opinions.
The unique color solution doesn't scale: Imagine that across multiple files. Imagine that in a large project. Imagine that with color blind people.

Then, when you remove parenthesis, it's the same as removing a lane delimiter. Matching parenthesis can already be confusing, now try matching invisible parenthesis. That creates more problems than it solves.

If this author wants to borrow aspects of Python, I suggest reading PEP 20: The Zen of Python. "Explicit is better than implicit".

Implicit parenthesis, implicit braces, implicit returns... the more implicit stuff the more work you need to do in your head, and the more you rely on humans. I thought programming was about giving more work to machines, not to humans.
Are you aware that TIC-80 supports moonscript? It's one of the better PICO-8 "clones" out there.

https://nesbox.itch.io/tic

https://github.com/nesbox/tic.computer/wiki#cartridge-metada...
What's it like being a resident bad@$$?

In all seriousness, what's it like running a company using a language you built or is there only a couple of other employees? Also, I guess you're not worrying about bitrot as you can maintain it yourself and it doesn't need anything other than lua to run correct? Also, why did you originally pick lua. I'm gonna stop and read the articles now :).
> it is a relatively new field and it hasn't been embedded in society as high status yet

I'm not sure status plays into it, but I think you're onto something in that it's not fully established yet. If you want to be a doctor, you need an MD. If you want to be a lawyer, you need a JD. If you want to be an engineer in the physical world (civil, mechanical, nuclear, chemical, etc), you need that degree. But if you want to be a developer, you just need to demonstrate and ability to do it. You can have your degree in a completely different subject, and you're still able to get the job. I've even seen places that preferred hiring mechanical engineers and physics PhDs to write code. Likewise, there's no professional accreditation board and certifications are often viewed negatively by employers.

In time, as programming develops as a discipline, one of two things will happen. Either these barriers to entry into the field will spring up and the CS degree and subsequent licensing exam will become a prerequisite for working in the industry or programming will become a part of the curriculum for many other disciplines and the days of being a specialist in programming will he over. But it's still new enough that neither end state has been reached. And in the current state, the only purpose of a CS degree is to learn. On paper, after four years in college, you'll be a less desirable hire than someone who spent six months in a developer boot camp and then got 3+ years of industry experience.

I'm not saying a CS classes are worthless...I greatly enjoyed everything I learned in them and I feel I'm a better developer for having taken them. But the degree, itself, is no different than a math or physics degree when applying for work, so it shouldn't be a surprise that it's not as popular as a major.
The parent lists a handful of European startups. Just incase that list was being presented as an example of Europe's startup prowess, I just wanted to temper any enthusiasm by pointing out that on a per-capita basis, the density of startups is much lower in Europe.
I've been using Firefox since forever. IE was mostly hopeless. Opera was cool for a while. But once I'd left Windows for good, Firefox was clearly the best option.

I love that Chrome sandboxes itself. However, there's just too much Google in it. Sure there's Chromium. But even that contains Google blobs.

So yes, Firefox it is.
Even with the birthday problem, sqrt(52!) is still about 10^34, which is still huge. It's unlikely that any two (sufficiently random) shuffles in history have been the same.
US considers global laptop ban on flights
Any thoughts on Augur/Gnosis? Those have a real use case in my opinion.
Woot!

We had a crack at a formally specified networking component 30 years ago, and it was hard in part because the tools were lacking or hard themselves to reason about. Tried to move to simpler logics but in effect ran out of time. Actually, our funder ran out of money and keeled over...
No, the whole elegance here is in the simplicity of the puzzle, and no child would get excited about anything like what you are suggesting. Unless you're missing a /s tag somewhere.
So this is a platform which aggregates datasets, and then you can share your work in a community managed by FaceBook? Is this a "we do AI" branding move, or do they expect scrappy innovators to engage in a platform managed by a large corp? Appreciate the idea, but also getting a "hail corporate" vibe.
Russian Hackers Are Using Google's Own Infrastructure to Hack Gmail Users
Have you read google's website code guidelines? They actively encourage breaking the standards to save characters as long as it renders ok. It's kinda wrong, and I'm sure they have a little list of tricks they can pull to break one browser but not another.

Example: Google search with firefox mobile has unclickable links if I change my user agent to IE8. Literally nothing happens when I tap a link. They are in too deep and starting to break things.
Programs that you enjoy using are put together by folks with the skills "product and user experience". If they know how to code, good.
I'll give that a shot next time. Thanks for the suggestion!
Great! Mason bees are very gentle, and are good pollinators for fruits, nuts and certain flowers. We've had a small mason bee house for a while in the back yard. My son loves it. :)
That exact anecdote is in the friendly article, with better spelling.
Nah, they break one piece out, flip it and then put it back in, then mess up the pattern and gift it to someone for their birthday.
The chart shows degrees conferred, not how many people are enrolled in a degree. I've been teaching CS at universities since 2010 and I've seen a tremendous growth in CS enrollment. On the flip side, a large number of students fail.

This spring, I failed about about a third of my pupils in the intro class and in following data structure course.
If this holds true for future semesters -as it has for the past few- only around half actually make it through data structures.

CS is hard, and not just because of how exacting the syntax is. It is completely new for many students. Engineering is hard, but a student has expectations they could draw on from math and physics. Same with biology related fields and chem related fields. There are expectations from high school a student can draw upon.
I think this reflects writing software in some ways, judicious 'editing' is important. It's realizing what you don't need that is as important as what you do need to keep in there, at least in terms of avoiding snowballing tech debt/feature creep.

My first attempts at writing were monstrosities of flowery descriptions and long-winded dialogues, an awful hybrid prose/poetry. That didn't improve, but I realized the art is getting an interesting message across as simply as possible, not showing off your vocab or pre-empting the reader's imagination.
That a "toddler shuffle" requires not-yet-developed math techniques for analysis ... fascinating!

> "The model does provide a framework for relating the size of the deck to the amount of mixing time needed, but pinning down this relationship precisely requires ideas from a mathematical field still in its infancy, called the quantitative theory of differential equations."
It took you for me to realize that op didn't mean San Francisco. It made sense for me either way.
What went wrong at BA?
$50K Per day hahha

There was some podcast or something I remember listening to guy said he was worth $15K/hr or something haha man, I am a grub
WHAT a GOOD NIGHT LOOKS LIKE
Shuffling a deck of cards is a basic coding interview question, but I prefer a more interesting version. How do you code a simulation of real-life shuffling? Take a basic riffle. Cut the cards roughly in half and interleave the cards. Of course if they are perfectly interleaved then the arrangement is not random, so that's not what happens. In reality there's a "clumping factor" that causes a few cards to stick together on each side. What other variables are at play? Can you reproduce the finding that it takes seven shuffles to fully randomize a deck?
Evaluating Compression with Pareto, Docker and Gnuplot
PROMO CASHBACK HOBITARUHAN
I think they have other sites as well (not that I would personally know haha) the source of the embeds are from xvideos as well props to them. Also their technology is good regarding hover-plays-clips versus cycling through screenshots... I wonder if they employ ML in auto-tagging content, that was a job I did once on AMT.
I've always thought a great feature of shows/movies with subtitles would be to the ability to display multiple at the same time.

It would really be useful for learning assuming the subtitles are translated well. Right now I've been able to do something with my own content by merging two subtitle files.

Maybe you could also add a transliteration of the characters if its a language like Chinese.
Sure, it's good to be wary. Though even blaming any crises at the end of free banking episodes, still seems to leave a pretty good track record overall.

As an aside:

Reading about how free banking can automatically can adjust the amount of bank money created over eg a fixed amount of gold to keep nominal GDP stable even in the face of eg increased demands for holding money from the general population, made me much more sympathetic to bitcoin's fixed supply than I'd been before. Since some kind of inflation, price level or nGDP targeting seemed like a good idea for a currency regime, and I could only assume that bitcoin was bound to fail before.

Of course, the mechanism George Selgin describes don't necessarily have to work that way. But at least it's something that looks plausible.
> it hides too much stuff

The Ribbon was created to improve discoverability, in part because users were constantly requesting features that the Office products already had. User testing was performed to verify that the Ribbon improved discovery. I believe there is/was a series of blog posts on the Office blog that go into great detail about the design.

> Just a taste thing though I suppose.

Could be. Or perhaps the UI/UX folks in the Office organization did the testing incorrectly.
You might trust different people with different things.