skysight-inc/HackerNews huggingface dataset:
- Correct.

- Incorrect. They are all inside a single LMDB file. So there is not an open file handle for every actor.

> How do you coordinate safe schema changes across all actors?

Before committing a schema change, we test it against the existing schema. If SQLite runs the SQLs successfully (on a dummy memory-only database) it is committed. We do not guard against writing updates which might succeed in some actors and not succeed and others. It is the developers/administrators responsibility to create schema updates that are valid.

We assume schema changes are reasonable (add tables, columns, indexes). Not rewrite the entire schema kind. Of course you can do that, but it's your responsibility that it is working.

If there is any doubt of a schema update, one can always create a dump of the live database, start it up in a staging environment and perform the planned update there first.

> But for many types of schema changes you do want a controlled migration where you ensure that all tables are fully updated. Can you force the schema upgrade by touching all agents with a dummy query, perhaps?

I don't really see a benefit in doing that. But you can very easily write such a query: "actor mytype(*); select id from sometable limit 1;"

> Thread example...

The user actor would be the right place to store the list of threads where it has commented. So every post would be a transaction to thread (where the message and actor id would go) and user actor (that would just store a list of thread ids).

There is also another way of modelling a forum that I think would be better. Have two KV types, users and threads.

The schema:

------------

actor user kv

CREATE TABLE actors (id INTEGER PRIMARY KEY, hash INTEGER, name TEXT);

CREATE TABLE messages (user INTEGER, thread INTEGER, FOREIGN KEY (user) REFERENCES actors (id) ON DELETE CASCADE, PRIMARY KEY (uid,thread)) WITHOUT ROWID;

actor thread kv

CREATE TABLE actors (id INTEGER PRIMARY KEY, hash INTEGER, title TEXT, date INTEGER);

CREATE TABLE messages (id INTEGER PRIMARY KEY, thread INTEGER, uid INTEGER, txt TEXT, FOREIGN KEY (thread) REFERENCES actors (id) ON DELETE CASCADE);

------------

KV types with sub-tables are quite powerful. You can have a rich data model and the data will not be too fragmented over a large number of actors.

> How much failover testing have you done on your Raft implementation?

Replication receives the bulk of testing.
I went to high school in a southern town U.S. town that then had a population of about 2000. I can assure you that police behavior there strongly reflected the attitudes of a couple wealthy families in the town, not the ~1900 other folks.
I remember asking my physics teacher why AC circuits had a live and neutral connection, sadly I didn't get an answer anything like your first link.
I don't think that's true in the short run.

If there are 4 people in the US who have the skills to do a job, but you need 8, you have a shortage. It doesn't matter how much you offer for the role, you only have 4 skilled workers.

Of course in the long run, that doesn't hold true.
Magic Realism Bot
Of course, this styling isn't just used in cases where the property was illegally obtained. It's also used in cases where it's not in dispute that the property was legally obtained, and the government simply seeks to take it from the legitimate owner as a penalty for a crime they assert he committed, in order to avoid naming the owner as a defendant even though they know exactly who owned the property they seized.
That's odd, given that Pages (and the rest of iWork) usually only updates every few months.
> Lastly, there's all kinds of experimental work on breeding insects in high oxygen environments, but the results so far aren't universal..

In my completely uneducated experience, it seems like this should be easy to test. Wouldn't it be easy/cheap to over-oxygenate a room, and put bug-farms in there. Is it more complex than that?
We can try to stop deaths of this type.
Conventional English Title: "Man with a Movie Camera".

Wikipedia: https://en.wikipedia.org/wiki/Man_with_a_Movie_Camera
For example, you could have a parameter on the cert that caused clients to probabilistically reject it 1/10000'th of the time when in the last month of the cert's lifetime (so there are really two deadlines, the probabilistic-failure one and the total-failure one). That would give you the same warning about the coming total failure, without hindring as many users.
> "On the other hand you have many startups who won't even interview you if you don't have side projects or open source contributions to show"

In my experience having too many side projects can be perceived as a negative for some employers.
Part B there is why I suspect this tech talent shortage is not as real as it's made out to be. If there was a shortage, they would totally care.
Same applies to me.

I started coding on a Timex 2068.

So buying tools was the only legal option. Well, we could also type them from books and magazines.

Eventually I became a bit of FOSS zealot with the rise of GNU/Linux.

However, after a few years and head bumps, I came to realise that I care more about cool technology than being religious about FOSS.
There is a fair amount of difference between "an invalid cert" and a certificate that is valid apart from having expired a day ago.
Unfortunately we're bootstrapped, so acquiring them doesn't seem feasible right now.
Windows 3.1 Error Grounds Planes at Paris Orly Airport
> Today's conservatives don't believe in small government or reduced spending

