jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
"how is this Rails specific?"

I spent years in Java prior to Ruby and through the various frameworks in Java, I never remember making the mistake or working with anyone who made the mistake of blowing away the production data when running tests.

Since working in Rails, have had at least 2-3 experiences on the team with truncated/dropped tables or mangled data in production, and it isn't just the current team.

Many other languages and frameworks don't have it as part of the normal process used by most developers to accidentally do this as much as it has seemed to happen in Rails 2, due to the conventions used.

With Rails, the same project for the most part is in dev, test, and prod. Developers want database.yml revisioned with the rest of the app. Many Rails developers at some point run production against production DB locally, in order to run migrations on production prior to Capistrano deploys, etc., or maybe just to run a production console to run reports or tweak data. So, there is a very real chance for wild things to happen in such a risky environment. I'm not anti-Rails by any means, but I've not heard of this happening as much as it has historically with Rails in other frameworks.
I've seen a number of groups that organised recreational sports events that offer discounts to people who are students or unwaged. That seems to be kinda of what you suggesting.

A good example: http://www.madeventz.co.nz/tmrogaine/files/tm-entryform.pdf

Unfortunately this practise seems to be contained to the amateur adventure sport community.
I really wish I knew the story behind some of these images, especially the SUV wreck, with the man sitting at the edge of the roadway hanging his head in a pose of ultimate dejection.

On the one hand Google Street view is a testament to incredible technological power, giving us little still life glimpses of the huge world around us, but it still can't capture all the humanity of life and the many human interactions that happen every day on our planet.
Conversely, you may _want_ interdependence for exactly this reason. If two countries are dependent on each other for basic needs, they will not be able to go to war.

This kind of reasoning was the seed for the European Union: by joining the coal and steel industries of France and Germany into a single entity, the European Coal and Steel Community was thought to make further wars in West Europe practically impossible.
Since it's git-based, is it even possible to not keep a local copy? I thought everything that goes into github has to be committed to your local git repo first?
There are a few common signs in institutional shorting, that may be used to determine short interest in absence of official filings, share counts, or other data, but they mostly require a low-volume market to see clearly:

The accumulation/distribution line is strongly inverse to price(It's an indicator based on buy/sell volume. Normally, an accumulation precedes price rise while a distribution is in tandem with a selloff. When shorting, the long-term trend goes the opposite way - there's more buying than selling, yet price consistently drifts down. Caveat: being based on a composite of price/volume/time, it's not totally accurate and even changes dramatically across time scales. )

Market-maker quotes on Level II behave unusually in response to buys or sells(on small, low-volume stocks in particular, MMs are sometimes colluding forces and will "paint the chart" with tiny trades that, in a fair market, would not affect quotes).

Message boards for the ticker symbol suddenly see the appearance of paid bashers who will repeat negative news multiple times a day.

---

With a lot of heavily shorted stocks, the company is fundamentally weak to begin with. However, even a very solid company is vulnerable if it's starting from a low market cap. So - in general - take the appearance of a large short position as a sign to either join them or get out. To see a short squeeze the float has to be very tight, and the stock needs to be forced into a speculative frenzy with good news or just big buyers. The long-run odds always favor companies failing.

OPEN is a big-board stock with a large valuation and volume right now, so I wouldn't expect shorts to be obvious enough that you can see these indicators. As well, their dirtiest tricks are reserved for pennies. They have the lowest risk there, since market cap is so small that they can absorb most price rises.
I think it should also be noted that if you're using Heroku, you've already got a "private git host" right there. People get so used to "git push heroku master" as an idiom that it doesn't occur to them that "git pull heroku" works too. You can collaborate using Heroku as a single-source-of-truth just as well as you can using Github or Bitbucket.
Page 20 / 108:

3. Ensure the system is reesistant to manipulation by Advanced Persistent Threats (APTs)

Page 27 / 108:

The DIME security model depends upon the reliability and security of the global DNS system.

Color me skeptical...
Array.prototype.forEach.call(..) is more efficient because it doesn't create a new array.
Except that in this case that wasn't true. But that's usually how it would go, you're right about that.
Always put your API keys in an environment variable or ~/.
pretty cool, but not surprising. in any large organisation, there is plenty of rule bending to achieve goals. you just can't get caught without results!
I did go through this list a few months ago and found most options lacking. But Cloudflare tunnel was still bound to having an Argo subscription back then. (To be fair, their pricing page is still very confusing on this)
ipv4 costs will keep increasing, so if you want cheap vpses ipv6 will be the only option and this will allow you to use cloudflare network to serve the v4 users.
Yes, that's what invariably happens when your standard for moderation is bare legality.
That's one hell of a goddamn tip. As someone who recently closed their Google account, this will come in handy. Thanks.
> Lots of LGBTQ organizations have FAQs about transgender issues. E.g. https://www.hrc.org/resources/transgender-and-non-binary-faq

That site makes some obviously false statements (e.g. about what 'sex' is).

> What questions do you have that are not answered in this sort of material?

Allow me to quote myself:

> But why should I take someone's view of their identity without question? Why, and to what extent, am I obliged to uphold and reinforce someone's self-perception? And why on some issues but not their race, height, age, etc.?

None of these questions except the first have been addressed, and the answer to the first was wholly inadequate as I explain up thread.

> If someone says "I identify as a woman and prefer female pronouns", it's not clear to me what it is that you'd want to 'question' anyway. If the person is, for example, a colleague, why would you care about their anatomy or what gender they were assigned at birth?

Again, I'm not going to be needlessly confrontational with a colleague, but I still don't believe their identity claim (I believe they feel that way, I just don't think that feeling is has much bearing on my beliefs). And while I will comply with their pronoun requests, I do care that I am being expected to lie, and there are limits to how far I am willing to go to preserve the fiction.
How about seL4?
Perhaps schizophrenia has an evolutionary advantage?
You need millions and years of cutting red tape to set a franchise before you even see 1 red cent in profit.

This:

1) Will take longer than 3 years to make 1 million.

2) Is probably not this man's expertise
If you buy GOOG stock because you expect them to maximize short term profit, you haven't really been paying attention. It's not like they haven't been telling people what they're up to:

http://investor.google.com/corporate/ceo-message.html

http://investor.google.com/corporate/2004/ipo-founders-lette...
It's not nice when "customers" that haven't bought hardware in two years decide they deserve new software that costs money to develop and test for legacy hardware either. They're a business, not a phone firmware charity.
you can criticize someone's work, behaviors, or ideas without leaving them feeling lousy and resentful about it

Exactly. It's not a choice between being a jerk and handing out free passes. You can be very critical while also approaching the criticism from a "I am doing this to help you explore the issue" perspective rather than "I am doing this because I am smart and you are stupid"
While this is true of mobile (ie iPhone apps) I get the feeling the article is more aimed at desktop apps, where I think the advice makes more sense (as there is no App Store).
And where are these things advertised? I'd love to attend, but need a little bit more notice since I'd have to arrange a flight from Dublin and somewhere to stay for a night or two.
I keep seeing articles that worry about not being able to do this, and I just wanted to show that you pretty much could if you wanted to (no need to buy a C64 as the Salon article author did).

I think if someone asked me how to get started hacking around, I'd suggest HTML/Javascript or Processing. They both have the advantage of being very easy to deploy the output if you want (for sharing). They also have progressive enhancement (meaning you can start knowing only a few simple things and learn more as you need it)
Politics aside, I find it interesting Dart isn't getting much traction at this point. It seems it should be in a similar position to Java during the first wave, but it clearly isn't.

By itself it's clearly not bad, it's just not better enough than what is there already to suffer the inter-ecosystem pain with native JS. Since it can't do anything JS can't the only selling point it really has is to build large JS systems in some other safer language, but we've been there before with GWT, and that didn't set the world on fire either.
I live in suburbia where there are few pedestrians. When I am out running, I would guesstimate that only about 20% of drivers actually stop before turning right on red. About 90% of drivers, even the ones that stopped, also never even glance in the direction they are turning, looking only for traffic coming from the left. By the time they have starting looking right, they have already crossed through the crosswalk.

The only reason there aren't more injuries to pedestrians is that there aren't very many to begin with and those that are on foot operate on the assumption that every driver is out to kill them.
If it is inside node-webkit, I'll be curious to see how they got native windows menus support. There are some pretty serious bugs in NW's handling of windows native menus.
I'm very far from an economist. But in school I learned banks loan out "your money" to companies, for which they receive interest, which they also use to pay you interest.

So when loaning money requires 0% of interest payments, and saving money pays out 0% of interest...that seems wrong?
Thanks, same to you!
https://www.wearethemighty.com/articles/these-are-the-only-3...
this feel good story is more like an expose on the hellscape that is paying for medical care
Good question. I also predicted in 2015, that Donald Trump could become president, since he was giving public speeches about that before running. So yeah, I was right. Also, chances were 50-50 since there are only 2 parties. So I predicted and he become president.

I think the same goes with this guy, Jim Keller quit Intel and could join another company sooner or later, and that will not be a former one, likely a startup. We are Genius.
No, I'm talking specifically about things like bleeding edge treatments for late cancer stages accessible only in top U.S. hospitals. Treatments that are still in trials or just approved and not available in Norway yet.

