skysight-inc/HackerNews huggingface dataset:
This is the sort of thing that reviewing other people's performance can really help with. Offer to teach classes, grade homework, or whatever.

Second thing that helps me pretty well is doublechecking through another path. You know, figure something like this out, check if the angles of the triangle still add to 180, check if substracting half the equation from the previous step still yields the same, that sort of thing. For the problem you said, find an "easy" definite integral that is easy to calculate (e.g. a sine is 180 degrees of the unit circle, so integral(0,1,x->sinx) is p/4).

So take a "trivial application" of the mathematical expression (like calculating the area of the unit circle), and execute it on every step, calculating what should be the area of the unit circle. As long as you replace expressions with equivalent expressions the outcome should stay the same.

And for coding, unit tests, but more than that, running the code, using a debugger or so.
While you don't need any math to have an intuitive understanding of how steam engines work, you need to understand thermodynamics in order to engineer efficient engines, which is what happened in the latter part of the 19th century. The development of the science of thermodynamics was greatly stimulated by its applications, and vice-versa.

I imagine there is a similar story in chemical engineering.
Slower not meaning safer is because a slower driver among faster drivers causes more lane-changes, which are a less-safe maneuver. Everyone travelling the same speed is the safest scenario, with slower then being safer, as impacts occur with less energy.

If everyone strictly obeyed the posted speed limit and treated it as both a minimum and a maximum speed, as driverless cars would likely aim to do, roads would be safer. The interim state of having both driverless and human-driven cars on the road at the same time is where problems may arise.
I don't like these "share to unlock" features, I don't have accounts with twitter or facebook.
+1 for this recommendation, even if you don't buy into TDD after reading it, it also covers a lot of great OOP principles as well.
yeah I have to make liberal use of :hibernate to avoid just this.
Yelling that correlation is not causation 1000 times is ignorant when the effectiveness of a method depends only on correlation, and does not depend on the existence of a causal link. And in the case of filtering, that is the case.

Think screening for a virus vs trying to cure the virus. If warts are a symptom of the virus, having warts absolutely matters in screening. However, cutting off the warts will not remove the virus.
Especially at non-language specific conferences. I was at a talk once on Clojure where the speakers spent quite a bit of his opening bashing PHP.

Later he asked the audience what language they use, and as everyone blurted out theirs, I blurt out PHP. There was a literal gasp from the audience.
> I echo the author's point in "Review the code with its author in mind".

I don't understand how the rest of your post relates to that, although I think it's an interesting point and following discussion.

On the topic of reviewing code with the author in mind, I'm not sure I agree at all with the linked article. Does it matter who wrote the code in any way? Good code is good, and bad code is bad. It may be a helpful hint to remember the author was a senior engineer (who may "know more" than you do), but is it really something to keep in mind the entire time you review?
While being sarcastic and not really giving any meaningful technical information (which is fine!), this quick read made me remember that I definitely became more productive when I stopped seeing myself as a '[php/node/ruby/c/whatever] programmer' and started describing me as a 'problem solver using the best tools for a given context'.
Again, so what? My responsible is to myself, my spouse, and my kids. I'm going to move to wherever I can get the better quality of life for us is.

If I have dependent relatives like parents, they would have to move where I move.

EDIT:

Thanks for the possible clarification. I'm thinking very US centric. I forgot that many other cultures seem to place a higher value on being close to and living with extended family than we do.
Statistically yes. Though, not "everyone associated with it", mostly the top dogs.
Templated strings are great for when, as the name suggests, you want to create a string with some placeholders to be expanded at a later time.

When you just want to interpolate a string on the fly, Fstrings are absolutely the right thing to do most of the time.
Wonder what this guy could do with access to salvage parts like that..

http://www.bbc.co.uk/news/world-asia-india-41813389
The Apocrita geek in me now also wonders if the combs only spiral in one direction.
For more on the British computer industry and why it was a failure despite being world-leading in the mid-1940s, see Marie Hicks' "Programmed Inequality". It's part of the venerable MIT Computer History series.

