jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I agree it isn’t a complete answer to the question of how to return co2 levels to some level forever, but it has a good cost benefit ratio and could buy 50 years.

The study showed that the available land at a low cost, much less than alarmist propaganda, is enough to reverse all the co2 emissions so far.
> Your concern is that adding CRDT merge semantics somehow prevents a server from implementing access control?

My concern is that this requirement means the state can't be encrypted.

> if you want to build a peer-to-peer network, then you will replace the server with a validation function running on each peer, and authentication with a crypto scheme

How do you break a GET request of some state blob into "granular patches" if the state is encrypted?
I agree with the premise or at least used to agree that religions are bad and people need to move away from them ... but by force? That is definitely inhuman. Reading about this stuff is making me go WTF! On a side note, I consider it deeply hypocritical that the government supports traditional medicine.

I do consider religion as a form of mental illness. Just google end times and watch the insanity roll. It's not rational to think about "end times" however you put it. People can drop out of religion rather willingly.

This is Your Brain on God | Michael Ferguson
https://www.youtube.com/watch?v=ocuqguH1OIw

Based on the above talk, if you have a neurological need for "god" then removing religion leaves other personality cults, cults or ideologies to take root. That seems to be what is happening in this case.
Probably, yes. Sorry, I should’ve said “in no particular order” — this is part of the reason why I haven’t tried to tackle building something myself :).
You can go significantly higher than this, for example:

- From your comp I assume you are a L5 at FAANG. Getting to L6 is challenging but not impossible and would put you in the solid ~500k range. From there, you could push into L7+, which would get you close to ~800k+, but that is more rare and reserved for truly brilliant and lucky folks. L6 is definitely achievable though.

- Join a unicorn on a good growth trajectory, enter with a standard ~300k offer, and hope in a couple years you'd get to ~1M thanks to equity appreciation. I know several friends who entered into the right unicorn at the right time and made ~1M+ per year just by doing senior SWE work. It's riskier than the above option, but much less riskier and with better odds than joining an early stage startup, which I wouldn't recommend at all. The key is, when you are interviewing don't ask about what technology or text editor they use, ask to see their growth rate data and make sure you join an already-exploding rocket ship, backed by real numbers. I think there are some good arbitrage opportunities for candidates looking to join a unicorn.

Finally, don't squander your cash flow, live frugally, save aggressively and invest.

I am at a slightly higher but pretty similar compensation, and the game has become growing my investment portfolio. Just this year, my portfolio itself has returned well above 200k, which is the amount that I usually save from my paycheck every year, so I literally had an employee (more senior than me!) working for me this year and making me money :-)

Once (if!) I get to ~4M, I'll quit and chill for a couple years around the world. I'm halfway there.
I have changed the values of dotspacemacs-smartparens-strict-mode and dotspacemacs-smart-closing-parenthesis from the default nil to t in my .spacemacs file. As far as I can remember, that's the only paredit-ish customisations I have done. And by the way, I use smartparens everywhere, not just in Lisp modes.

Generally, the Spacemacs defaults work really well for me, and for many others. Elisp hacking was more relevant in the past. These days, with Spacemacs and other similar community efforts that deliver sane and well thought out settings, not much tinkering is required.
Huh?

I liked this expression because people regularly conflate the right to speak freely with the supposed right to have their speech amplified and distributed (at zero cost), which isn't a thing. I made no mention whatsoever about what speech is, or isn't, acceptable.
Related: https://cpbotha.net/2019/09/21/note-taking-strategy-2019/
Same with me with the Black Seas Barracuda (the huge pirate ship from the nineties) – they kept it generally available for a long time, far longer than most sets, but right as I was making enough in my first job to be able to really spare the money (and was actually toying with the idea of buying it) they discontinued the set for good and prices rose into the sky pretty much overnight.
Yeah, we don't run it in Mobile browsers for that reason. There's other ethical questions to be posed (data usage, etc).

There's a previous discussion here if you're interested:

http://news.ycombinator.com/item?id=1645520
any chance you can loop the video once you're finished so us euros can watch it tomorrow morning?
As someone who is not, I wholeheartedly agree. Amusing pictures, but I feel no more enlightened.
Bought a copy. Looks pretty solid. You should probably offer one free interview for download or online as a taster. Just emailed you with some more ideas.
Here's a solution in Go.

package main

import (
"fmt"
)

func main() {
// a is the sample array
a := []int{0,2, 3, 3}

// Reorder values such that a[i] == i when i is not the missing value.
for i := 0; i < len(a); i++ {
j := a[i]
k := a[j]
a[j] = j
a[i] = k
}

// Look for a[i] != i
for i := 0; i < len(a); i++ {
if a[i] != i {
fmt.Println("missing:", i, "duplicate:", a[i])
break
}
}
}

This is a simple expression of a solution. The code can be improved.
I'm an iOS developer and I have 3-4 location-based products. Maybe I'm just not in your target market, but this component doesn't solve any problem I have. Seeing a bunch of dots that change places every time I zoom in is visually jarring and not very helpful. Only in rare circumstances would I prefer this visualization over seeing all the pins.

Now if you did a heatmap-type visualization, or had something that crossed over more smoothly between "wide angle" and "close up" zooms, I would be interested--that's actually a problem I would pay something for. But I would be more interested in seeing the component large-format: iPad or Mac or Web. Dashboard-type visualizations to monitor global infrastructure or something. Because people aren't going to do a ten-inch pinch on a phone, they just want to see the ten coffee shops on this street, and notation groups aren't needed for that. But I might want to visualize the whole world's tweets on a ginormous zoomable kiosk or do it in a presentation or a dashboard of my customers or something.

Quite frankly I'm happy to pay for a UI component but I want the vendor to have put in the time and effort to think about the UI so that I don't have to. All the iOS APIs have a lot of thought put into the UI (pages and pages of rationale in the documentation), and for a premium component that's your entry bar. Grouped annotations sounds like the way I would initially try to solve this problem, would prototype it and realize that it didn't work, and then try heatmaps. Maybe heatmaps won't be an effective metaphor either. The value a good premium component has on iOS is NOT that it's a cheaper component, but it takes out a lot of design risk, a lot of bad prototypes. The point is, I'm willing to pay great money for a great UI, and no money for a mediocre one.

The problem with your pricing is that the binary people will need more support from you than the source code people (who can fix the problem themselves, and optionally send you a patch). You need to price a few hours of support into the low-end product especially, so $150 is too cheap. I might just drop that product, as the source product is priced about right and is also a lower support burden.
It will be available as streaming in that same url :D
"I meant pundits and politicians not ordinary citizens. I chose republicans because waste is usually one of their favorite talking points."

No Republican I've met would think doing a rescue mission was wrong or a waste. Using your logic, I could say it would be the Democrats who wouldn't attempt the rescue and point at Benghazi as the modern example.

Partisan politics are a remarkably poor way to tell a reaction to this type of situation. It really goes to the life experience and culture someone was brought up in.

If they had known and it leaked, and NASA had not moved heaven and earth to try to save the astronauts, then heads would roll. The base culture of the US would allow no other course.
>3) You claim to be penniless, but you spend you money on Uber all the time because you can't drive in the snow? Can you expand on this? Don't you think that Uber is an expensive choice for someone in your situation?

It says that he won a credit. Hence, being free, it does sound like the cheapest option.
How is this cynical?

It is rather cyinical to offer such a service.

Meditation like most things in life takes deliberate practise, effort and can be dull, hard and boring at times.

This is not meditation but distraction.
If you want to medidate, first, don't do it alone. Do it with other people.
Go to your next zen dojo, or Yoga school or whatever is available in your area. And then sit together with the people in the dojo.
It works. There are a few people using it server side. There is a Heroku build pack. The HTTP server is a bit slow, sounds like this is being addressed, and shouldn't be a limiting factor. I wrote a postgresql driver, which works ok. More users, issues filed and patches are always welcome ;)
Another fun thing to do with that phrase is consider its contrapositive:

That which doesn't make you stronger, kills you.

Which is equivalent, but more obviously absurd.
I mean that I prefer chaining the methods rather than passing the method name as a symbol to try.

You're right, the name 'andand' isnt as clear as 'try,' it comes from its creation as a replacement for the use of the && operator as a guard.

If try() returned a proxy object that used method_missing to accept method calls rather than just being passed a symbol, we'd have the best of both worlds.

It is unfortunately a fairly wanton case of demeter violation, but rails is pretty much based on wanton demeter violation anyway, or at least it feels like that at times. Generally the times when I'm trying to write integration tests for some overly clever library.
"I find baring the law of the excluded middle an unnecessarily restrictive basis for logic"

I agree that it doesn't seem to make sense in that case. However, there are practical use for constructive proofs, for instance, program extraction. Consider a proposition such that "for all list L, there is a list L' such that L' is sorted and L' is a permutation of L". From a constructive proof of that proposition, you can extract a sorting algorithm. This works basically because the constructive proof has to exhibit a witness. That's the kind of things you can do with the Coq proof assistant.

"you may not be able to prove that Anne is married or prove that Anne is unmarried, but can't you prove by that Anne is either married or unmarried, by the definition of marriege?"

You can't prove it in constructive logic. You can always add an axiom of the form "for all x, x is married or x is not married". However, if you do that, your proof won't be constructive anymore (unless you provide a decision procedure together with your axiom).
Firefox's model is better, I think. Plenty of sites use hidden flash videos for various utility functionality. How are you supposed to click on these hidden videos so that you can enable them?
Do not forget about any one able to write R scripts is a Data Scientist now!
I don't claim to know all there is to know about marriage, or all the different laws / cultures of marriage in the world throughout the entire history of human civilization. But I guess I wasn't prepared to assume that all possible situations in the world (regardless of culture, continent, country, religion, etc...) can be boiled down precisely to either "married" or "not married" states of being.

I guess I would ask: Why not include the extra context to the question?
"Yes, that's the point of free software. Everyone can."

So by open sourcing my product, I am opening myself up to all sorts of competition. Not a very smart way to run a business.

"I think you're underestimating the degree to which most of the world outside of IT (and including much of the world inside IT) is too lazy to figure it out and would rather pay money for a black box that solves their problems."

You're right. But if anyone can do it (mentioned above), it will eventually be a race to the bottom (based on cost) when software is equal.

"Not all of us do. And if your audience is companies, not users, the goals align differently."

I run a business. I wouldn't hire a 1 or 2 person shop for support of an open source project. I have had way too many bad experiences.

When you are just starting out, it's hard enough to make money. Why make it even more difficult by increasing competition and doing something that will not scale well?

I saw this in one of your other posts:

"I view business as inherently evil and selfish. I am choosing to engage in business because I don't care about being good."

I wish you would have said this in the first place. I would have not wasted the time responding to you.
yep, never ignore the actual argument based on word choice, but word choice might give you a rather large clue on the mindset of the people making the argument.
These kits (both legit Foxconn parts and third party bits&pieces) abound in Shenzhen. I think I saw more fake iPads than real ones, too, but until you start playing with them it's hard to tell they're not OEM.
Personally I think of object-oriented programming as meaning procedural data abstraction - in OOP, a data abstraction (object) is the operations that can be performed on it. This is in contrast to e.g. ML/Haskell algebraic types where a type is the set of values it can take. An object-oriented language is then a language designed to support this style of data abstraction, just as a (pure or impure) functional-oriented language is a language designed to support (where "support" is a superset of "enforce") a style of programming based on composition of pure functions.

