skysight-inc/HackerNews huggingface dataset:
I don't turn syntax off, but I hate rainbow in my IDE. I usually use bold for keywords, different colors for comments and string literals, underscore for class members (for Java). Basically that's all. I don't need any other highlighting, it's just a noise for me which makes it harder to read the code.
> I also consider `git add -A` to be horrible
> practice. Adding files manually makes you tons more
> aware

Agreed, but I take it further than that - I always use `git add -p` because it forces me to read through everything, and make everything in the commit deliberate.

Even if you think you just made a slight change to a file or two and definitely want everything, you'd be surprised how often it lets me pick up some aesthetic change, comment change, or dependency version bump that's completely unrelated to the commit message I'm about to write.
Site desgin for your comapny
You can get it direct from Charlie. https://www.poorcharliesalmanack.com/
You can even get an signed copy.
Show HN: reveal-cli – A tool for generating Reveal.JS presentations from the CLI
Small hydroelectric is extremely efficient.

You can get efficiencies of above 80%. In larger installations 90% or more. It's expensive but beats the shite out of solar and wind over time. You can also, if you have an application for physical energy, roughly double the output.

In addition almost all energy storage capacity for the grid is pumped storage from hydroelectric stations. I think it is massively overlooked merely because most people are interesting in scaling and these people overlook the fact that A: most things do not scale and B: long term maintenance matters. You can run a hydro plant with next to no maintenance for 100 years. I can't think of anything close to it and they can easily be fixed or repaired.

It annoys me that micro and small hydro aren't talked about more.
Other than the fact that they involved the He tanks, there weren't many similarities between the events.

With CRS-7, there was acoustic evidence of the strut failing and the COPV smacking into the tank wall. With AMOS-6, the first indication of any event was the catastrophic failure of the COPV.

In either case, the location of the He tank isn't terribly relevant... It was going to destroy the rocket either way.
Those parents are probably in turmoil. Their kids addicted to drugs because of the emotional pain of reality would feel like total failure as a parent.

The other thing is heroin withdrawal causes intense physical pain. Heroin is a potent painkiller. It numbs both physical and emotional pain. Withdrawal goes in the opposite direction. I've heard the pain described as "deep within the joints and bones".
India’s first free online repository of every central and state law
I predict that in a few months the author will turn a toned down version of syntax highlighting back on. All the advantages he stated were the result of disrupting his previous practices. Doing that forces you to reconsider how you do things and end up improving your skills. But they are learned lessons, not some mysterious side affect of less color.
I'm not sure why this was downvoted, but it's right on. Government didn't give us Facebook's or Google's pervasive data collection Facebook/Google's "technology experts" did.
It's basically a coffee table book, so I doubt there is an electronic version.

A big chunk of the material (I hesitate to say 'all') is transcripts from various talks that you can legally find on the web (like "The Psychology of Misjudgment"), so maybe a good place to start is looking at the table of contents and searching for each.
A technology expert is - in aggregate - working for a company that derives its revenue from user data in some way.
As an option I sometimes register an account with fake email like the one you can get from 10minutemail
Coverity makes a shitload of money off FindBugs. It's annoying they don't contribute back while my organisation pays their most expensive license.
You can distribute bog-standard desktop software through the store: https://msdn.microsoft.com/en-us/windows/uwp/porting/desktop...
I use `git add . -p` which allows me to 1) selectively create my commit, and 2) re-read what I've changed to understand it all better. I agree about wholesale adding, but of course there are exceptions when you already did `git diff` Or something.

Side note: `git status` is not a good means of "knowing what was changed". I see others use it constantly (doing git status -> git add . -> git commit) and it'a sloppy IMO.
"So happy as little children" seems to be a recurring line in nearly ever episode of Intervention I've ever seen

I usually assume that the parents are pretty poor historians

Or that people aren't very good at figuring out when little kids aren't happy

I have trouble believing that happy childhood are correlated with later life problems
In our case we just try a bit of everything and just try to see what is working and then stick to it. What worked for one baby is not always working for another.

In my experience the most important thing is to find your routine and stick to it as much as possible.
True, the trunk needs to be jettisoned from the craft before it lands with parachutes.
I just don't understand why people use the git CLI. Git is too powerful a tool, using the CLI limits one of two things: your capabilities, or your productivity.

Often times I see my coworkers screwing around with git trying to review diffs and commit their changes. One of two things happens: they spend longer than they should doing it, or they do it haphazardly. Sometimes they get it wrong.

Just use a GUI.

I use SourceTree and often find myself committing individual lines or chunks in my files instead of the whole file. I'm confident the average git CLI user doesn't even know this is possible. I can do massively complicated commits with ease because I can see every single line that has changed right in front of me.

