skysight-inc/HackerNews huggingface dataset:
It can also be a copyright violation, depending on where the code is copied from.
Learning about different languages and what they are for will give you an extremely superficial understanding of what's going on. A little knowledge is a dangerous thing.

I recommend skimming a book like "Computer Science An Overview" to get a handle on some key ideas an terms. Then you can look at some case studies from from industry to find out about specific technologies. New technologies and buzzwords come all the time, so try not to get too hung up on specifics. Good luck!

My condolences on the sudden job transfer. I work in Japan too and the practice of moving employees to completely different areas of the company every 3 years is one that needs to die quickly.
Home kitchens used for family meals have inherent reasons to be safe, and safety nets:

They're usually cooking The food for themselves/direct family, so while accidents/mistakes can happen, they're not motivated by profits to cut corners.

Secondly - the distribution potential for the food is quite small. If something is unsafe to eat, you have a small group of potential sufferers, rather than 100 or 1000 people all over the state/region
Ultimately true native is the best. If you can engineer the maximum amount of logic in the backend and have the thinnest possible clients, you will be so much happier even with the "duplication".
30 of Our Favorite CSS Resources from This Year
I TAed every semester of college except my first, and went to a small liberal arts school where cheating was legitimately uncommon. However, I'll never forget the following exchange:

Student: Why did you give me a 9/10 on the sorting lab?

tsm: Your shell sort didn't work for n > 7

S: But Professor Smith looked over my shoulder during the lab and said it looked fine.

tsm: And in fact it breaks for n > 7; I don't care if Alan Turing looked over your shoulder and said it was fine, if it breaks it breaks.

S: proceeds to pout at me for literally the rest of the semester, failing to understand how the professor-anointed code could have problems in it
What happens when a black hole’s singularity evaporates?
I was there the same time you were and while I thought I came in knowing a lot but I was dead wrong. I had to learn a ton of things from the ground-up like everyone else.
At some point it would incrementally more effort to just write the stuff yourself. Most of the time in undergrad, you're just implementing the (provided in pseudocode) data structures and algorithms from the textbook anyway.
Is your company actually selecting 20 kids at random, or selecting 20 from the best of the ones applying?

Are you also comparing this over a long timeframe? 112 in the 70's -> 100 now means less than 1 point every 3 years. You probably can't notice a difference that small year over year.
I think the distinction sidegrid was making is not actually about pronunciation but about the two uses of have as an auxiliary verb and as a verb indicating possession.

https://en.wiktionary.org/wiki/have#Verb

My impression is that standard American English only contracts the auxiliary verb ("I've biked up Mount Tamalpais") and not the possession verb (?"I've a pair of prescription sunglasses"). Hence "I've been diagnosed with bronchitis" (auxiliary) but not ?"I've a case of bronchitis" (possession).

However, I think this rule is different in Commonwealth English, so we might just be witnessing a difference in English varieties.
Likewise, this article seems to have no basis in reality. Besides Princeton and Stanford, it's also the most popular major at Brown University, a school typically known for its humanities and social sciences.

Everywhere I go, computer science departments are crying out how much enrollment has swelled, and they can't keep up. Intro CS courses are typically 400-600 students.

Every article that describes CS enrollment uses the terms "exploding" and "surge".

http://cra.org/cra-releases-report-surge-computer-science-en...

Even in 2014:
https://www.geekwire.com/2014/analysis-examining-computer-sc...

This certainly feels like "fake news" to me.
Bitcoin correction sees nearly $4B wiped off value as price falls 19%
When I visited China a bunch of years ago, zh.wikipedia was completely blocked, and on English wikipedia, only certain articles were deadholed (tiananmen square...)
yes, I still remember never getting fortran to do anything. C++ was easy to pick up. funny how picking one bad class can kill a subject for you.
> The very fact that you must write (function sin), or #'sin, or use funcall is a way that it treats functions differently than normal values.

Look closer. I have not used FUNCTION in 1), 2) or 3). Common Lisp does not treat functions different from other values. They are first class values.

These are the three operations which define whether functions are first class values:

( https://en.wikipedia.org/wiki/First-class_function ) :

1) passing a function

2) returning a function

3) assigning them to variables or storing them in data structures

None of that requires anything special for functions in Common Lisp.

What you need to do in Common Lisp, is to use FUNCTION to get a function from a lexical name and you need to call such a function via FUNCALL, but that has nothing to do with the requirements for a 'first class datatype', which is defined by the three requirements above (passing, returning, assigning).
You're not at all wrong. Changing how things reflect on the income statement is a bit of smoke and mirrors; it doesn't change the underlying truth, but does change how they're represented.

