jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I'm not at all sure I see the difference in Gruber saying "iPhone critics have seldom let facts get in their way." and Williams saying "Of course in the current climate, conservatism seems to be becoming more "fact free" (think Obama birth certificate and death panels), so there are fewer reasonably argued ideas to embrace."
Aha,

http://www.html5laboratory.com/working-offline.php
There's also a research paper about this published in MULTIMEDIA '05 Proceedings of the 13th annual ACM international conference on Multimedia if anyone is interested in more.
Looks like there's at least one person who's looking at doing something about the timeline issue: http://blog.tapoueh.org/articles/blog/_Back_from_PgCon2010.h... .

I'd bet that there are some pretty basic failure modes in the timeline preserving case where the slaves could be out of sync when one was promoted, and then that out of syncness could be propagated. I suspect that a missing transaction on the new master would trigger some sort of duplicate transaction oid issue, but a missing transaction on the slave would be more likely to go unnoticed.

I've just tested a case where I killed the master when I was running transactions against it, and it seems to work as well as the shutdown case. Bringing up the slave is where the timeline gets incremented.

I suppose I could throw one of the replication connections through a ip delay and intentionally introduce replication lag..

edit: Looks like http://www.postgresql.org/docs/9.0/static/warm-standby.html#... , section on monitoring gives the pg_current_xlog_location on the primary and the pg_last_xlog_receive_location on the slaves, which would at least tell one if the slaves are in sync, and if not, which one is the farthest ahead.

So, the process could be:

* master dies. either gracefully or not.
* all slaves are queried
* most advanced one gets shutdown, promoted by ip and removing recovery.conf then started
* all the other slaves should track those changes and bring themselves up to date.
* Resync the old master as a new slave.
Geohot regularly streams programming on twitch. He's the real deal, you can go check out his streams on YouTube to see what he's doing now. What's especially impressive about him is how he can perform at a high level for hours and hours. Some of those streams are 10 hours long. I can't do that.
>peaceful which they mostly were as evidenced by the fact that no capitol staff or police were in any way injured during the incident.

At least one Capitol police officer is dead. Beaten to death with a fire extinguisher.

Many of the folks arrested had cable ties similar to those used by police to "handcuff" people. One insurrectionist was found with materials to make molotov cocktails.
I received a takedown demand from them because I had one of their documents on space grade parts on my site.

The main reason I put it on my site was because they made the document hard to get, otherwise I would have just put up a link to it.