I just don't understand the fetishization of source control via CLI. In all likelihood it doesn't make you more productive, and it's probably less accurate unless you really know you way around git.
> How else are you supposed to improve reliability of software used on tens of millions of devices with an ear infinite number of hardware and software permutations?

By retrieving the relevant data only after abnormal behaviour and only after getting the user's permission each time you violate their privacy.
I do this, but not mainly to find bugs, though on rare occasions I do. I almost always find something, e.g. stylistic aberrations, overzealous changes from an intellij refactor, debug statements I forgot to remove, part of another change I'd thought I'd stashed but somehow ended up in the commit. It blows my mind that anybody would not read their diffs.
JQuery Plugin for linechart
What's Really Warming the World: NASA Data
Because I, personally, hold these truths to be self-evident: that all men are created equal, that they are endowed with certain unalienable rights, that among these are life, liberty, and the pursuit of happiness.

If a dictator (or epistocracy) protects these unalienable rights better than 50%+1 of the population does, your premises argue in favor of that dictator/epistocracy/non-democratic government.

Voting rights are neither life, liberty nor pursuit of happiness. Voting rights are something else: the right to have a nonzero probability of directly influencing the use of (legal) violence against others. It's easily possible for a person to have your three inalienable rights without this.
Yep, that's the idea. It lets you more fully implement the original REST/HATEOAS concept of the web architecture:

http://intercoolerjs.org/2016/01/18/rescuing-rest.html

http://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.ht...

And then makes a lot of stuff that currently requires javascript (e.g. CSS transitions) accessible via plain old HTML.
I always do `git add -p` and `git commit -e -v` so that I know exactly what's in the commit
> Conditional syntax highlighting

I think that's the right approach. Different situations afford different tools. In normal usage, reading only in a single color is a real relief to me; but of course it's typically easier to find missing delimiters and such with syntax highlighting.

I've had this shortcut in my vim configuration for a very long time and I use it frequently:

nmap <F11> :if exists("syntax_on") \| syntax off \| else \| syntax enable \| endif \|<newline><C-g>

Similarly, there should be actual different flavours of highlighting for different tasks. I have configured a very light highlighting which highlights mostly control flow words (if, while, for, return etc) and maybe strings. It's much better than the colorful default or syntax off for many situations. On other occasions it might be useful to highlight all variable declarations, etc.

I have come to think that it's the same with programming languages: Different languages require you to type different things explicitly. Sometimes that's beneficial but often it hurts. For example, typing a function signature is much more convenient in python (just variable names), but when debugging the explicitness of a more rigid type system often helps finding bugs. Similarly typing "const" or the precise type of integer is really annoying in many situations. It's visually distracting and shifts the focus on alignment or ordering of statements, instead of the problem to be solved. On the other hand, sometimes these things are just important. It would be very nice to have a programming environment where these details can be hidden most of the time and only turned on when really needed.
You must work with yourself then. Getting out there is the only way.
First, let me say that I think what they did was wrong and it should only be opt-in and clearly stated.

That said, having managed fleets of machines that were nominally running the "same" software, getting updates from all of them is a really powerful debugging tool. Once you get above about 1,000 machines logs comparison of all the machines immediately surfaces software issues (happens on all machines), connectivity issues (machines in a certain area), bad machines (unique problem signature), and environmental issues (time of day correlation with other things like power/temp/humidity/etc).

And that gives you a bit more courage to release things early because you'll see problems faster and can fix them.

So with a typical roll-out of 10% of the population followed by an additional 15% followed by the rest, you can catch a lot of errors and 75% of your population sees a really good experience (and in web services where 66% of the populations the minimum requirement for delivering rated service you can often get close to 100% uptime).

Does that justify their action? No. But since you really don't need everybody to participate to get the benefit I could see a path where you opt in for early access to drivers which requires the telmetry, and people who are ok waiting for the driver to be clean in the 'canary' population get a driver without telemetry.
It is important to understand the milieu in which Crocker's Rules originated. The old Extropians mailing list was, by design, a place where even highly controversial and socially taboo subjects could be discussed and argued from positions that average people might find abhorrent if the position was carefully constructed, interesting, and grounded in rational or scientific observation. Many people found it emotionally challenging to engage on that list due to the volume of uncomfortable ideas they were exposed to. Even on that list, many topics were difficult to discuss because it triggered too many people regardless of the merits of the topic.

Declaring "Crocker's Rules" was an explicit statement that you refused to be triggered and that every possible subject matter was on the table for reasoned discourse without devolving into an emotional response. The flip side of this is being open to accepting better ideas that you are not predisposed to accepting.

As an aside, Lee Daniel Crocker gets credit personally for successfully challenging some long-seated political beliefs I held, by virtue of compelling argumentation.
Unfortunately, Nvidia's proprietary drivers are excellent for features where the puck has been and not-so-excellent in features where the puck is going. See also Wayland support or switchable GPUs.
Even better - we should ditch color monitors altogether. You know, to be edgy and different.
Electron is flash for the desktop
Main intercooler.js author here, glad to answer any questions.