It's a weird, weird world.
Not the person you asked, but I can assure you, it's a good thing. And I feel the same way.
I was simplifying the example.
Imgur is not even remotely the pioneer. They're the most recent in a long line of image hosts that built up a userbase with a simple functional website, followed by sacrificing that to be able to serve ads.
The auto companies everywhere except Tesla are so far behind.

Lived in Detroit most of my life. When discussed, the big 3's problems get brushed away irrationally.

But it's worse than the future catching up with the auto companies. I feel like the execs don't even know how to market to their customers.

Comparing Mary Barbra's unveiling of the Bolt to Elon's Model 3 was night and day. Elon had a teleprompter but he spoke like a normal guy about things he and I am interested in.

On the other hand Mary's speech was stiff and read word for word. They used early 90's cutting edge graphics in the background at one point. They talked about the history of GM which no one cares about. It felt like it was directed at share holders not customers.

A lot of ideas about how to run a car company will change. I'm not sure the big 3 will make it.
http://www.datacenterknowledge.com/archives/2011/03/10/are-t... <-- NetFlix does it, as one of the few public examples of this.

If you read the AWS economics page, they go into it slightly, but are quick to defer to the customer's finance and audit teams.
Me too; this is the first I've heard of it. I guess I never scrolled down enough to see it.
Thanks - this is great. I stand corrected!
This is basically how I learned to program.
Overall the slowdown is 3.3x, but in memory usage it places third and in startup time it's in the top 10, and both of these are only about 1.1x slower than the fastest. I wonder how many cases would give a better UX to have the smaller, faster to load library.
My Cousin smart kid had to come over at midnight because he had his first java assignment outside the ide. Couldn't compile because class path was not defined right on windows. Things like that scare people or pop their confidence.
On the other hand, I took a theory CS course in college, and all of the pure math students found it extremely easy with predictable lectures and short obvious homework assignments, while all of the programming-since-they-were-5 but not too mathy students were in way over their heads, and really struggled a lot.

It’s all about what you know...
Aaaand the top thing on the list is AI x-risk. Of course.

If there's anyone left in EA willing to listen: I'm begging you, please stop this foolishness. To everyone outside the bubble, you look like lunatics, and it has done immense and possibly irreparable damage to the EA "brand" which could otherwise be capable of such great things.
This is on a renting economy.

Sharing economy I feel usually refers to a person-to-person marketplace where asset ownership is decentralized (i.e. airbnb you rent out your room or uber you rent you a ride in your car).

That said, I agree with most comments that bike renting sounds quite useful, but things like umbrella renting sound a bit more dicey.
Because 馬 sounds like ma and 來 sounds (a little) like lay (actually, lie).

So, Malay (ie, of Malaysia).
I totally thought the state-of-the-art for OCR would be ConvNets, but apparently it isn't? Or are there just not any easily available/usable libraries that do OCR with Convents? Or is the benefit of ConvNets marginal enough to not be useful?
revoking the root outside china will have no bearing within. All devices sold and used in china could be forced to include that root. There is not a lot a user could do , especially in mobile if you have locked phone and only access to the official app store
Remaining Trouble Spots with Computational Thinking
I should have thought about beer money. But I was such an introverted geek.

I do remember watching other people trying to figure out how to use a mouse or the most basic stuff. I've already studied algorithms and data structures and had a paying programming job. Most of the CS work seemed trivial but I did learn some math. The math did get hard so the degree was definitely not a breeze. Even with CS there were areas that were less trivial like computational geometry or numerical methods but I had the advantage that coding was a non-issue so I could focus on the essence.

Many many many years later, I still often make the mistake of assuming things that look trivial to me are also trivial to others. It's just so hard to tell whether something is universally trivial or just trivial because you've done it so many times.

I wonder if the current generation's "playing" with their phone/computer/tablets gives them an advantage over the previous generation. I do work with quite a few sharp young people but I don't know whether they had programmed before going into CS or not, I guess I should ask...
As a Commonwealth English speaker, I am not aware of a rule preventing contraction of the possessive verb "to have." Maybe there is, and I'd be interested to learn about it.

Having said that, commonly I wouldn't say, "I've a case of bronchitis," rather just "I've bronchitis." It feels more natural to say "I have a case of bronchitis." However, this may just be personal preference.
Computex: GeForce Partners Unveil Over 40 New Products, Including 15 New Laptops
React native isn't a hybrid app like Cordova. I recently gave a talk on the differences which you might find interesting:

https://t.co/7A48VDRHXU?amp=1
A Literate Haskell blockchain might just be Peak HN.

(Definitely peak HN if it runs in the browser).
Funeral pricing comparison website targeted with legal threats
And how would you make sure Wikipedia honors that clear-text URI (instead of a different encrypted URI inside the request)?