Sometimes they would work and sometimes they wouldn't, but in Norway your option then is basically arranging your own funerals.
Case in point : I owned a 300k house with my ex, we had a variable Euribor mortage taken out in 2004. With the Euribor at zero or below, the actual rate was close to 0.5%. Roughly translated to about €200 a month.

Now I am renting, a third of the space, for about three times the money ( maybe even more ).
> The problem is you can´t easily opt back into the public system once you´re out (especially once you´re old), so there are tens of thousands (if not hundreds), that get stuck in the private system without being able to pay the fees because they´ve become poor (possibly because of health reasons), and then they get denied coverage and thus access to medical services.

Although I recognize the personal hardship this can cause, I fail to accept this as a general injustice. In the German healthcare system nobody is forced to choose a private insurance instead of the public one. Choosing a private insurance when you're allowed to (which often means because you're in a higher income bracket) is usually only cheaper if you're young and healthy. It's basically a gamble on your own health for wealthy people.

And if the wealthy young and healthy population don't contribute to the public health insurance system which also pays for the not-so-wealthy and not-so-healthy (older) population, the public insurance system isn't sustainable.

The real problem with this system is its division in public and private insurance. Mandatory public insurance would mean lower insurance fees for public insurance and the problem of being stuck in private insurance would no longer exist.
For certain types of multiplayer games the recent Elo-MMR is even better (faster, provable guarantees) [1][2].

Quote from the paper regarding TrueSkill:

> The main disadvantage of TrueSkill is its complexity: originally developed by Microsoft for the popular Halo video game, TrueSkill performs approximate belief propagation on a factor graph, which is iterated until convergence. Aside from being less human-interpretable, this complexity means that, to our knowledge, there are no proofs of key properties such as runtime and incentive alignment. Even when these properties are discussed, no rigorous justification is provided. In addition, we are not aware of any work that extends TrueSkill to non-Gaussian performance models, which might be desirable to limit the influence of outlier performances.

[1] https://github.com/EbTech/Elo-MMR

[2] https://arxiv.org/abs/2101.00400
I really enjoyed Ben-David (and Shalev-Schwartz)'s book "Understanding machine learning". It's essentially about theory though, not "learn all about machine learning in torchsorflow in 10 days".
> - How to be healthy - How to educate - How to raise kids

I think it's interesting that all of three of these hinge on the same problem: human variability. I strongly suspect that humans are much more variable internally than conventional science and journalism accounts for.

The scientific method uses statistics which is important for showing aggregate effects but can also obscure variability. And journalists have an incentive to offer simplified guidance that is as widely applicable as possible.

The end result of a lot of information like "Do X" when what it should really be is "If you are like Y do X, if you are like W do Z."

This is a pattern I think of as "the missing parameter" that I see just about everywhere people give advice once I started looking for it. Examples:

- "(Static/dynamic) types don't help programming." For what kinds of programs? Developed by whom? At what scale and timeframe?

- "You (should/should not) use a schemaless database." How big is your dataset? What is the relative fraction of reads/writes? What kind of data? How many users? How much money do you have? What are your failure modes?

- "People should move (to/out) of cities." Which cities? What is the city's transit like? Which people? What activities do they prefer? Do they have kids? What's their economic status? Age? How important is it to be near a hospital?

- "You should eat less salt." For people of what age? Activity level? Diet?

- "Teach by example not generalities." Teach what material? To whom? How important is their understanding? How long should they retain it?

- "Children should go outdoors on their own more." What age? What personality do they have? Where do they live?

Whenever I see people arguing about some generality, what is often happening is that each party has implicitly filled in those parameters with different values, so they are all correct but talking past each other. When I see this happening now, I try to take a step back and figure out what implicit parameters they are assuming and see if there's a higher-level parameterized stance that unifies their arguments.
When you say IT workers, do you mean mostly the people we used to call sysadmins?

(The term "IT worker" doesn't translate well globally.)
This article fails to make a clean problem statement for the general audience. It jumps right into jargon and names from some framework/library. It reads like it was an internal report from a programmer to their team, and someone decided to make it public with no changes.
How about we make them prove they are not tracking users instead?
>Why would anyone think that race is a good proxy for one's background?

On a long enough timeline it's unfortunately a self fulfilling prophecy. (This goes for whatever demographic groups you use to divide people into, not just race.)
Thanks - I had a good Puckle at that one.
ENS is a good one to start with
Founder exchange is a great idea.

By African, you mean one of those people who has never seen a stable Internet connection or even a stable power line, or you mean a South African from Johannesburg?

Cause there's a big difference, and I don't think the former would have many good ideas for a developed country, even for it's worst areas. No offense, it's just that the more you're exposed to various things and technologies, even simple ones like silicone sealants, drain pipe cleaners, proper supply/sewage pipe laying, a plotter, or a proper 3-axis lathe, the more you're able to create.

And did you see first hand how things "work" in those systems? They barely function - I'm talking about waste management, bill payment and banking, Internet and electricity, even food and goods delivery/distribution (surprisingly hard when you don't have established land/sea/air shipping routes nearby) - things that you take for granted in the US, UK, Germany, any first world country.