Happy to see people are enjoying it!
You mixed it up.

Syntax highlighting is like doing arithmetic using colored rods: https://groups.google.com/forum/#!msg/golang-nuts/hJHCAaiL0s...

Roman numerals is object-oriented design:
https://groups.google.com/d/msg/comp.os.plan9/VUUznNK2t4Q/Ff...
I thought it was pretty obvious it is about the Windows drivers.
It is sad that the researcher didn't get paid anything, and that many other 'minor' reporters don't get paid anything either.

Presumably the researcher expended a lot of effort probing gmail and was that time not worth a paltry reward?

vulnerabilities should be better rewarded.
Beautiful Racket – how to make your own pro­gram­ming lan­guages with Racket
So if it all comes down to the value function we use to assess what outcomes are desired, how should we decide on the this value function?

As per my hypothetical, you personally (mcherm) get to define it.

Suppose you define it as "segregation is bad" - I gather from your post that you believe this. Suppose further that democracy produces segregation, but epistocracy or dictatorship does not. (On all other policies suppose they produce the same result.)

Do you still oppose epistocracy/dictatorship? If so, why?
That's sort of the point of a church. It gives you frameworks did answering those questions and a community of people of all ages to compare notes with.

Some religious institutions provide strict, rigid answers, and others are more flexible. Most I would say have fallen at least somewhat behind the times, especially as modern society finds it more difficult to accept that God exists.
> They are working to monetize you by (ideally) showing you ads for things you actually want to buy. Connecting willing buyers and sellers is generally considered good in a capitalist society.

Advertising doesn't just "connect buyers and sellers" but can also generate demand for products that are worthless otherwise. The diamond industry is the obvious example. You might say that this stimulates the economy but I would argue it's an example of the broken window fallacy.
There is a practical advantage to being unable to confirm your own vote: if someone tries to buy votes people could just take the money and still vote anyway they choose since there is no way to prove afterwards that you didn't vote that way.
Padlock doesn't work in Firefox?
Don't get me wrong--I'd much prefer opt-in. I don't think that's realistic though given their leverage and what they are trying (in theory) to do with this data.

However to not provide an opt-out is a slap in the face to those who know enough to care. And it is an increasingly common trend that is very concerning.
Towers of Midnight - book 13 of Robert Jordan's "The Wheel of Time" series.
One of the points of syntax highlighting is to create visual patterns you can recognize. Highlighting keywords may help with this. Have you tried disabling keywords highlighting and seeing what difference it makes in reading your code?
The telemetry data isn't yours. It belongs to the user and exfiltrating it without user's permissions or even knowledge puts your software at the spyware level.