I am influenced by this paper -> http://www.cs.utexas.edu/users/wcook/papers/OOPvsADT/CookOOP... (warning: PDF), which expresses more carefully and precisely what I in the above paragraph expressed sloppily.
The only good point for XML is there are existing tools that do things via XML. There are tools that generate ATOM and RSS for you. And there are tools that consume ATOM and RSS. So if XML is already a well defined and followed standard for what you want do, use XML. In all other situations use something else.
You do know that many prominent Rubyists were doing work in Smalltalk way back when, right? For example, here's Uncle Bob talking about the two: http://en.oreilly.com/rails2009/public/schedule/detail/8482

You may dispute his opinion, and that's fine. But Ruby's lineage descends directly from Smalltalk, so regardless of preference, I think it's unfair to suggest that all Rubyists are totally ignorant of Smalltalk.
Only so many apps are shown per page. You want 345 apps in the App Store. Thats a good 300+ other companies/people right there that are affected by this[1][2]. You seem to have forgotten that people can (and do) view apps by release date.

Are you saying that your business is more important and has the right to demand as much space as it wants, to the detriment of others? Every time you want to submit an update or fix a bug?

1. Assuming some people have multiple, unique apps in the category.

2. Ignoring all the folks who are looking for something other than your app.
The problem with Khan academy and whatnot is that it requires too much self control on the part of students. I've created a lot of content for math classes that I use for online classes. The number one problem I'm confronted with when teaching online classes is that students have a hard time staying on track.

The advent of cheap books and libraries did not obviate the need for teachers. There is something about going to class - even a boring lecture class - that induces a much larger percentage of students to stay on track. In online classes they fall by the wayside.

Even though these materials are free very few students are able to learn the material on their own without being in a class. This problem needs to be solved in order for open courseware materials to take off.
I tried again and it is still down for me.
The fact that being late one day can get you fired speaks to the state of labor rights in the US.

Think of all of the things that could make you late. Protests, sure, but a broken down car, a car accident (yours or somebody else). Hell, if the President comes around they shut down a bunch of lanes of traffic.
SnapPages seems to get alot of stuff right in terms of ux.
I'm hoping someone will implement tiresomelyRightOn.js.
Being a gcc extension to the C language, I recommend this construct never be used and certainly not taught.
That makes sense: the girl isn't nude. She has a black area over her nipple. If that's detected as nude, a small bathing costume would also be 'nude'.
My brain is probably addled by reading a lot of science fiction. But here are my thoughts on the matter. We know of two ways in which energy is manifested in stable form. The matter particles and the force carrying particles. Recent astronomical observations point to a third form i.e. dark matter. So hopefully in future we may uncover (or device) yet another form of energy which would find 128bits on a low side.
I'm of the opinion that artifacts of IDEs an OSes should not be part of a projects .gitignore. After all, different people could be using different environments for development and I really don't see the need for a projects .gitignore to contain the subset of all possible artifacts.

Use .git/info/exclude or a repository independent personal .gitignore for this.

The projects file is for files created by running the code or maybe some unavoidable build artifacts happening in all cases (.o files for example)

I really hate commits with messages like "updating .gitignore for Joe's new IDE"
Solves a problem most people don't have with a product people won't pay for on a platform you don't own.
There are at least three common mistakes involving tricks like this:

1. Alignment. Many CPUs will trap (or worse) if accessing a 32-bit quantity at a non-aligned address.

2. Endianness. Needless to say, the 32-bit value read for a given string depends on the machine endianness.

3. Aliasing. Casting between different pointer types can result in a violation of the C aliasing rules and, with a little bad luck, incorrect results.
>Would someone even dare try this on Android?

Via Google Voice/Hangouts the answering/calling of a phone through a Mac or other PC has been around before Apple's introduction of it. Also, things like SMS MightyText for Android were also things I've enjoyed on my Android/Mac combo well before Apple made it available within the OS:

http://blog.mightytext.net/welcome-to-the-party-apple/