https://mitpress.mit.edu/books/programmed-inequality
I get that the author is joking but seriously Php is still the best language to get shit done even today. For small businesses Php is still the best thing that has happened for them.

Also just yesterday I found this tweet by the creator of nomadlist which really puts things into perspective :)

https://mobile.twitter.com/levelsio/status/93870716650815488...
It's mostly anecdotes and personal experience. I think that data on salaries, etc, is mostly public too, so you can probably see for yourself that they aren't competitive with SV or Wall St.
As a taxpayer, I find the entire idea that the NSA pretended to be for honesty and openness to be funny.

What's next, the CIA is about hope and change?

As a taxpayer I accept that the NSA is the SIGINT side of America's spyforce, while the CIA is more of the HUMINT side of our spyforce.

The entire idea that the techie side of our spyforce claimed to care about "openness and honesty" is rather absurd and hilarious in the first place.

As a side note: the kind of journalism being requested here appears not to be the "hard hitting, fact filled, context-aware" news we should desire, but some kind of biased political hackjob attacking America's spies for engaging in the nature of spies?

Where are the journalists pointing out that spycraft, by definition, is dishonest and closed!
I'm also making a backend for Idris:
https://github.com/jameshaydon/idris-elixir
12 Chinese robots taking over everyday tasks
Dear Elon: Tesla's Base Is Not the Model S Coalition
it includes some grub setup for compiling static assets though, and is a fast way to get an endpoint up and running.
Plus if you decide to issue another, similar prize. People know then had better get on with it.
That’s exactly why I read the post, asking me where it will go with this strange statement;

Then I saw the emoji and thought « Ah. One more »

And then finally it was fun.
It's definitely not in the same problem class as "Nobody is buying our product"

But it risks them having much of a position in the gaming market, long term. And right now whilst the mining market is lucrative, I would be trying to cater to the gaming market too, for longer term stability.
SoftBank Leads $865M Investment in Construction Tech Startup Katerra
I challenge your best book with the book of Kent Beck (founder of TDD)
https://www.amazon.co.uk/Test-Driven-Development-Addison-Wes...
I think if you have an evolved enough type system, then there isn't such a problem. I have written an Elixir backend for Idris and given some examples of well-typed actor communication here:

https://github.com/jameshaydon/idris-elixir
Weiss Ratings Ratings leaked
On Linux, it's even easier (lol, who would have guessed?).

I recently had the need to compile quite a bit of software to run on the Pi zero, and the ability to be able to "chroot" to the Pi on my PC has made the experience so much more pleasant. Everything compiles ten times faster!

I also noticed that none of the available guides work well with Ubuntu 17.04 (and possibly newer/older), so I put together a simple script to do that on Ubuntu for anyone who is interested. It will always work when you chroot on the sdcard:

https://gist.github.com/htruong/7df502fb60268eeee5bca21ef3e4...

You can theoretically chroot into the image directly, but the resizing the partitions operation is unreliable on the host for some reason, and it might cause the image to not be bootable. I've found myself better off booting the sd card once with the vanilla image on the Pi first so it resizes itself before chrooting into the SD card.
"By writing their own framework, a developer can truly separate themselves from their competition by reinventing the wheel in a way that makes sense to them."

Now I know you're not a good developer. Do you want to reinvent the wheel everytime you code? Have you heard about composer packages? About libraries with millions of downloads? About symfony components and many more reusable components.

You are too ignorant to see how much PHP evolved in the last 3 years.

Legitimate asynchronous programming - false, there is: https://reactphp.org/ and https://amphp.org/

Build your own React TODO MVC app boilerplate - React Js is a javascript framework, do you know what you're saying there? lol

Program in JavaScript - most PHP devs become JS devs
In addition to what everyone else has said about just having more experience, my suggestion is slow down and think... and to use assert a lot!