It was clearly a Bot. A human would have seen it as a promotion for a line of obscure TI products.
I'm entirely willing to believe this to be the case; every paper I've written has been in LaTex and while the tooling has improved (emacs, overleaf, now even VScode's latex mode is great), there's still a learning barrier.

But one thing I want to stress is that LaTeX lets you produce _camera-ready_ documents with minimal additional effort. As we seek to reduce the cost of publishing and reduce the power and overhead of traditional journals, the legions of layout editors and horrible proprietary expensive CMSes need to be disrupted somehow.
> PC games have been using more uncompressed assets to free up CPU time, massively bloating install size

Filesystem compression could help here. To my knowledge games consoles don't support filesystem compression, but I'm not sure why.
One thing that bothers me: Why is "No GitHub" wrong?

I have absolutely nothing on a public GitHub. Does that make me a worse software engineer?
What if... Apple would've brought iMessage to Android in 2009/2010?

I'd bet they'd have the prevalent communication platform nowadays in WA's place...
Good point! It actually would be pretty cool also have a working example. I'll keep that in mind for the next posts.
Awesome game! It would be cool if you could build walls.
Are there any other requirements to setting up/running an SG company?
I studied Mech Eng. and Physics but now spend most of my time building software related technologies. I think the big take away from my Mech Eng. degree is that I've learnt how to solve technical and non-technical problems. Solving problems is one of the most important parts of any startup and you should look at your Mech Eng. background not as a destination but as a continuous journey of learning to solve more and more problems (technical or not) as you encounter them in whatever challenges you confront. Apart from using your Mech Eng. skills directly in a mech related startup, those skills should not limit you to that specialization alone if you continue on the learning process of picking up more tools/knowledge to add to your chest of problem solving experience in a startup.
Very interesting, thanks for bringing this to my attention!
They're not weaponizing copyright, they're weaponizing Instagram's copyright-infringement-avoidance filter. HN really should look into their headline editing policy, because it really does change the context of the conversation in this instance.
In many places in the world, they can't. In Europe, the matter of employers monitoring employees is highly regulated.
The thing that always confused me about home-row typing is that it seems oddly hard to hit Enter. My only guess to that is that it works better with an ANSI keyboard than with an ISO keyboard.

I also found I type rarely with my pinkies, and in fact I do pretty much only use them for Ctrl + Shift. Using the Shift on the opposite hand from the target key most of the time took some practice but I think lends itself well to not having to over-stretch the pinkies :)
Lived in Florida for several years. This checks out.
My key takeaway is that the ratio of saturated:unsaturated fat in the diet does control the concentration of serum cholesterol but any ratio between 1:0 and 0:1 (provided you get enough essential fats) is perfectly normal and does not impact health negatively either way. The function of serum cholesterol is maintaining cell rigidity throughout the body, not just in arteries. I have never heard this explanation before; it makes sense. This claim should be easy to verify experimentally.

The question then turns to the underlying cause of atherosclerosis. The arguments, to me, seem circular. Ultimately, the important question is how much of the plaque is due to a damaging agent like sugar and how much is due to a hyperactive inflammatory response. Measuring inflammation independent of arterial wall damage seems incomplete.
Your best bet is to screenshot the messages on your phone then run them through some OCR software. A larger screen size will make this quicker.
Check out lunchmoney.app!

I've been using it for the past year. It's clean, snappy, easy to use, and has VERY powerful categorization for anyone with a programmers mindset.

I used mint but it was too much work to keep the categories up. I looked at YNAB but it seemed too overbearing. Lunchmoney has been a really refreshing tool for me.

It's also a solo developer's project, they make regular updates, and it's a clean business model of a simple monthly fee.

If you use someone's referral link you get an extra free month after their trial. Here's mine: https://lunchmoney.app/?refer=kvy5xf49
Perhaps one of the risks that executives at a high level (i.e. named corporate officers) have to bear in return for their absurd salaries is criminal liability when the corporation commits a crime. This might help align the incentives.
Pathological viral infection feels like an infinite loop. The CPU is a dumb machine doing its job to decode and execute instructions, until it bursts in to flames. The ribosome likewise transforms amino acids in to proteins as directed by RNA until the cell is destroyed.
> I used to use React a few years ago for all my projects, and a friend recommended I try out Vue, and I rewrote my massive project in less than a quarter of the time. And in the past year I discovered Svelte/Sapper, and I rewrote my app in even less time than that.

Shouldn’t rewrites (other than perhaps to something with both an radically different and less powerful basic paradigm) generally take a lot less time than original creation?

I mean, it doesn’t sound like this is saying much.
You left out a part:

For commodity goods, lowering the demand will lower the price towards the marginal cost of production.

A commodity good is interchangeable: you don't care whether you buy a bushel of winter wheat from Farmer A or Farmer B. A commodity good is produced by many entities and desired by many entities.

Some goods are not commodities but are substitutable: when AMD made pin-compatible 386 and 486 processors, you didn't care much about whether a 40MHz 386 came from Intel or AMD, which is why AMD's lower prices let them build their marketshare substantially.

If a widget isn't being produced at all, just sitting in a warehouse, the price can easily be governed by:

- the person who needs a hundred of them vs the warehouse that would like to no longer pay an inventory tax on the 110 in stock