Conservatism never meant small government and reduced spending, it has been(since both classical conservatism and classical liberalism were defined), protection of the interest of the status quo elites, typically by appeals to tradition, religion, and national identity.

Modern American political conservatism includes a lot of small government rhetoric because the status quo elites it protects are outside of government, and because it has sought to harness support for libertarian ideals and work it in favor of conservative politics. But there's nothing essentially small government about conservatism, and the idea that the two are related is a fairly recent phenomenon.

> Neo-conservatism changed all that.

Neo-conservatism is a bit weird, in its history (largely being founded by disillusioned ex-Trotskyites, and centering on global revolution vary similar to that supported by Stalinists, but with neoliberal economic systems and the US taking the role of Communist economic systems and the USSR) and other ways, but only had a brief moment (roughly corresponding with the George W. Bush presidency) as a dominant force in the broader scope of US conservatism; religious/social conservatives supporting big government enforcing their particular social views have been a dominant force in American conservatism as long as there has been American conservatism, contrary to your idea of small government orientation as an essential feature of conservatism that has recently been lost in America due to "neo-conservatives".
apprenticeship via a union is class conscious, organized labor in software engineering would also help us to be a part of opposing our employers' doing things that harm the community / world, even if unintended consequences, and connect us with workers in other industries.

why do i feel a class separation from a BART maintenance worker? because they are organized and conscious and probably see us, fairly rightfully, as bougie.
If I want a prime ribeye steak; but only want to pay $3 for it, is there a "cow shortage" ?
Narcissistic and Entitled to Everything Does Gen Y Have Too Much Self-Esteem?
I can see how Scala is an improvement over, e.g., Java, and other languages with weaker type systems and bad abstractions.

Since it's often the case big and complex languages succeed, for some definition of success, I'm sure it will be as successful as Java.
I think we're largely in agreement. When too few people have too large a lever, then a few stupid decisions (amplified by collective crowd following in investment circles) really impedes economic growth. On top of that, in the higher levels of finance, there is an increased decoupling of investments/spending decisions from their direct outcomes - both in time, and the adverse personal impact. This hampers the quality of investment decisions.

