jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
The name is stupid and should be changed, but I also don't want people to be absolved of responsibility because they bought into marketing. "But they said the ship couldn't sink!" Doesn't matter, you're still on the hook for the hundreds of people who drowned. Due diligence is a part of responsible adulthood.

The airlines that got fucked by Boeing's MCAS still had to send payouts to families who lost loved ones, because it was ultimately their decision to buy and operate a 787 MAX. They can (and certainly should) sue Boeing for the losses, but it doesn't change the fact that the crashes are theirs to own. You don't get a get out of jail free card for being gullible.
I'm quite curious about the examples. Maybe you should prefix the title with "Ask HN:". Write it in something lispy.
"They did unilaterally invade Iraq, killing, by their own records, tens of thousands of civilians in the process."

But that was ok, because it was approved by Very Serious People with flag pins and sometimes with stars on their shoulders. Their decisions regarding hundreds of thousands of lives should be judged by an entirely different standard than disorganized hacker hippies who accidentally endanger a single individual.
Infix and unary operators are pretty straightforward, since they're just prefix versions of their JavaScript counterparts:

(&& x y) => x && y
(|| x y) => x || y
(+ x y) => x + y
(- x y) => x - y
(* x y) => x * y
(/ x y) => x / y
(% x y) => x % y
(+= x y) => x += y
(-= x y) => x -= y
(*= x y) => x *= y
(/= x y) => x /= y
(%= x y) => x %= y
(= x y) => x = y
(== x y) => x == y
(=== x y) => x === y
(!= x y) => x != y
(!== x y) => x !== y
(! x) => !x
(++ x) => ++x
(-- x) => --x
(. x y) => x.y

While the dot operator's base form should be a prefixed s-expression like all the others, it may be awkward to use in practice:

(. (. ($ "body") (addClass "hidden")) (hide))

=> $("body").addClass("hidden").hide();

Since the dot operator is so common in idiomatic JavaScript, I propose allowing it to be infixed as a special case:

; expands to the above prefixed version

($ "body").(addClass "hidden").(hide)

For blocks we use a wrapper function rather than the curly brace block so that lexical scoping for variables can be ensured:

(do (= x 5) => (function() {
(++ x)) var x;
x = 5;
return ++x;
}).call(this);

The ternary operator:

(?: x y z) => (x ? y : z)

Perhaps we can create a useful distinction between the ternary operator and if-statements by giving if implicit do (just as cond has implicit progn in Common Lisp), but I'm not sure what the most elegant solution is. Thoughts?

Functions:

(function) => (function() {});
(function ()) => (function() {});
(function () => function() {
(+ 1 1)) return 1 + 1;
};
(= foo (function () => var foo;
(+ 1 1))) foo = function() {
return 1 + 1;
}