I've noticed that some developers rely way too much on tools to do their job and they just don't spend a lot of time thinking. Think about the big picture as well as the details. Think about how your code interacts with its surroundings. Think about what you know to be true at any given line (and write an assertion), and whether or not that thing may ever change. Think about what every line means in isolation, and what it means to the surrounding code. Think about the names you give things.

Maybe it's because of my age, but when I started there were barely any tools to help. Even syntax highlighting wasn't readily available. Debuggers were pretty crap, or didn't exist at all. The best thing we could do to prevent bugs was to really question every bit of code. "What does this line do if x is not what we think it is?", "Can x ever not be what we think it is?", etc

I feel like a lot of developers today don't think enough about what they're doing, and care too much about their stack and their tools. Instead of moving fast and breaking things, perhaps instead try moving carefully, and try not to break things.

"The most effective debugging tool is still careful thought, coupled with judiciously placed print statements" - Brian Kernighan (replace print with assert for my interpretation!)
Mid/low market competitive sure, they had a 1060 competitor at a similar price point and performance level. But the 480 and 580 are where the range tops out, they couldn't touch 1070+ performance in that generation at all.

Shortly afterwards the prices started to rocket.
I do use Gmail. But I give my hotmail address to companies (like insurers), which ultimately forwards to my gmail.
Response I got from telling someone they were violating the core values “core values are what you strive to do, not necessarily what you are always doing”. I disagreed and still disagree, but it is maybe what more than just that one person thinks.
That apparently did not stop Edison from making a number of bogus arguments to protect his investment in DC power.
“My pick for most promising new genre: the Weblog.” (1999)
It sounds like you need to just slow down when you're working/coding. I assume your handwriting is somewhat sloppy too? If this is the case, then start focusing on specificity of everything you do (and adding a review step to your workflow). For example, you should have said 'too many mistakes' not 'to much mistakes'. Focus on specificity and precision in your writing and thoughts (i.e. each word, each phrase, each comma), then it will follow in your code and maths procedures. TL,DR: slow down to go fast.
Totally agree with this. I've had to pick up the pieces on more than one occasion when some key piece of code was written in the flavour of the month and the writer shortly left. I've heard other Devs say you should pick the right language for the job but I think there should be a heavy bias to what the rest of the code base already is using
I have 18 years of programming experience and it's definitely still true for me. [1] Unless I get some brain degenerative disease, I fully expect to keep improving at least until I'm 80 years old.

I've also seen this echoed by even more senior developers, e.g. this tweet by John Carmack: It is scary to look in some old code that hasn’t been touched in years, and see a completely non-thread-safe static global variable used. [2]

--

[1] My code quality is improving all the time. However I'm more accustomed to my emotions and fully expect progress, so I'm not exactly embarrassed.

[2] https://twitter.com/id_aa_carmack/status/339406631613890560
Some do, but instead of allocating you to a correct position for your skills based on your performance in the interview, you just get outright rejected, which means you have to try again and again until you find a position which happens to give an interview which you can pass.
Reminds me of the book - "The Checklist Manifesto" by Atul Gawande
I think his point was “what were they thinking?”

Imagine Qualcomm made “shooting competitors in the face point blank” a standard operating procedure, and put it black and white in auditable contracts. After the smoke settles, you’d have to wonder: “How did they ever even think that would work?”

But they’re not stupid. The more obvious explanation is that we are missing something. If we’re confused, it’s probably us who misunderstand.
Since Microsoft is in the Linux Foundation and runs Linux guests on Windows, they could contribute to the public discussion on Spectre mitigation in Linux.
It was definitely not enforceable, but it was a great indicator of intent. When I pointed out the paragraph to the President, who wrote the agreement, he said, "Oh, we didn't mean to do that. I don't know why that's in there."

He was a lawyer.