People of all economic levels make smart and stupid decisions with money. If that money is spread out among many people making many decisions, then overall most people do reasonable things and we still can end up with a pretty good economy that is more resistant to bubbles.
Many of the reasons you point to are the result of guilds, which were very territorial about their workers and markets. What I am proposing is for apprenticeships to be democratized by being made available for any employer willing to accept the wage subsidy. So if you decide after 5 years that engineering sucks, you can always find an apprenticeship elsewhere (assuming your former employer doesn't give you a dreadful reference)
That's usually true for personal debut. For governments, it's a dangerous misconception.

The only problem with personal debt is when it becomes systemic. The fallacy of composition is that what's good for individual is not necessarily good if we all do it at the same time. Normally lowing your price to be more competitive is a useful strategy, but not when it becomes a race to 0. We saw this in the great depression with farmers publicly throwing out their product.

As for governments, the austerity meme is class politics in disguise, and tends to lead to nasty social blowback. Governments can change monetary policy and other law, giving them a lot more options.
Ecommerce Is Still Out of the Hands of Too Many People – Hello Sello
Well, your conclusion about #2: «my answer to #2 is no» - does not hold because «judgements are biased by wealth» unfortunately is a well known fact, so your conclusion should have been the «system (...) is fundamentally not justice» and the answer to #2 is yes in the current system. Because the way you put the question «Do such seizures unfairly prevent...?» you are not talking about some hypothetical perfect system, you are talking about the system in place.
I think most of the performance degradation is from using the OpenGL API on SteamOS. I heard about Valve investing a lot to optimize the driver stack on SteamOS, so I am a bit surprised by the stark difference in performance.

I guess there is still quite some optimization to be done both by Valve and the game developers.
I am a self-taught developer.

I think part of the reason is that "software development" job requirements have vastly expanded from 10-15 years ago. Speaking generally, a decent hirable engineer is now expected to not only be able to contribute full-stack (front and backend) but also do an amount of devops as well. The tools have become more specialized requiring greater experience to wield them. Nobody with less than 5 years exp is going to be at all productive and worth hiring IMO (note: that could include 4 years of freelancing while in college)
Granted this is allowing very small teams to be highly productive. But you can't hire B-level or Jr. people at all.

So the experience level bar has been raised for the same position 10 years later.
Once more into the quagmire? Fuck that.
That's not the case, freight trains in the USA are excellent.

European railways prioritise passengers, but much freight moves by water.
Just because you live in a city doesn't mean you don't spend a lot of time driving. I live 5-6 miles from my office in Santa Monica and it has taken up to 50 minutes to get home.
Is there potential evidence you could imagine that would change your mind about that premise? I agree with GP that inequality is fine if the basic needs of everyone are met, I also go further and agree with Paul Graham that inequality is a sign of a healthy economy (http://paulgraham.com/inequality.html). I also find nothing wrong with inherited wealth because I love my heirs and want them to have an easier life than I did, I want them to have some silver lining if I pass, I'm in this for more than just myself. I thought about it for a few minutes and one piece of evidence that might make me reconsider your side is if you could show rising inequality (in an environment with an absolute basic-needs-met floor or not) leads to falling access of the basics like food, shelter, knowledge, and useful technology like penicillin. That would be a potential downside to increased inequality that I would care about -- I don't particularly care about the potential downside of increased inequality leading to increased envy since you don't treat envy by giving in to it.
> So they have money for drugs but not moving?

$40 for some weed is different than the cost of gas, deposit to rent a new place, days or weeks of food while you find a new job, and stress of leaving your friends and family.

Yes, they have money for drugs but not moving.
Ask HN: Why No Discussion on the Grace Murray Hopper Academy
http://gracehopper.com/careers appears in the HN listings but has not links for flags, discussion, and so forth. Why?
All the source code and public data is still available. Some teams might still choose to run the software.
It's a paid ad.
I did say "fallback". HN does not have that link element in it's markup, and this tab is currently pinned, and shows the regular HN favicon
Ask HN: Spacer gif at the top of HN nav bar?
Anyone want to move to Boise, ID for firmware positions? We're looking.

(I do not officially speak for my employer.)
Really good article, but what I found myself thinking was: didn't we already know all this?

It's been common advertising wisdom for years that the benefit of brand advertising is simply awareness. Person is in store, person doesn't know which thing to get and doesn't really care that much, brand name pops into their head because the ad had that catchy jingle or adorable cat in it, they pick up that one and go on with their lives.

Perhaps the great delusion was that most people care enough about their purchasing choices of mundane items to "engage" with brands. That's never been true and it's continued to not be true, despite the construction of a vast new internet advertising industry focused around nothing but brand engagement at all costs.
"Luckily the scenario of "employers wield all the power" you describe is so far from reality as to be irrelevant. In theory, employees need a job but they don't need this job. Turning it down is and taking a different job is always an option - that's why virtually no jobs actually pay the minimum wage."

Yeah, you've clearly not been going outside the past 5 years.
Better go uninstall Chrome and anything else that has started doing silent auto-updates in the background too then, because that has the potential for spontaneous breakage as well.

I also think you're perhaps extrapolating a bit too much from this incident. Did the MAS breakage really truly suck? Yes, it did. Was it really embarrassing for Apple? It probably was. Did it cause grief for a lot of people? Yes. But the big question is, does this mean we can't trust the MAS to not accidentally break all our apps again? No, I don't think this incident means that at all. I can't think of any other reason for all my MAS-installed apps to suddenly break besides an expired certificate, and Apple's now renewed the certificate. Worst-case, maybe it'll break again in a few years when that certificate expires, but I bet they're putting in place some procedure or mechanism to guarantee that this won't happen again.

All that said, there are certainly plenty of legitimate ongoing grievances with the MAS. I won't dispute any of that. But vowing to never again acquire any app from the MAS over this one incident seems somewhat absurd.
> When everyone has a runway of 18 months, spending the time and money to nurture talented people isn't feasible whatsoever. You need productive people on day 1.

Day productivity is a mirage. Nobody is productive on day 1 unless they were already somehow working with your organization and understand your processes[1], team dynamics, and whatnot.

> Yet, the author's company is full of white males in their 20's and 30's...

You must be seeing something on that page I am not. In fact, it looks more diverse to me than the typical Valley start-up.

> It sounds like the author wants other people, with other capital to invest in the hard part of what he's suggesting to be solved.

That is a huge leap to make from a few pictures on an about page.

> For the record, Google brings in 1,500 interns per year. That's a pretty significant investment in talented people who many not necessarily be productive...(hint: they take a lot of Stanford CS undergrads) of which many will eventually take full time jobs there when they graduate. I've tried to hire these people and they are extremely difficult to attract when the alternative is a cushy job at Google.

So, there's a shortage of Stanford CS grads who interned at Google. What about the hundreds of thousands of grads who didn't go to Stanford or intern at Google? How many of them have you interviewed?

[1] Of course, it is my firm belief that much of the angst in Valley hiring is that companies don't want to actually pay attention to things like process and organization and so try to hire a bunch of self-organizing rockstars to compensate.
Indeed, the author is framing Access Granted against CanCan/CanCanCan, when Pundit has already picked up the torch of Rails authorization.

Pundit made the design decision to be as close to pure Ruby as possible, and therefore is extremely flexible (similar to the design philosophy of Strong Parameters). Access Granted seems like a step backwards (toward a DSL) from Pundit. So it would take a strong argument to show why Access Granted is preferable to Pundit.
> The INS moat protects the high salaries of US based developers.

The INS ceased to exist in 2003.

If you want to say "US Immigration law" in general, just say that; if you want to blame the particular agency responsible for enforcing that law, you want to point to USCIS (United States Citizenship and Immigration Services).
Then why not push the expiration back 2 days, which is effectively what the OP is proposing.

A reasonable thing to do instead is to give a warning like "The security certificate for app X is expiring in two days. Please update it" or something like that.

OR don't have expiration dates on a cert, if that is preferable.
JSON Inspector in Firefox Developer Edition
> Government spending on schools is enough; maybe too much.

Are you kidding? Almost every public school I know of has to run fundraisers because government funding is not enough to last through the school year.
Unfortunately no, I have never had any interaction with the feds and handling civil forfeitures. Reading a lot of the articles the majority of the problems appear to be with the feds and not local governments. So it could be that at the federal level abuse truly is rampant.
What the hell is a geek?
> Ampache is cool but I found the installation to be too fiddly and easy to break. It could be my incompetence with that product but I prefer subsonic. A java product which just runs and it runs well. The webinterface desperately needs a good UIoverall but it works and it doesn't get in the way.

I use ampache, but you are absolutely correct: it is fiddly, and breaks easy. Subsonic also does "just work". I personally like ampache because it's much less resource-intensive on my webserver, and easier to fiddle with (I'm also a java-hater), but Subsonic is much more approachable.
No they definitely have nuclear weapons. Relating to this article is the fact that Israel stole and smuggled 100kg+ of uranium from Pennsylvania http://thebulletin.org/did-israel-steal-bomb-grade-uranium-u...
Keep in mind that the other ~27% of people who are not "employed" also includes retired persons, students, stay at home parents, disabled people who are not able to work, in addition to people who have just given up on job seeking.
Ex country. Syria is a territory now. The only ways it could resemble some form of country - lets say they are unacceptable from moral view. The winning faction - no matter which - will surely go on a rampage of power consolidation with ethnic and religious cleansing in the mix :( So we have two harrowing option - yet another autocrat committing atrocities and generating suffering. Or warring camps that will commit atrocities and generate suffering.
Sorry for putting words in your mouth.

Serious question: Why must the money supply must expand?
Electron apps package a web view and show it on a desktop. They're explicitly using a browser window without the browser chrome.

Firefox honestly is a terrible choice to defend non-native UI conventions. You might as well have picked Java apps as your argument.
It only seems that way because as a company you're amortizing the investment in education over 2 years, when as an individual the employee can amortize that investment over the effective life of the technology or how long he thinks the knowledge will benefit him, which should be way, way longer (since he can switch companies and sell himself as a battle-tested expert). So the $5000 premium does include a payoff for investing in education, but the payoff is spread out among many more years.

This is a fundamental economic problem in training employees in transferrable skills. It's the reason why companies rarely pay for employees' graduate degrees (even though it can be extremely tax efficient for them to do so), and in the case that they do, they include term requirements (e.g. you have to work for us for 4 years afterwards, otherwise repay a prorated portion).
(I'm assuming you are a Canadian student due to referring to the work as "Co-op")

In general, Canadian labour laws prohibit what are typically considered unpaid internships, although it varies slightly by province.[1][2] My understanding is that this is not the case across most of the United States.

[1]: http://www.labour.gov.on.ca/english/es/pubs/internships.php
[2]: https://www.labour.gov.bc.ca/esb/igm/esa-part-1/igm-esa-s1-w...
I hear you however that's shortsighted on part of the employer. As an employer, you have a projects/tasks which needs to be done, you set up estimates on how long it should take. If the employee does it within those estimates, what he/she does in their spare time should not matter at all.

Personally, I would love to hire a person who is doing side projects to keep learning. I feel very confident that they will be able to take care of the regular tasks assigned as part of the job.
And you're replying with the standard statist fantasy.

Growing the federal government to protect us from all the evils of corporations is at least as naive an ideal as the libertarian one you are railing against, and moreover, presents a false dichotomy.

American government is likely more an oligarchy now than it ever has been. So long as the policies are there that give the federal government influence, that influence will be exploited.

If we can accept that neither unrestrained corporate power or oligarchical control of government is good, then we should be able to accept that the solution is in some middle ground, and ideological appeals to either end of the spectrum is likely ill founded.
Five Coveted Clams
Thanks... and Python... I don't have to reinvent something... will take a look thanks!
Why is English so weirdly different from other language?
Are you going to pay their moving bills? Are you going to guarantee them a job when they get there? If not, then quit acting like it's the solution.