Even when using SNI (the optional extension that sends the domain name in cleartext), the web server fully entitled to ignore it.
Even Facebook disowned it. Now they say "move fast with stable infra." http://mashable.com/2014/04/30/facebooks-new-mantra-move-fas...

Breaking things only makes sense when the stuff you built is small enough to not matter much (it's a tradeoff, etc)
Very exciting - thanks for sharing. Now we just need proper multicore and that's a versatile modern language.
Uber walks away from Otto trademark
I'm now pretty sure that the rule is specific to American English.
If your 5% at the new valuation is worth a lot more than $100K, I would say don't do it unless you need the money in the near term.

For example, if XX is 10, 5% of $10 million is $500K.

If you do need the money, maybe you should make a counter offer that is a better deal for you.

And don't forget you have to pay income tax this year if you do sell. If you wait, obviously you also delay the tax.
1. Separate processes for UI and tab rendering/computation. Same reason iOS is always smooth; in addition to allowing faster access to menus, inspector, extensions etc., it simply feels faster to experience an interface at a constant 60fps.

2. Can pass work off to more CPU cores. I'm not sure of the real world performance gain, but theoretically you could render three heavy tabs and the Firefox UI on a 4 processor CPU almost as fast as one heavy tab in single processor mode.
Found a paper! Yes, it is better. Maybe not for this specific application and given there's no pre-trained network available, I can totally understand the choice made. https://www.semanticscholar.org/paper/The-recognition-of-Chi...
Netsil's stream-processor is programmed using Datalog, which is a subset of Prolog.

Our architecture/use-case: At Netsil, stateful packet processing pipelines are written in declarative rules and materialized tables are backed by SQL compatible embedded in-mem DB. Tuples are executed in parallel and parallelism is controlled by specifying context constraints in rules (e.g. packets within same TCP flow should be processed in order). Further, Datalog workflows are distributable by providing "location specifier" in rules -- i.e. Tuples and attributes serialize to protocol buffers and can be sent/received over ZMQ. Also, the materialized tables in Datalog can be made to sync up with Zookeeper, allowing distributed stream processors to do service discovery and so on. It's a pretty sophisticated runtime/compiler, written primarily in C/C++ for optimal performance. The underlying runtime uses a combination of Intel TBB and Boost ASIO.

We are in general big fans of declarative approaches as they have saved us a lot of time, allowing our small team to leapfrog the competition. You can learn more about our architecture here: https://netsil.com/blog/listen-to-your-apis-see-your-apps/

Disclaimer: I am co-founder of Netsil (www.netsil.com).
Well, the big 3 are all currently profitable, so they have that going for them. I'm not sure how Tesla is going to make it as they continue to overpromise, underdeliver, and hemorrhage money.

I do agree with you though that Tesla is far better at marketing.
These days, at least half of the requests I see come through my CodeMentor profile are blatantly obvious homework assignments.
Neat. Just browsing through the source, is there a reason that:

calculateBlockHash (Block i p t b _) = concatMap hashString [show i, p, show t, b]

is not

calculateBlockHash (Block i p t b _) = hashString $ concat [show i, p, show t, b]

i.e. why is a block hash a concatenation of 4 SHA-256 hashes instead of just 1? Is there some security benefit of doing it one way vs. the other?

edit: thinking about it a little more, option 2 seems better because in option 1 you can calculate 3/4 of a block hash without knowing the previous block's hash. Maybe that's not a problem in this context though?
I think you're romanticizing Silicon Valley. There's plenty of startups all across the world and there will likely be even more since we have such an anti-innovation administration now.
>mass outsourcing

winrar! Came here to say that. ctrl-f says you're the only other person to remember it.

https://trends.google.com/trends/explore?date=all&q=outsourc...
I went to one of the better University of California campuses like 20 years ago. And my friend majoring in CS told me a CS professor caught about a third of his class cheating in their take-home programming assignments. This was in a lower level CS class.

He ran an analysis through turned in assignments and discovered almost a third had patterns that signaled it had been copied from someone else's work. This is before github so the suspicion was that some were copying code from other classmates.

We will always have cheaters.
> "Advertising" isn't a business model

Someone alert Larry and Sergey, right away!
A few more tricks:

- CIDER, the de-facto Clojure environment for Emacs, has a debugger[1]. This is also true for some of the larger IDEs, like Cursive.

- Timbre[2] has a number of cool debugging macros, especially spy, which you can tack onto any expression and it'll log it for you. Very useful, similar to the macro in the post, except you don't have to write it :)

I really can't overestimate how valuable a real REPL-driven development environment is.

[1]: https://github.com/clojure-emacs/cider/blob/master/doc/debug...
[2]: https://github.com/ptaoussanis/timbre
Did anyone else find this disturbing: "Chapar used UDP, but did not handle packet drops because it assumed the network layer was reliable."?