Do you really want your software to be considered spyware?
The headline should perhaps be "NKVD GIft purporting to be from schoolchildren ..."
It's awesome to see the blogosphere's landscape finally changing from "Oh, look how awesome Clojure is" to "Here's the thing I build with Clojure(script), I think it's really cool".
Language, tooling, community, market around Clojure have really matured and reached a tipping point. In just a few years from a toy thing it grew into a serious player. I am so glad I'm on this train, it's moving super-fast. You compare any JavaScript stack or set of libraries with what's possible in Clojurescript and it's hard not to conclude that the latter is always a few steps ahead.
Interesting that you don't say what exactly it was that he said to which someone made a "Ferguson connection."
I am in the other extreme: I always use `git add -A` (but I read the diff before) and avoid doing more than one thing in the first place (which would make me want to use `git add -p`). IMO it is an antipattern to do bazillion changes at once, and then do several commits out of it (unless you really know what you're doing) - because you commit a state of the repo that (probably) never existed. I prefer to do change, commit, do change, commit, and at the end do interactive rebase and perhaps squash some things together.
Make tokenizer recognize VC merge conflict marker
Sure, but that doesn't address an attack that certain precincts that vote a specific party line could be compromised. If 100 attackers at 100 precincts slit some seals than that could swing a swing state
Here are your choices:

* educate yourself and grow your self reliance to understand & use these technologies and look for your interests

* delegate the work to experts, trust authorities and hope they have your best interest

* isolate yourself from technology and pay the economic/social price.

Your Freedom takes work. You can't delegate it.
There will always be a conflict between individual freedom and social safety.
COPV: https://en.wikipedia.org/wiki/Composite_overwrapped_pressure...
> I'm confident the average git CLI user doesn't even know this is possible.

Your sibling commenters disagree.
If you are someone being forced out by ED, that seems like a pretty positive outcome if you didn't want to move in the first place.

Not all public projects are desired by all people, and it is far from a black and white issue.
They're about to lose a valuable tool that they'll have to pay money to replace anyhow. It's not hard to make a business case for.
Depending on what you're drinking at the coffee shop it might be enough to just pay for an actual coworking space.
This is fabulous. If you like this, you should also check out the creator's original graph paper drawings (!) of the maze and characters:

https://laughingsquid.com/pac-man-creator-toru-iwatani-share...
I don't mean to make some grand moral claim about markets always being "just." My point is that a buyer who gets to force someone to sell AND gets to choose the price they must sell at is VERY far from my intuitive (yet admittedly ill-defined) feelings about justice.

In your example, it seems perfectly reasonable to me that one person may value their land much more than their 20 neighbors value their own lands. Perhaps the one plot of land has been in the family for generations and has immense sentimental value. Perhaps the one landowner doesn't approve of the development project being pursued.
Fraud is indistinguishable from error.

Ignore intent and focus on prevention, like a QA/test person would. I'm kinda thick headed, so it took me too long to figure this out on my own.
Learning to this both after writing the code and being able to plan what chunks of works I do when is a game changer and really useful when you work on a team.

I sometimes find waiting until I am done working on something to break it up into small commits can be a headache.
Completely agree with you and would add that I've found mourning after something that gets me down is ESSENTIAL for moving through those things. If I avoid grieving the loss I'm perceiving, that's also suppressing my emotions.

I used to not associate mourning with everyday events; it was something reserved for people/pets dying. Now, if I can't shake a bad feeling, I try mentally eulogizing whatever I lost.
I'm not sold that they've avoided this for the most part. Many of the most important tournament cards are mythic rares. BG delirium is one of the top two competitive standard decks currently and 25% of the deck is mythic rares. https://www.mtggoldfish.com/archetype/standard-b-g-delirium-...
Dead zones aren't limited to the use of SRBs. For instance, we don't know whether SpaceX will have dead zones or not. I can see one big one in that SpaceX's launch profile is much taller than traditional rockets (more up, less horizontal to aid in recovery of the first stage). A failure of the second stage to ignite may leave the capsule in a place where it won't survive the steep re-entry, falling more vertically than a the normal horizontal albeit faster re-entry. The data needed for such a determination is still hidden behind SpaceX's "proprietary" launch profiles.
This is an easy summary of this exact SEC doc:

http://www.recode.net/2016/7/2/12085428/linkedin-microsoft-s...
What strikes me is how everyone I talk to has a different experience. Like I talk to some people who say their baby slept through the night after a couple of months, and others like myself who's kids didn't sleep for more than an hour at a time for 6 months or a year. Indeed, take all advice with caution.

One thing I will say is; even if your wife is stay home, get up with the children when you can, she NEEDS the break. My wif works full time so I always shared the duty. We bottle fed though, which meant I could share the duty.
I guessed from the title it was going to be using ffmpeg, because I myself have used ffmpeg's `-ss`, `-t`/`-to`, and `-codec copy` numerous times for this exact purpose.

Then I saw that this bundles its own piece of Chromium and ffmpeg and is ~70 MB in size. Something is seriously wrong with today's app development ecosystem if it takes 70 MB, even when I already have both Chromium and ffmpeg on my system.

EDIT: On the other end is QtAV, a cross-platform multimedia player and SDK which took me only 1 MB of network download. It uses Qt and ffmpeg, both of which I already have on my system, so it doesn't have to redundantly bundle anything.

On OSes without Qt and ffmpeg in their package repos (OS X and Windows), the players are ~ 20 MBs in size. So even if one argues "cost of cross-platform compatibility", it still doesn't make sense to bundle the entirety of a web browser for something as simple as this.
Gopass, a Chrome extension for pass (passwordstore.org)
The great Chinese famine killed more people than the Nazis.
I am 100% in support of bug bounty programs and the like but I can completely understand why they didn't pay for this one.
It also seems to be automatically run automatically by bazel when building Java code, which was a pleasant surprise.
Not only is there less pressure, but there is also the immediate pressure of gratitude from your peers, it's great to be able to help someone out and get a heartfelt thankyou. They are also often quite interesting and let you learn something about a new domain.

And suddenly I understand why I keep volunteering to help on gnarly little projects that are peripheral to my main job - even though I'm extraordinarily busy.
Same. Works well for me e.g. http://i.imgur.com/RMrslmu.png
Surely this would make people slow down and pay attention or you know just crash more.
+1 for riotjs.com
> current error-prone releases only work with Java 8

I'm assuming that means it will only run on the JVM8, but it can analyze any version of Java code?
Show HN: Tech Manager Weekly
How about in the other direction?

https://en.wikipedia.org/wiki/Converse_accident

While I don't mean to say that these provide a full analysis of the issue you're talking about, I don't see how they're unrelated to it.