When I pointed out the bank account valuation to the CEO of that startup, he said, "that's not what that says." I informed him that I had run the agreement through two lawyer friends who had confirmed my interpretation.
It was 100% joke/sarcasm, there were no true statements except the part at the bottom about Fuzz hiring both node and php devs. The graphs are jokes too. He is implying that re-inventing the wheel is a bad thing. Unfortunately, that's a strawman for any language.
Would this sort of agreement be legally binding? Even though it it was against EU law, could Apple be sued for breach of contract if they used Intel chips?
Or right-click and "save image as..."
That works too.
Because small invisible changes in the code text can result in actual changes in the logic of the code.
Hi ryannevius, I list some of the reasons to switch here: https://www.remarkbox.com/finally-a-disqus-alternative.html
Hmm, you'd think this would make the stock go down (today), but it hasn't yet.
I know people hate PHP, but I love it. I was able to completely automate my home theatre using it- it uses an Insteon Hub and HTTP commands to drive my dimmers, projector plug, and motorized curtain. I can control the whole room with a website. I can schedule shows or start something immediately and my PHP cron job runs everything, even bringing the lights up for the credits.

To me, PHP is extremely versatile and powerful.
Building a Reading Habit Like Warren Buffett
Show HN: Go-micro – a pluggable RPC framework
If crytpocurrency prices tank, those mining GPUs will flood the second hand market, depressing demand for new GPUs. This will be exacerbated by the fact that they don't have any new/faster products (nothing announced for 2018); why buy new when you could get 80-100% of the performance for 50% of the price?
PeerTube with Mastodon comments. Powered by ActivityPub. https://peertube.cpy.re/videos/watch/da2b08d4-a242-4170-b32a...
Yes, 18.00 beta is the patched version. The current release (non-beta) version is not patched yet. Moreover, the POSIX port of p7zip is not patched yet at all.
This is a satire piece.
It seems obvious that coding and managing are different jobs, and being good at one is not associated with being good at the other.

Good software team management is a superset of coding skill. Not only does the manager need to have reasonable - not necessarily outstanding - developer skills, but also needs to have good people skills, good political skills, a feel for context and strategy, and an ability to improvise creative solutions across all these domains.

The idea that someone who is good at coding should be promoted to management automatically seems bizarre. It's like expecting someone who is good at mountain biking to be good at driving a tank.

So is the idea that management can be measured with "objective" metrics, such as locs, time on/off, bugs killed, and so on.

In fact it's horrifically difficult to quantify the business ROI of software teams or of individual developers. ROI often depends on decisions made higher up the food chain, and it's even harder to get upper management to take responsibility for the consequences of bad decisions and bad attitudes.
This protocol is a successor to OStatus (GNU Social), and mostly made by the same people.

From what I remember, Mastodon switched from OStatus to ActivityPub a few releases ago. In the past they had to extend the OStatus protocol for private messages, which meant some clients may not honor the private status of theses posts. ActivityPub has private messages defined properly in the spec.