- the broker who knows where the last hundred widgets are stored, and has figured out customers who really need them in ones and tens

- the warehouse that thinks it has all the remaining widgets in the world, and advertises them at a high price to see if anybody wants them
So many valuable businesses have been destroyed by investors or founders seeking an early exit.

If you are an entrepreneur, think very long and hard before you accept any outside money. I have seen so many good businesses forced to sell by investors or a founder who thought they were done, only to regret it later.
Are “good” human drivers an order of magnitude better than “average” human drivers? Because that’s where I put my bar: marginally better than “good”, an order of magnitude better than “average”.
Slow for me too - i7 3770k, 16gb ram, win 8
We have lambdas in C# land, and I don't find myself using factories or lambdas in my code. I occasionally take advantage of reified generics and reflections, but that is a different thing.
Use waffle.io to visualize Github issues.
> Don't ideas take that stuff into account? Ie. isn't the market and the ability to build and sell the product part of the idea?

Ideas take that stuff into account, but "the ability to build and sell the product" are not part of the idea.

For example, I have a friend in the accounting industry. She says that tracking time spent on each client is still a huge pain point. Many firms do it with Excel spreadsheets, and some of them even use email.

I have an idea to solve that problem. I know how to build app, pitch it, and support it.

The obstacle is that I only have that one friend in the accounting industry. I could get her firm to use it, but I don't have any particularly special ability to convince the rest of that antiquated industry to modernize itself.

I learned this same lesson with a restaurant startup years ago. Unless you have very easy access to lots of prospective clients, you should never start a company to target those people.

(I'm talking about B2B above. The situation is a little different for B2C products, which just require tons of capital and a reasonable user-acquisition cost for that type of product.)

There's a reason investors are always talking about "unfair advantage", and that always means people. Being cashflow-positive is a game of pushing down your costs (for acquiring and serving users) and pushing up your per-user revenue.

The two factors that influence those metrics the most are your team and your access to the target market. A great team means that your sales move quicker, your product-development process is shorter, and you need fewer people. Access to your target market means that cash comes in sooner, sales cycles are shorter, and sales are bigger.

So when I say that startups should start with the market, I don't mean someone should say, "X market really needs Y product." I mean someone should say, "I know a bunch of executes in the [X] industry, and I can meet any one of them tomorrow."
This isn't a Comcast issue. Their demarc (the divide between where service is delivered and your network) is the cable modem.

You could of course make the argument that you bought some combined cable modem/router/wifi AP box from them and it should "just work" - but you're just going to talk until you're blue in the face. Simply think of them as a pipe provider (not your IT support) and you'll be a lot happier.

What they provide is in general crap, and costing you money you can save off the monthly rental fee by providing your own equipment. This will also generally result in better performance.

I suggest buying a Surfboard 6183 (or lesser, depending on your area), and the wireless router of your choice. I recommend for simplicity sake the Apple Airport extreme or any quality 802.11n (or 802.11ac if your laptop supports it) router. Your network should look something like Cable from wall -> DOCSIS Modem -> Your wifi router. The only time you should be calling comcast is when the actual cable modem cannot obtain a lease and/or internet is in general failing.

Relying on Comcast to manage your CPE is just a plan for disaster. If your wired tests are getting 100Mbps, then the problem is on your end.
If you change it to a five minute interview instead of two hours then less than five years.

Anyway it will happen pretty soon and then people will just say it wasn't a good test.
(I work for the Digital Service @ the VA)

This is correct. The HQ team is a part of OMB, the White House's Office of Management and Budgest.

The agency teams can be thought of as a franchise model, we work closely with the HQ team and the other agency teams, but we're also a for real part of the agency we work at.

(Just realized who I was replying to, welp!)
I'm curious from an engineering perspective which is more feasible
Am I the only one who finds irony in the fact that this site is run by company which invests in companies yet pretty much everyone who has commented thus far has said that yes, they do regret taking a investment?

I suppose it may depend on whom the investment is from, but it also makes me glad in many ways that I've turned down all of the people who have wanted to invest in my company thus far and run it strictly on the revenue it generates. (i.e. it was a hobby of mine that started generating revenue and only after that did I bring other people on to help)
Like OP, I also often don't carry cash, and I'm from Poland, however I assume certain rules apply to other countries too.

TINSTAFL. Shop owner pays for the POS terminal, pays for the phone connection, pays some percentage of the transaction and even for the printed logo on the bill. I don't believe any business owner would pay for that without charging clients for the cost, so in the end, it's split out onto the products prices. Specifically in Poland there's a law that f.ex. cigarettes cannot be charged more than the MSRP, but the rest of products obviously can, so in the end, you are the one who pays for the comfort of paying with plastic.

Also, cash is billed directly, money from bank transactions come with a (afair 2-3 days) delay, so obviously paper gives the business owner a better cash flow than plastic. Oh, and a very-cheapo Polish 7-11-alike Biedronka after many years of operation afaik still doesn't accept cards, and besides slave labour I think it's also a matter of being able to drop prices a bit more. So there's probably some common sense there. I don't like being unable to pay with card though.
Most of the places I see that don't take cards are newsagents - hardly difficult to see why someone in that line of business might be a bit reluctant to make a capital investment.
Just wanted to say...I <3 Datamapper, it rocks. When work with pre Rails 3.0 code I really feel that I'm missing the Datamapper Kool Aid a lot!!

Well done guys.
I bet tptacek is wondering why he needs to keep saying the same thing over and over again :)
True. I've never run a shop.