This is a serious case of missing the forest for the trees.
Provide dynamic pricing based on customer user roles on your WooCommerce store
My 2 cents:

1) It's hard. Very hard. Unlike most other subjects you can't fluff through it. It works or it doesn't.

2) Every programming class is a ton of work. Even if you're great at the subject, it's generally your most time consuming course.

3) Because of #2, if you don't know from Day 1 that this is your major, it takes forever to get through the coursework.

4) More than most majors it's very hard to take even the intro classes if you haven't done it before.

Perhaps because of all this, most CS majors I know are people who just couldn't imagine majoring in anything else.
There's a fine line between cartoon-villain evil, exemplified by people like Kim Jong Un who just doesn't seem to give a fuck, and just-enough-to-achieve-your-objectives-but-not-enough-to-make-too-many-people-notice evil, which is what China is aiming at.

Lots of people travel in and out of China with all sorts of computing devices. China does care about the reputation of their root and of their highly profitable electronic exports.
For people used to Scheme (or most other programming languages, I guess): note that def will create a var in the current namespace, not a locally-scoped variable. In Scheme, or e.g. in Python, a define or = in the same spot as that def would get you a local var. In Clojure, the idiomatic way to do the same thing is normally a let or something -- but using def here makes it easy to access from a REPL running in that namespace.

(A var is a Clojure thing that holds a value. If you've ever had like a "fully qualified path" to a class or object and had to describe it as a string or whatever, that concept is a first-class thing in Clojure, and called a var.)
Yes there are many algorithms that are naturally 0 indexed. But there are also many that are naturally 1 indexed! This is somewhat unscientific, but I once went through the first quarter of an algorithms textbook. And counted how many were naturally one based or zero based. And on most it didn't matter, but there were slightly more one based ones.
Most programming jobs are easy, it takes effort and luck to find one that is not. Things like system administration and configuration are largely about remembering thing. There are some aspects of it that are harder and require being good at math - by you dont need them on practical jobs and they are still easier then real math.

But realistically, a.) memorizing that much is hard b.) my friends who studied chemistry said that it becomes much easier when you understand how it works.
How much energy would that same human provide when dried, burned and used as heat energy to power a turbine?

I mean, I ask for no other reason than curiosity.
Well, I suspect the construction industry isn't going to start calling an 8'-2x4 board a "2.4384 meter 50.8x100.16cm board" anytime soon.
Some of the stuff in Moonscript feels a little overdone and magical, like parens-less function calls and the syntactically significant whitespace - but others really feel like they're fixing the gaps in Lua. Moonscript's nice lambda syntax, ternary operator, default local, implicit return, etc.

But I don't think I really needed the ! operator, for example.
TBH CSE has some of the best toolset available to the general public. It also has one of the lowest cost of entry as well. Compare a misplaced semicolon that throws a compiler error to, say a miswired electronic component, which most likely kills the chip and possibly other chips connected to it... and the fact that a breadboard offer no "syntax checks" to make sure signal input is not connected to power signal... I say CS/SWE has probably the best toolset out of all engineering disciplines.
That may depend on school. I have seen opposite - chemistry requiring much more work and being harder. I never found algorithms particularly hard.
Personally I find not keeping things around just for legacy reasons a feature.

As long as they signal deprecation with enough notice (which they are very good about) then it shouldn't be any real issue.
I would love to see something Haxe based that worked across platforms, including the various desktops. It's pretty much there for games, there's just not good native widget support :(
The "straw man" in the straw man fallacy is the argument that nobody is making. The comment about "Java is right here" is not a straw man fallacy -- but it is a straw man.
Giphy is mostly used to host content to be posted on third party sites. An upload app would be useful but by no means crucial, and nowhere near as trafficked as the content itself.
Um, I disagree with this. Plywood still comes in 5/8" and 3/4" thicknesses. Boards are still 2x4's and 2x6's, in even feet lengths. I own a wood shed manufacturing business.

These sizes aren't going to change, nor are people going to start calling an "8'-2x4" a "2.4384m-50x100cm board".
One more: Native Script, uses Angular or vanilla JS/TypeScript - https://www.nativescript.org/
I loaded up with theory classes in college precisely to stretch myself and learn more of the difficult things that I wasn't yet already competent in. I'd been programming since I was 9, and could handle the programming projects just fine (more easily than most other students), but the theory classes were more challenging and I wasn't going to learn that stuff if not in school. It ended up being quite helpful for Google interviews later anyway.
No, but there's a lot of FUD floating around from people that don't understand Patent Grants and how they provide you, as an explicit license, with more rights than an implicit now-you-have-to-hope-you-can-prove-it-in-court license.
Yup, at Berkeley the intro CS classes now regularly have ~1300 people taking them, up from ~650 5 years ago.

The number of CS majors has exploded.