Also, few things are designed for long term over there, it's mostly short term fixes and patches, over and over again.
Just the fact that it’s not my city and not my risk, so not for me to decide.
'Free Speech' is one of the HN 'trigger' issues, so there won't be any actual discussion of the issue here, sadly.

To wit a top comment is talking about 'suppressed speech' when we have 100x more avenues to speak and express ourselves, and more people have voices than ever before, by several orders of magnitude ... is evidence of that is abundant.

YouTube, Twitter, TikTok, Blogs, the fact we can now access information from around the world, the readiness 24/7 nature of information, any book, from anywhere, people from around the world interacting on Facebook.

Only 25 years ago it was literally unthinkable - I was alive then and nobody was predicting this. If you wanted to learn about 'Russia' you went to the 'Library'. Now - you can read Russian News, videos, TikToks, Instas, communicate with Russians, heck - you can even work with them.

HackerNews itself is an amazing opportunity for information clearing and individual expression that did not exist in any form 25 years ago! The very comment you are writing is 'revolutionary' in the broader picture of time. There was nowhere to do this before. Nobody could interact with people from around the world about 'daily tech news'.

It's not even a debate how much more expression there is today.

To your point about 'education' - obviously that would be wonderful, but that's not going to be good enough.

Just look at the issue here: we have incredibly more power as individuals to express ourselves publicly - and a 'very educated' HN board can't seem to grasp that.

We're just starting to grasp the power and influence of Social Media - and now that Trump has shown 'what can be done', I'm afraid it will be an 'arms race' of misinformation for a while.

Our system depends on integrity: that your doctors is certified, professional, moral. Same for your teacher. The Judge. And the same applies to information. We 'fact check' books, reports. We certainly expect that in the Scientific domain. So we must have that for public information as well. Which is not to say we won't have other expressive channels, but randoms on 'TikTok' just can't be a source of news, other than the experience they might be able to grab on their phones (which FYI can be enlightening).

So yes, education, but we need credibility in our institutions as well.
You’re telling me! I got my mom an Oculus since she wouldn’t need a beefy computer to run VR. A few weeks after getting it, they want the Oculus account switched over to Facebook. Luckily, she can use the Oculus account for a few more years, but it was still so annoying.
Anybody familiar with the history of requests knows this is bad advice.
Sure, it’s a privacy invasion.
HN crowd is too "first-world" centric : to me this is an attempt at taking over digital micropayment that ubiquitous now in third world economies where the informal economy is strong, and not everyone has access to banks, payment cards/terminal for your "side of the road" business, but now (cheap) smartphones are everywhere. At least that's how I would market the stuff if I were signal
How does setuptools not count as a dependency?

If you've never run into setuptools compatibility problems, you've either been much luckier than me, or you haven't done much with Python packages.

Vanilla ubuntu used to come with a version of setuptools which didn't work for installing many recent packages.
My doc is split between Notion (for bigger, structured projects) and a bunch of local md files (for general, greppable knowledge).

For my VPS, I have a Notion page where each project (name, url, mapped ports) is a row in a table. Then the project page contains a copy of my docker config and various informations I might need for maintenance/reinstallation.
How is it better than what?
I was not aware I was uncivil, certainly didn't mean to.

Your comment does not address the basic problem with a legislative implementation of freedom: it is undemocratic because the power to fight legal battles will always be constrained by money, therefore giving more weight to those that have more. That makes the legislative or libertarian version of freedom undemocratic. If that interests you, basically any critique of libertarianism will cover it. (Where it gets really interesting is where funding for its promotion come from!)

Better laws can be achieved by a democratic process also: you simply vote for candidates that advocate your view. This is democratic because everyone gets the same weight.

Naturally, if you have the means, that may seem inefficient, but then that was never the point of democracy, and as far as I am concerned, must never be the point of freedom either.
Note to self: never get a page on IMDB. Not that there is any risk...
The demand pull for propaganda is the disturbing bit.

I'm not sure it's entirely new, though; people keep repeating stories from the rise of fascism in the 1930s. Material that tells you your country is great and all the problems are the fault of the Other is always going to be tempting.
It isn't arrogant but it is unilateral, which can always be a problem when it involves others. It's not always avoidable but if you are the one making unilateral changes you may end up bearing costs also, or needed to do extra to facilitate the change.

If you suddenly decide to stop drinking, it's not arrogant and I would hope your friends would be supportive.

Arrogant would be expecting them to all stop going to the bar because you don't want go anymore.