Granted, I did use an iChat/AIM combo setup to text phones (and receive texts) via my Mac in the past, but it was a cumbersome utilization and didn't work with all carriers.

>Maybe Apple is moving too fast, that is a matter of opinion, but they are certainly moving forward fast.

Bugs that hinder workflow moves me backwards. And, these Mac OS and iOS bugs aren't just a matter of opinion. I don't think it's time to slam all that is Apple, but the company is overdue for some customer backlash and constructive criticism, in my opinion.

Then again, maybe this is all just bad karma from Apple completely ignoring the faulty early 2011 MacBook Pro GPU/logic board failures and not issuing a recall and replacement program as they should.
I think that a majority of society thinks about law and order through an entirely simplified lens, and would see such a law through said lens without considering the actual implications of it. The idea that "money came from bad people doing bad things, so we should punish them" being the only really "logic" here.

Much in the same way that you can skew poll results based on the way that you phrase a question. For example, years ago there was a poll about whether or not people wanted ala carte cable channels. The question they were asked was, "Do you want more choice or less choice in cable programming?" Obviously people want more choice, but this answer was associated (by the pollsters) as being against ala carte options for cable.
Great answer! Thanks! It gives me a lot of stuff to think about.
There I would like that at least they support
"Bounds-checking interfaces (Annex K)" from C11,
which is optional.

The bounds-checking interfaces are really something that has to be provided by libc, so Solaris itself will provide those.

Although it isn't highlighted in the release notes in an obvious way, most of the support for C11 is also available in the 12.4 release of the Solaris Studio compiler. The primary things missing are the same things they don't have for C++11: concurrency and atomic primitives.
Google has avoid updating their iOS apps for months to avoid putting privacy labels on them.
The Linux community is terrible in that...it's always "let's reinvent the wheel but this time we make it square".
Although the chances of a resonance cascade are extremely low..
YAML has such a comic-book reputation around here that I want to offer a defense of it. Many criticisms of YAML are either about adding non-YAML bits (like turing-complete templates) on top of it, or complaining that it's a bad JSON superset without considering things that can't be expressed in JSON.

You know what's really interesting about YAML? !Tags (https://yaml.org/spec/1.2/spec.html#id2805019), when used as type hints.

In YAML, you can write: (forgive the contrived example)

!Person
name: Joe
login: joe

In Python, you can use "yaml.add_constructor" to automatically dispatch specific Python code when !Person tags are encountered in the YAML. You can transform text into an object tree (edit: graph, actually -- don't forget about anchors and aliases) automatically.

In the right places, this is extremely handy. It's a middle ground between the "duck typing" you normally get with un-validated markup, and the quasi-"static typing" you get with the same inputs after a schema validation. There's an analogy with type annotations in Python.

As always, there are right and wrong places to apply this kind of thing.
They already got a 1.9T tax cut. It's hard not to have rage when we're collectively getting fucked.

I know there are a lot of wantrepeneurs here, but let's not pretend we're all not mostly still...workers.
How do PC sales get tracked when a lot of builds are put together from parts at mom-and-pop stores or by the customers themselves?
The idea of the internet being completely crippled, submarine cables fried, data centers zapped, backup power gone, is terrifying in itself. Almost every supply chain depends on modern communications. Everything we do is so embedded and dependent on technology losing power would just be scratching the surface of numerous catastrophic disasters. Nuclear power station meltdowns... oof.
Neil deGrasse Tyson argues, and I agree, that the ability to send people, probes, satellites, etc. into space is of utmost importance on a grander scale. Imagine being a species capable of space-flight that is unable or unwilling to save itself from destruction when an asteroid comes too near. "We would be the laughing stock of the universe -- 'Oh haha, yea, look at those silly humans who could have saved themselves, but didn't.'". The space program is incredibly expensive, but what is the cost of Earth?
There's a significant time delay between when seed rounds are closed and when they're announced, so data for the most recent quarters are almost certainly incomplete. This leads to the spurious conclusion that the number of seed rounds declined in 2014.