We could build a simple unhygienic macro system using the traditional quote ('), quasiquote (`), unquote (,) and unquote-splicing (,@) operators, as well as rest parameters (&). Here's how you might define a macro called unless:

; macro definition

(mac unless (x & args)
`(if (! ,x) ,@args))

; example usage

(unless true
(alert "Won't be executed"))

; expands to:

(if (! true)
(alert "Won't be executed"))

=> if (!true) {
alert("Won't be executed");
}

More coming...
If you want to run a decentralized conglomerate, you have to look at what service you're providing the managers who actually run the business units. Otherwise, they're better off remaining independent, and you'll end up with a portfolio of mediocre businesses that consume more than they produce.

For Berkshire Hathaway, that service is liquidity. Buffett provides businesses with a large lump sum of cash, enough to ensure that they and their heirs will never have to work again unless they choose to. In return, they can continue running the business exactly as they did before. For many entrepreneurs, that's a very useful service.
That's not exactly a counterpoint, as the intonation behind "ask for forgiveness, not permission" is that you are doing something the other party would not want if asked directly.
Nobody uses wiggle "stereoscopy" for anything but novelty pictures. It's just not a practical technique.
Via Kallol Borah:

HeadStart Ventures (http://www.headstartventures.in) is yet another small beginning towards creating an organisation to support entrepreneurs and innovators in India.

HeadStart Ventures is set up as a limited liability partnership (LLP) firm with the objective of mentoring and seed funding startups in India. We are supported by large technology companies and the first one I wish to announce is Intuit, with whom we are launching an online brainstorming and collaboration platform (available to use at http://ideas.intuit.com).

I have been involved in two successful community initiatives as co-founder of the HeadStart Foundation which is a not for profit community platform that has grown from 15 people in 2007 to over 15000 people now and the Association of Computing Machinery (ACM) Bangalore which is a professional association for computer science researchers and practicians which has grown to over 5000 people taking part in activities. What I have seen as 'gaps' in the startup and innovation ecosystem is what HeadStart Ventures has been set up for. These are -

1) angel investments : starting up and innovation is stifled in India due to lack of seed stage funding available today. Not that India lacks high net worth individuals, this is more due to lack of an effective organisation to manage angel money. HeadStart Ventures is setting up an 'angel fund' where we are involved in getting interested, experienced and able individuals to come together and manage seed stage investments. As an entrepreneur myself, I feel that going to angel networks that have slow decision making processes, too many people to talk to and a risk taking aversion similar to VCs in India is frustrating and the HeadStart Ventures fund will address this.

2) effective mentoring : mentoring startups in India is mostly done pro bono and the results are not too encouraging barring a few exceptions. Again, as an entrepreneur, I do not want 'help' from a mentor, I would much rather have a mentor who sets some milestones for us to achieve together and works on them. HeadStart Ventures is going to announce an incentive based mentoring initiative very soon and we are starting with workshops in July to start identifying startups to work with.

3) market access : one of the main reasons Indian startups reportedly do not display much innovation is because of the lack of knowledge about markets. 'Problem spaces' need to be defined and worked upon in collaboration with industry early adopters. HeadStart Ventures is therefore working on partnerships with large industry organisations to help accelerate time and relevance to market of Indian startups
your argument fails to fulfill its original point - i.e. you haven't successfully argued why uniqueness isn't a virtue.

There certainly are cases where other factors are more important, but I for one value uniqueness - especially when it comes to differentiating one's self on a global scale.
>But there is an achievement; the pixel density surpass the resolution of average human vision, so the screen will be like a physical object---not a digital one

You are a sucker for a sales pitch.
AT&T's "commitment free" price for the 16GB 3GS is $549, with a $599 price for the 16GB iPhone 4.

Although I'm guessing there's still some carrier subsidy hidden in that price since commitment free != unlocked, and even if that phone is sold on eBay it's guaranteed to only generate revenue for AT&T and nobody else.
>When every author of a blog is a genius, and spews such amazing pearls of non-wisdom.

When it comes to blanket advice on complex and nuanced subjects I vastly prefer the "do just the right amount of X" blogspam type non-wisdom to the "always do X, never do Y" internet comment section (Reddit is a prime offender here) brand of non-wisdom. Even if they're both unhelpful at least the former is technically correct more often.
> But what we've seen here is what he does when he gets that power. It doesn't sit idle.

Of course not. He's malicious, not stupid. Unused power is pointless. He'd have to be an utter moron to waste enormous amounts of money and effort and then do nothing with the results. He wants a return on that investment. Of course he's going to try to get more money by using his power.
The team I will be working with is located in Poland. But the internship will be remotely so I am working on getting a visa to Germany because Germany has a consulate service in Gaza so it’s easier for me to get that visa. I heard about another Manara participant who got into Google Poland and then had to wait 8 months for his visa because of Covid-19. He’s actually in West Bank and there is consulate service there but they stopped during Covid and he recommended I try Germany instead.
> this project can't even display their logo on their webpage

Could you expand on what you mean? I can see a logo.
Are you surprised by this? It's like going on Upwork and offering to charge customers less by direct invoice instead of their Upwork charging service lol come on son
> I do not see how Blue Origin could reasonably compete with [SpaceX Starship].

I could be wrong, but I don't think Blue has any plans (at least in public) for full re-usability.

Though New Glenn is a beast, it's not that much more powerful than Falcon Heavy, and both of those platforms still throw away the 2nd stage.
Identity politics and corporate posturing are two separate things. Everybody is trying to get an edge, including corporations trying to keep themselves prosperous. Identity politics is an idea about your identity playing into how you perceive politics. How this idea is used by different players is a whole different ballgame.
I really don't think its any more complex than it was 20-30-40 years ago. At the end of the day, none of this GUI abstraction does anything more than what the computer can do at the command line, and that's practically been etched in stone at this point—some of these bash commands are older than my boomer parents. Instead, people just don't have to bother learning beyond the abstraction to get work done anymore. It's just like cars: you don't need to know how to drive a stick shift and all the mechanical theory behind shifting gears smoothly if you have an automatic transmission instead.
Forgive me if I'm being dense, but what motive would I have to pay X dollars a year for the privilege of being easy to block?

Edit: I mean, I've heard people argue that it would help the porn sites curry favor with parents, but I really have a tough time imagining that actually turning into more money for the porn sites (though I admit that I really know nothing about the industry).
Nope. Only problems with the root servers or Amazon would be an issue.
> Obviously, its going to be a long time (ever?) before anything touches .com.

Not so long if the US government continues seizing domain names.
what. the. hell.

A+
Many tropical trees are "drought deciduous." Trees are always losing moisture through their leaves. By dropping their leaves when the soil becomes dry, they can better survive the dry season.
Bayesian filtering for comments based on downvotes, with failing comments requiring moderation by a human. My guess is that most mean/dumb/ad-hominem comments use the same words/phrases as other mean/dumb/ad-hominem comments.

To prevent moderation becoming a bane on non-spamming users, the threshold could be set to .05 or .10. (or .95/.90, depending on which way you train the filter.)

It worked for email when spam was a massive problem; perhaps it can work for comments while they're still only s small problem.
Do tell what is designed to sandbox untrusted code
MacFrotz is not a viable option. Its last release was in 2004, it's only available as a PowerPC application, and there is no source available. (I suspect it was originally built to run on Classic Mac OS.)

Building frotz from source should work fine, though.
Here's mine eaca37c25ca1a9c5d85efb8cbaf1742b4fbfeee0054d713961176ab9500c2f2b
You don't get anywhere near rated milage/ range on a normal truck when hauling loads either. The truth is even for work trucks, most trucks spend 80+% of the time lightly loaded or empty.

The issue with lumber racks and the apparent inability to haul larger items is a much bigger concern for "Work Trucks".

I see this as something which I can haul 3-4 friends and their bikes up to the trailhead in (or skiing/ camping/ fishing) and it seems pretty reasonably set up for that.
It looks weird when you write it that way, but the ' ' character gets translated into '+' when you encode the URI before making a request. If it was me, I'd prefer to see the '+' encoding than ' ' because it looks strange when it's not a valid URI.
Every single person writing a REST api should have to memorize this table:

GET - Return the current value of an object, is idempotent;

PUT - Replace an object, or create a named object, when applicable, is idempotent;

DELETE - Delete an object, is idempotent;

POST - Create a new object based on the data provided, or submit a command, NOT idempotent;

HEAD - Return metadata of an object for a GET response. Resources that support the GET method MAY support the HEAD method as well, is idempotent;

PATCH - Apply a partial update to an object, NOT idempotent;

OPTIONS - Get information about a request, is idempotent.

Most importantly, that PUT is idempotent.

Credit to arkadiytehgraet for retyping the table to be readable. Please give them an upvote for the effort.
Here's the thing I don't get. By default, you're receiving bitcoin and sending out dollars/yen. By default, there should be no discrepancies! I feel like you would need to be actively incompetent and trying to do tricky things for this to go out of sync.

If I had a box, accepted apples and oranges, and would give them back to the owner if asked(taking some slices as payment fees, but at transaction) , at what point can things disappear? The only thing I can think of is race condition style things, but that's a single point of failure right?

Maybe I'm missing some complexity here
While I agree GH may have a problem with this, in this case they aren't technically a "tracker" as they don't facilitate connections between seeds and peers. They just provide the metadata (magnet links)
A better way to address this issue is to charge similar rates for the same content, rather than charging $12 for a movie in Australia that can be streamed in the USA for $6.
1. People are self-censoring dissenting views in regular conversation outside of people they trust
2. People are self-censoring dissenting views in written communication
3. People are self-censoring their own minds as a result of #1 and #2
4. Dissenting communications and dissenting thoughts are reduced in frequency, leading to a snowball effect as ideas are more and more suppressed

It's not just the government that is producing these effects. The "mainstreamed" culture of the present day Internet is distinctly anti-intellectual and produces precisely these effects. "Slacktivists" of all political leanings engage in programs of intimidation to silence those they disagree with, which is entirely antithetical to having a pluralistic society. I just had a "discussion" with someone who was incapable of distinguishing the meaning of "lies" and "lying" in the context of deliberately falsifying or omitting facts versus someone having an ideology one disagrees with. Yet this person regards themselves as a "thinker" and "intellectual." This sort of person seems to comprise the majority of people in the Bay Area.

I used to be able to hang out with nerds and I could reasonably assume that no one around would be so scientifically illiterate as to believe that a person thrown out an airlock would freeze solid in two seconds flat. Everyone would know what "frequency response" was and be able to apply the concept. Now, a lot of "nerds" will just pattern match that as an "audio-woo" word and shut their brains off, yet you can ask them about the Fourier Transforms they studied as an undergrad. It's like we're the version of Brasil Richard Feynman visited. <http://v.cx/2010/04/feynman-brazil-education> Most importantly, I could hang out with "nerds" and assume that the vast majority of those around actually knew how to think and apply logic and actually discuss things with people they didn't agree with. Somehow, we've arrived at a state where most people tell themselves they're thinking, but they're actually just parrotting their friends after crudely pattern-matching the conversation. How can I tell? Because it's now very difficult to agree (yes, agree) ideologically with someone but point out they've arrived at their conclusions erroneously. Almost no one actually listens to and really examines facts and logic. They just determine if it vaguely sounds "truthy" in a way that aligns with their politics.

(Worse still, lots of self-identifying "nerds" will use the above process in discussions involving physics!)
I think it makes sense for big dense cities. Living in SF I have a biased view but it would work great here. I dislike the idea that you are locked into swapping battery BUT I see the ability to swap as a huge benefit. A lot of cities do not have off street parking or at least those riding scooters do not want to pay for it. You park on the street and plugging it in becomes a nightmare.
Good job.

There are a few things I've found that makes a better scan. First, lens calibration from OpenCV is great at fixing lens deviations. Secondly, since you are already using OpenCV, you can work in the colorspace that your laser/camera works best in. Thirdly, the angle theta is really nasty to calculate accurately. I've found you do not need to measure the angles. I'll explain.

If you assume that your camera is floating in some angle horizontal and some angle vertical, you need 3 pieces to figure out where your camera is. First, you need to locate the center of your platter. Secondly, you need the angle of the laser to vertical as viewed from the camera. These 2 constrain your data to a ray that originates from the center of the platter (origin) outward. Third, you use the checkerboard from calibration to determine your distance from the center, thus constraining the camera in 3space. Here's my equations I've derived:

x = (current_col + 1 - turntable_center_horizontal)/( sin(cam_angle) ) * sin(angle_per_step * current_iteration) ;
y = -1*((current_col + 1 - turntable_center_horizontal)/( sin(cam_angle) ) * cos(angle_per_step * current_iteration)) ;
z = ( (turntable_center_vertical - current_row) - ((current_col - turntable_center_horizontal)/(tan(-cam_angle))));

cam_angle is the angle the line makes. I measured from 270degrees in positive direction. Measure this offset, and the angle is cam_angle. The rest of the variables should be clear.

One place I'd look at changing up is upgrading the laser. You can buy a cheap burning laser for ~$10 on aliexpress. Just add that and a little motor+mirror assembly, and you can generate a clean laser line. I'd recommend green lasers, as green seems to be the most sensitive with the various webcams I've worked with. They also generate lots of IR as well, so the line is really bright.
Text only mirror of the announcement: https://gist.github.com/timelf123/e7bb350a8f93af3f824b
They could simply release the specification documents that they obviously already have.
My theory is that Scala was adopted because Java stagnated. Java isn't stagnant anymore (even if its behind other languages) and a lot of people I know that advocated Scala are just fine with Java now.
A proven track record of local government incompetence and private-public fleecing makes large civil projects much less popular than they would be in a perfect world.
Yeah, that's what I figured would happen next. It's honestly very difficult to defend against an adversary that nakedly aggressive. It's like trying to browse the Internet privately on your computer at your desk at the major IT firm you work at.
If people plan to not go out fora while, maybe a hobby would be wise investment to keep their sanity.

Yesterday, I was looking at eBay for lockpicking trainers.
The last article I read was this FT article published two days ago: https://www.ft.com/content/1f8e5a3a-6a58-11ea-800d-da70cff6e...

The article says the Republicans are proposing $1,200 per individual who earns below a certain income and $500 per child, while the Democrats are proposing $2000 per month to all individuals and $1000 per month to all children.

They're apparently stuck on how the corporate bailouts will work.
Imagine if the virus doesn't have a fatality rate that's very high in one sense, but it's high enough to overload the healthcare system so that most people who need to be hospitalized will just be left to die for a few months.

It won't end civilization, it won't be a blip in population growth, but I have a very strong reaction that "pride goeth before a fall" and you shouldn't go and assume that you and everyone you love will be lucky. It wouldn't make sense to destroy civilization or the global economy, but I don't think it's obvious that coping efforts are not worth a few trillion dollars in redistributed wealth and a lot of "nonessential" people staying at home for a while.

From some of the charts and numbers I've seen, about 10 million people in the world die from infectious diseases in an average year. If everyone got COVID-19 and 1% died, that would be something like 70 million. Plus who know how many would die from other causes that could not be treated due to the epidemic. So, what is worth doing to save 70 million people? I don't even know if I want to attempt to answer that, but if you're saying we're going too far, then you should have an answer.

But whatever, I'll attempt to answer myself. In the US, my impression is that liability for a death in civil court, could be on the order of a million dollars, as that's the order of magnitude of what an average person makes in a lifetime. Multiply a million times 70 million and you get $70 trillion. So that puts bailouts and stuff that cost a couple trillion in perspective. Maybe it is in fact coldly rational to try to prevent the virus from spreading?
Limiting mass shootings isn't the target result of the right to bear arms. Allowing for self-defense, precaution against drastic government overreach and the such are the objective there. Mass shootings are just a side effect.
It sounds a lot like what Go and perhaps Swift do. Perhaps other languages.
Call me crazy but my bet is that Apple will eventually do an iPadOS to macOS transition, kind of like they did with iOS to iPadOS in 2019. The existing macOS would be scrapped for the iPadOS fork of macOS. This would simplify their operating systems into one “Apple OS” where individual features/layouts can be configured based on the host device. MacOS would still look like Mac UI and iPadOS would still look like iPad UI. This would make easy for developers to make a single app for all of Apple platforms and would allow Apple to release more uniform OS updates. As for the x86 to ARM transition, I’ll bet they make developers rewrite their apps for this new platform, kind of how they dumped support for 32-bit apps in Catalina. If it’s a Catalyst app, then it will automatically run on ARM and x86. Others will be left in the dust.
Can you provide said studies?
Pollutants can be re-treated to be less harmful, or incinerated, or simply dispersed over a large enough surface/volume so that they would not be considered pollutants anymore at low enough concentrations.
That show was truly prescient in many ways. Man do I miss it.