However I know few of the shop owners. All of them are saying the same thing: problem is money or sometimes technical issues (e.g. someone doesn't know how to use computer or a terminal for card payments; doesn't want to learn new things; is afraid of new technology).
Problem: supporting only _one_ cipher (although at several key sizes).

For those who are interested, there is also jsBFSH (Blowfish CBC), jsCrypto (AES, DES, 3DES), and, the JavaScript Crypto Library, which supports about 6 or 7 different ciphers at all common modus operandi, as well as several hash functions.

jsBFSH - http://stolendata.net/~djinn/code/

jsCrypto - http://sourceforge.net/projects/jscrypto/

JavaScript Crypto Library - http://etherhack.co.uk/main.html
The story is interesting, but I still can't figure out why having both their own servers and EC2 splitting 50/50 is a good idea. If EC2 dies the private server won't be able to handle all the traffic and FarmVille will stop working. If the private servers die, they will have a little hiccup until they manage to rescale EC2 and everything will be back to normal.
With this system, in practice they already fully depend on EC2 and have an extra point of potential failure. What am I missing?
You can't really screen against crazy one-offs. This could happen again tomorrow and the rest of the days of the year without anybody being able to come up with a plan to effectively screen out people like that before they can do harm.

The only way you can do that is by completely uprooting society. Any idiot can take a machete to the airport or a schoolyard or any other place where there are a lot of people and act out their ill fantasies.

An airport is actually a really stupid choice exactly because there are a ton of armed officers floating around.

Suicide-by-police officer is a pretty good description of acts like these.
Why don't you show me a counter example of it. See the Sanjay Dutt case. See Salman Khan case, one of country's top 3 stars prisoned for animal rights. Every now and then in newspapers you can read top officials getting penalized for misusing their powers.

I love Indian judicial system, it is terrifically unparalleled.

So is our democracy and individual rights. We had first woman prime minister 25 years back. Just a few years back, our Prime Minister was Sikh and President was Muslim - Both minorities. Tell me when any nation pulls that off.
I was thinking about something similar, but using SVN as the server and making a Windows client first.
They do both.