It seems PeerTube (https://github.com/Chocobozzz/PeerTube) will also use ActivityPub.
FWIW, the reason there is an empty space after the equals and before the semicolon is because there's supposed to be a poop emoji -- i.e., PHP is "poop". It's a pity, my initial reaction seeing the headline was somebody had found an interesting hack with that particular syntax.
Maybe you just didn't get the point, or are you trying to be sarcastic too?
I think this is probably one of the most viable business models for a "CubeSat" sized payload. If I had a rocket to the moon, that is the first thing I would offer: "mix your human dust with moon dust"
>The “shenanigans” are that it has become acceptable practice to cut corners on security to improve benchmarks.

Nobody "cut corners". Those were unexpected bugs that took more than a decade for someone to even discover, not some deliberate decision to sacrifice security for performance.

>Maybe speculative execution is just a thing that shouldn’t be done?

No, it should 100% be done.

>People computed perfectly well before it.

Perfectly slowly too.

>Itanium isn’t impacted by Meltdown so Intel is capable of it.

Itanium tanked.
Chrome Bookmark Toolbar sucks  a better, simpler alternative
It was ironic to see this title and "here is why I left google" on HN front page at the same time.
The breakthrough drawings of Santiago Ramón y Cajal
"This is one area that YC has a strong incentive to act in, but hasn't."

This is an interesting thing to consider. If you look at the current president of YC (sama), at least from an outsider's perspective, he's the beneficiary of exactly the type of behavior you're trying to get away from. Based on his company's exit, he is now a VC, but his company was acquired for essentially what it raised, meaning the employees' stock was likely worthless. I have absolutely nothing personal against sama, but let's remember that YC doesn't exist as a charity, it's a business.
"It’s well known that PHP is a dead programming language" https://medium.com/fuzz/php-a0d0b1d365d8

"29% of the web uses WordPress" https://wordpress.org/

Are these statements mutually exclusive?
The question is, if gold did not have properties that made it useful as an ornament and symbol of high status (and therefore high mate value), would it have ever become accepted as a store of value?
The article is satire.
Yes!

I recently picked up the Way of Kings but found the way he described the action/fantastical elements really jarring. It was like he felt he needed to spell it out rather than let the reader discover it organically. I've been told I need to struggle through though as it's supposedly a great story.
> so we probably don't have much to worry about.

While you had me nodding my head until this point, I think your conclusion is ultimately wrong. We have lots to worry about because of those very reasons you list. When you can’t recruit good talent, you get at best partial incompetence, at worst bad actors. When things are dysfunctional, you don’t have proper checks and balances. When an organization is corrupt, very bad things tend to happen as nobody cares.
The mods should not do anything. The title of the post closely resembles the title of the article.
> But are you really hedging against the collpase of _everything_ so that we are at a completely primative level. Or do we mean collapse as in another collapse of the world economy?

The world economy has never collapsed, and if it did, it would be equivalent to the first option.

If you mean a short-term market downturn like the one that occurred with the ~2009 financial crisis, why would I even bother to hedge against that—and, if I did, why would I use an asset with high volatility to hedge against short-term market movement?
make more mistakes, so you can learn from them.
This past July it was adorable to see DHH and the RoR community excited over the release of Active Storage, an abstraction layer for local and cloud files.

Flysystem for PHP had been around for almost 5 years prior, and Laravel had it integrated almost 2 years by that point.

There are very innovative things happening in the PHP world that most Ruby/Python elitists don’t even know about. I encourage everyone to take a look.
It is and is isn't. Once you price it out per-fluid-ounce, it's not really any cheaper than a six-pack of Sierra Nevada.
Then we know that the "meaning" that we're looking for isn't in the bit we just figured out.

It's like the way that any time we do something that looks like AI, it's "not real AI" because we understand how it works.
Then I installed my essentials:

Atom text editor (Give vsCode a try too). Also look at FileSearchEX, the proper way to find files.
I don't understand why you need to know the progamer behind the code ?
You need to be totaly impartial when you judge something.

So i think it's a wrong way to review the code. You don't need the WHO but the WHY.
The more perfectly insurance companies can model future payouts, the less it acts like insurance.
Mapbox's Maps SDK for React Native Is Here
Yes its a bit of an ask as Tolkien pretty much invented the genre yes I know there where precursors like Dunsanny but my god is that hard to read!
After spending quite a lot of time trying to track down a memory leak in asynchronous JavaScript, opening up a PHP project felt really comfy.
Discussed here recently, there’s a path from public to private sector that does serve the need to retain talent, to some degree.

Also, to say they are mostly corrupt or incompetent seems possibly too much of a broad stroke that is based on anecdotes. I don’t believe Snowden, for instance, ever suggested either of those are true — did he?

Finally, if this is your assessment, your standard may be unusually high. Maybe your peers, many not quite as good as you, are actually quite skilled? Just a hunch, could be wrong.
Phantom Kitty: a project to inject noise into search query to counter BigBro
Speaking of Sanderson, I'm a big fan of his initial Mistborn trilogy (from which he takes his reddit username), haven't read the second set though. It had by far the most unique fantasy universe magic I'd seen.
Is this like a gut feeling or something? Like, totally based on like, the HN bubble, like totally.