They sync directly to other machines over LAN and also send the files to their servers.
Bandwidth is saved through other means. The files are split up into chunks for which they compare hashes. If a chunk has already been uploaded to their servers by ANY Dropbox user it won't get reuploaded again.
This is especially effective for media sharing, because lots of people will download the same torrents and put them in their Dropbox folders to watch somewhere else.
Agreed. Why the hell would they want to meddle like that? Do they not trust you to Get Stuff Done? Do you not trust yourself?

If they do not trust you, it is possible that they view you as some kind of glorified employees and see themselves as your boss. They're not, they're just investors. It might be worth to give this relationship some thought and then discuss it with them somehow. You didn't start a startup to gain another meddling boss.
I use CrashPlan to achieve a similar result. I highly recommend you try it.

CrashPlan will backup to your network (free), your friends (free), your external drives (free), and optionally to their servers (paid) all in parallel. Anywhere you install their software you can share a backup volume/folder and it is automatically visible to your other crashplan installs as a backup destination. On top of that you can use your own encryption key, so the data is protected even in case of a subpoena to the backup servers.
In the URL was some base64-encoded data:

{ : post_idi X
I" uid : ETi I" expiry ; TI" 2014-01-26 19:38:26 ; T
> This really should be called the quality of our relationships rather than this so called "quality of people", whatever that means.

+1. I have met plenty of wonderful people with whom I have somewhat strained relationships. This is neither my fault nor theirs.
slow clap

Well-played.
Of course, a strong franchise contract with the manufacturer would have fixed this problem just as well (probably better) as legislation. And it would have only applied to parties who agreed to the terms.
Yahoo is still the 4th largest internet property. It has more than half a billion unique visitors monthly.
In the US, it's illegal for under-21s to purchase alcohol anywhere, but the consumption laws vary by state. According to Wikipedia, there are 14 states where consumption itself is illegal under 21; others either implicitly permit it or describe situations in which it is permitted.

http://en.wikipedia.org/wiki/Legal_drinking_age#Americas

http://alcoholpolicy.niaaa.nih.gov/Underage_Possession_Consu...
If you manually extract something and create a broken signature in the process, Gatekeeper helps you out by refusing to open the bundle in ANY application, and instead simply stating that the file is corrupt and should be deleted.

I've hit these things often enough that I just turned it off. Gatekeeper doesn't protect against unsigned code execution; it's merely the same old quarantine code with code signing bolted on. It prevents you from stupidly double clicking an evil executable -- in theory.
I'm confused why it's a privacy nightmare. They could just as easily sit someone there and count how many people are in a store and write it down. Your face is an identifier. I don't get why people think that anything technological anymore is instantly privacy nightmare. For an often technological website there is so much technophobia.
There's a bit of irony in that the Japanese car companies make all their cars (destined for the US market) in the US, whereas the American car companies tend to prefer Mexico.
I'm usually in favor of the good old KISS principle, but I've experienced few situations where "simple" ready made solutions were chosen on the basis of few demos showing "how simple it is to use this or that feature" over writing in-house scripts in general purpose language like python. In all of those unrelated situations there was trouble later when it transpired that indeed it is simple to use feature A, B and C that works exactly as original author's wanted, but the moment you want to tweak something manipulating the whole thing is terribly inefficient, and/or complex. In the end tweaking those simple ready made solutions required more work than re implementing the whole thing from scratch would take in the first place...
I take YAGNI to mean not developing abstractions until you have enough use cases to back them up.

If you don't have a reason now to make an abstraction, don't do it yet. Wait until you have at least 3 use cases where you're repeating yourself before you come up with an abstraction that collapses them. You'll know better what the right abstraction will be once you have those use cases... any abstraction you come up with now is much more likely to be wrong. And a wrong abstraction is much worse than repeating yourself.

Of course, if this is the umpteenth time you've done the same CRUD app that wraps a relational database, go ahead and use the abstractions you know worked before, because in that case, you've already seen the use cases before and you have a better idea of what abstractions will work.
Romanians, too, were not the target.