skysight-inc/HackerNews huggingface dataset:
I think Brave's business model of blocking all these harmful ads that track you is awesome. Users can then opt-in to get paid to view notification-based privacy preserving ads. Websites and publishers can make up for the loss of revenue from these ads through creators.brave.com
This is much less of a good idea than you think:

https://www.energyvanguard.com/blog/75600/The-1-Reason-Power...

A whole house fan is a very different story, but it’s only really useful in some climates.
I once asked a friend why he was buying an extra large drink. He told me because he wasn't a little asian dude like me that drinks tiny portions and that he needed an American sized drink.

...
That is lovely sentiment; however, I fear that I will ride a space elevator before I ever have the chance to live in regime managed for the furtherance of my and my neighbors' well-being. It's nice to dream, though.
The jump is smaller at Burger King - 320/380/430.
There's nothing to stop. Trump no more has the authority to order U.S. businesses around than you or I.

He's an authoritarian thug who still doesn't know how governing works.
It is double speak.
I quite like the Scala style of OOP+FP programming. Data and functions usually live together in the same object but no one is passing around dangerous mutable references all over the place unless it's absolutely necessary. This solves the "promiscuous mutation" problem referenced in the article. One of the problems it doesn't solve is complex inheritance hierarchies, though.

My experience with Scala though is that classes rarely have any child classes and that traits usually only have one level of implemented classes. So essentially, Scala developers are just using OOP to implement ADTs or typeclasses, which is not a problem.

Sometimes its worth it to pull out all the stops though and go full OOP, like for scala collections, scalaz type hierarchies, and GUI APIs. But Scala is a good example of how OOP does not have to imply mutability, which I think is the fundamental problem with Java-style mutation-heavy OOP.

Moreover, over engineering isn't unique to OOP. One of the smartest devs at my old Scala firm would pull out all the stops and go full FP for even the simplest problems: free monads, dependent types, trampolines, etc. It's not that these are bad things, used for the right problem they are incredibly beautiful and clever abstractions, but they're not the first tool you should reach for. His code was mathematically very beautiful but, like, we're supposed to be making money for the firm not masturbating. The point is that it's as easy to over-engineer in FP as it is in OOP, in fact, it might be even easier.

Probably the easiest paradigm to write crazy complicated code is the Actor model. It has all the problems of OOP with mutation except now you don't even have a call stack anymore.
> It would also be nice if they provided some data on how prevalent these problems are at other retailers and marketplaces.

Good point, but I think the point is that any mass violation (let's say more than 10 SKUs) is usually an isolated event (e.g. it's one small retailer in a local environment), as opposed to "this is just the cost of doing business for any large retailer". The more apt question would be - how many violations happen in the past at a place like Walmart.

Traditional retailers are slow to introduce SKUs compared to Amazon simply for this reason - everything is hand curated and has to go through gates to ensure safety.

> There's reason to believe the problem is probably worse at Amazon

What other marketplace in the western world has nearly as many SKUs? Like even in the same stratosphere? I'd be amazed if there is anyone even close. It's easy to manage that many SKUs at scale when you get to ignore regulation that has legitimate human safety implications. So, that's what the article is saying - don't consolidate power if you're unwilling to deal with edge cases.
The ground truth is in the comments in the source file. Kanban board is a derived data. So I don't think it should work the other way round.
Hilariously too, they're agreeing with Rush Limbaugh: https://www.rushlimbaugh.com/daily/2014/08/05/everything_is_...
Cool, I didn't realize it was a commercial abrasive. It seems that as an abrasive it is shipped as a powder. The trick then would be to create sheets of it at workable sizes. The original article describes how the authors do that (growing larger crystals) that but they are using a pretty time intensive process.
"Some people don't agree his views"

Pretty sure it will be closer to 100% amongst the HN community.
There is more than one "functional way".
Hacker who sold Uber’s customer data forced to give up $1M in crypto
Amazing: A whole three downvotes! No way more than two people are reading this comment section at the same time.
Now we're talking. It would probably take 20+ lines of C# to do the same thing.

How do you manage errors? What happens if Questionnaire.xlsx or Sheet1 doesn't exist ?
Moskau, Moskau
What interesting discussion is there to be had about it?
Sounds like children to me.
Consume less, create more
This morning I saw camper along I-5 with a generator. I wonder if he was a drug dealer, fence, or pimp. He had a nice setup.
Not trying to be sinister. That is the reality right? It's a hard question.
This is cute :)

One nitpick: the buttons grow slightly when they're being clicked. This is happening because of the style adding a dotted border around the nested .btn-text element:

.btn:not(:disabled):not(.disabled):active .btn-text, .btn:not(:disabled):not(.disabled):active:focus .btn-text {
border: 1px dotted #000;
}

There's no border in the non-active style, so that allocates an extra 1px on each side of the text box. It'll work better if you use outline instead of border, or add an invisible border of the same size when the button isn't active.
Damore was fired for his contributions to this conversation". Hardly just.*

According to what you said in this post, It was completely just as Damore basically wrote a dissertation about things that were completely unrelated to any work done for any Google product. All that work would've been tantamount to a complete waste of company time and could be grounds for a firing.

Google users don't care at all about the politics of Google employees

I care a great deal about how Google employees or any employee at any company are treated. You should too since most people spend their lives at companies and policies and laws surrounding them impact people directly.
> why the heck should Nevada get a bigger say than Los Angeles County?

To start with, states are the compositional unit of the United States. If Los Angeles County wants to become its own state, there is a process to do that.

But to answer the correct question: Nevada has the same say as California, both being states.
> “OOP is prevalent because cheap OOP developers are readily available, while functional programmers are typically more smart, and more expensive…”

The reason I prefer functional programming over OOP is that I'm just not smart enough to understand all the OOP abstractions and how to build reliable systems with it. Functional programming is just easier to grasp mentally, as it takes away a lot of the foot-guns (mutable state, inheritance, etc).
These are all very easy to discuss at work without politics. You ask, "Do you have any dietary restrictions? If so you should make sure to read the menu closely, it'll tell you what the dish contains."

There, now I know as much as I need to about my coworker's diet. We're here to work and if you're going to be a member of a _diverse_ community with a shared goal you're going to need to accept that other people live their lives differently than yours and that's ok. I don't need to know the reason my coworker is a vegetarian I just need to let them know if my cookies that I brought to work contain animal products.

If you refuse to get along the result will be internal strife and the shared goal, a successful company, a working community, etc. will fail.
How can you influence the government to do this when companies have more influence than you?
I think Hogg had to resign anyway, regardless of the unverified claim from Newsweek and Taiwan news.

A pilot was arrested for rioting: https://www.scmp.com/news/hong-kong/politics/article/3020736...

An employee leaked the itinerary of members of the HK Police force: https://www.dimsumdaily.hk/cathay-pacific-staff-leaks-travel...

Social media videos of Cathay Pacific staff involved in protests, shouting, arguing, etc. This damaged the brand.

The Swire Group (British) owns 50% of Cathay Pacific. The airline needs domestic routes to stay in business. The CEO failed to maintain calm and discipline among staff, bringing Cathay Pacific into disrepute.

So the owners and the board of directors decided to act.

Before the CEO resigned, the company sacked "four members of Cathay staff for taking part in, or in relation to, the demonstrations gripping Hong Kong"
https://www.scmp.com/news/hong-kong/transport/article/302312...

The board also wrote:

> recent events have called into question Cathay Pacific’s commitment to flight safety and security and put our reputation and brand under pressure. This is regrettable as we have always made safety and security our highest priority.
https://news.cathaypacific.com/cathay-pacific-announces-seni...
This should be a notification for all companies, it is time to think about more than profits. This sort of behavior must not be enabled by continued business with the Chinese state.
This was my introduction to functional programming. The nice things about Elixir for learning functional programming is that it's not nearly as complicated as haskell, feels more familiar, and dynamically typed.

I'd recommend this book as it teaches how to think about solving things by writing recursive functions (Elixir/erlang has tail call optimization), pattern matching, etc. No need to learn the OTP concepts (genserver, supervisors, etc).
The issue was that tying political opinion to jobs was what the Fascists did in the 1930s. So it's kind of a "Never Again" category. It isn't entirely enforceable but companies cannot use it to fire people based on private conversations about politics. This has come up a few times where I work actually and the answer is the same. That's off the table.
Do you discuss politics at work in an online forum where 100 000 persons can pitch in? It is very different from discussing politics in person, things gets way more toxic online since there are more people who can take offence so arguments often escalate.
>"Do you want to literally copy your entire hard disk into the 'inbox' of these utilities, in order to get them to search it for you?"

Well, let's think about the goal here. grep reads files and outputs lines from those files. It needs full read access to everything you want to search. It does not need write access outside of its sandbox. It does not need direct access to network sockets, audio stuff and so on.

Is it unreasonable to create a readonly "view" of the filesystem inside grep's folder? Is it unreasonable to have "files" representing network access, microphone, audio? It will have visual representation in file manager without the need to create custom UI. It could be manipulated by drag-and-drop OR command line. More importantly: it's easy for users to understand. "This app lives in a box. You can put things in that box for the app to use."

>Does your git worktree live in Git's sandbox?

Yes? I mean, I currently have a folder called projects. All my git stuff is in there anyway.

>Vi's sandbox?

If you want multiple sandboxes to be able to operate on a directory, you create "views" for that directory (readonly or read/write) in multiple sandboxes. This shouldn't be some sort of mind-bending idea, considering Unix has symlinks, hardlinks, and mounted filesystems of all sorts.

>Or how about shells themselves! (Or, equivalently, any scripting runtime, e.g. Ruby, Python, etc.) Should people not be allowed to install these from third parties?

There is no reason why a Ruby executable should have unlimited access to the entire file system. Especially if you're only using it for a specific purpose, like serving a website.

What I'm describing here isn't some novel, mind-blowing idea. It's simply dependency injection. With file-based user interface. Every single part of this had been done in various operating systems or programming environments more than once. It's just a matter of combining it all in a sensible way.
The president controls the defense apparatus, which can label any country they wish a "threat to national security", which according to laws enacted since 9/11 can prevent American companies to do business with other countries. In the post 9/11, trumpian world, economic freedom depends on the mood of the president.
I think you underestimate how much libertarian kool aid has been consumed by the HN community.
> One day, you will find yourself up against an intolerant person, and your only defense is to also be intolerant against them.

No, being a tolerant person means tolerating people even when you find their views wrong, immoral, or heinous. There's nothing impressive about tolerating the views you like and not tolerating the views you don't.

When you find an intolerant person, the right thing to do is to tolerate them. Let them see that you are willing to accept them, even if they are not willing to accept you. That is how views are changed.

This notion that the defense against intolerance is to be intolerant yourself is how society sinks into tit for tat tribalism.
OOP does not encourage this. How people apply OOP is the problem. Most of the time when people complain about OOP they are really complaining about Enterprise Programming's knack for trying to design Neo[0] systems that can absorb absolutely any change request. This is how you get Java stack traces that scroll for 20 screen lengths.

[0] 'The One' true architecture.
Lock-In Amplifiers: Fun with Scientific Instrument Modeling
Attic fans aren't for cooling attics. Ridge vents, and passive and powered roof vents, and turbines mounted in the roof surface can cool attics far more efficiently than attic fans which consume over 100 watts and must run continuously on summer days -- a very costly way to air out an attic.

Though old houses often have attic fans, they weren't there to cool attics. That was the purpose of widowed attic gables or breathing slats under wood shingled roofs. Attic fans are there to cool the house interior, especially the hottest rooms on uppermost floors. That's why the intake of an attic fan is the highest point inside the house and not the lowest point inside the attic. Even then attic fans aren't intended to run for more than perhaps 30 minutes a day after sundown -- just long enough to replace the hot air inside the home with cool air from outside.

To vent an attic, the ideal air flow is to intake cool dry outside air from along the attic soffet, pass it along the underside of the hot roof sheathing, and have it exit high where attic heat is at its peak. And do this passively without a powered fan if at all possible.
Yeah, it is what my colleagues and I often do over lunch break. Since it is a break, it is outside of work, right?
Journalist stopped by US border agent 'for being part of fake news media'
I heard from a lot of folks in Spokane who moved out because of the city's increasingly boggling policies. They were often quite vocal about the fact that they moved and their reasons for moving; they seemed to care for their old home, but simply could not live there any longer.
I do regularly, it's fine. There are a couple specific areas I do avoid in the dead of night, but that's been true of every city I've lived in.
I thought this was a well-known fact? Over the years its gone from "buy this thing from this seller" to "buy this thing and we'll send you one like it from either the third-party bin or the Amazon bin depending on who your ordered it from", and finally to "buy this thing and we'll send you one like it from a single bin".
Tesla Announces Expansions in Poland, Hungary, Romania, and Slovenia
Pretty sure the Brave Browser can do this if you change a couple of settings :)
Yeah and to add to this, adding too much humidity inside of your home can cause mold and other rot issues, not just around the wet swamp cooler itself. AC is definitely most convenient, maintenance, and hassle free for most people, but swamp coolers can be good if you are attentive and diligent about maintenance and noticing problems before they get big
get the spicy
Cause that's how acquisitions always work out. It might not be as obvious as "We are shutting down SignalFX." But they'll want to turn it into a feature of another product which is aimed at a different market, or move it to Splunk's infrastructure, which was designed for something else. Or maybe it's about adopting a common UX, which ends up being worse than what SignalFX has now.

Think of Microsoft buying Skype. It's still around, but it's not good anymore.
Why is removing this from the city central to your support?
I think it's pretty obvious he didn't mean "contribute to society" in the metaphorical sense, but in the idiom which typically means "hold a job".
it's useful to know alliances that can cause insider bias, but the parent comment was adding relevant, mostly unbiased, and industry-knowledgeable information that should be encouraged rather than discouraged here.

and such a tool would ironically be a tracker (as others have noted).
Right back at ya' from the same link: "Some doubt still remains on whether the reduced amounts of pesticides used actually invoke a lower negative environmental effect, since there is also a shift in the types of pesticides used, and different pesticides have different environmental effects."

Again, read the monarch butterfly example, where higher rates of Roundup usage has killed milkweed all over, reducing habitat/food for the butterflies.
I'm anti-incarceration for moral reasons

There is also a middle ground, where you can think that drugs should generally be legalized, but incarcerating people for non-drug crimes is a good idea. The problem isn't really people doing drugs. It's people breaking into cars, damaging property left in public, trespassing, assaulting other people, leaving big public piles of trash, things that fall into the "harming other people" category of crime.
why you would want to continue to use Mercurial at this point is beyond me. Pull the plug and just switch over to git already. People make a big deal out of it.
I'd maybe participate if it was some kind of... workplace-internal 4chan. An anonymous forum, but only available through an Enterprise SSO gateway.

Otherwise, yeah, that seems crazy.
That would be "unwilling".
LTT does it extremely well. The sponsored section is clearly marked and adds to the experience.
AC's were invented to do humidity control mainly actually, I think the cooling was a side-effect
This common outlook of pre-industrial farming is actually contested, eg. [1]

> One of capitalism's most durable myths is that it has reduced human toil. This myth is typically defended by a comparison of the modern forty-hour week with its seventy- or eighty-hour counterpart in the nineteenth century. The implicit -- but rarely articulated -- assumption is that the eighty-hour standard has prevailed for centuries. The comparison conjures up the dreary life of medieval peasants, toiling steadily from dawn to dusk. We are asked to imagine the journeyman artisan in a cold, damp garret, rising even before the sun, laboring by candlelight late into the night.

These images are backward projections of modern work patterns. And they are false...

[1]https://groups.csail.mit.edu/mac/users/rauch/worktime/hours_...
Ok, that's really funny. It would never in a million years occur to me to pay someone to marry me so I could live in some country. And, yes, some recent startups have skirted or crossed the line to illegality.

My point remains - nowadays (unlike a century ago, if I'm not mistaken), the majority of people can not choose in which country to live (legally, at any rate).
I don't think this is true anymore. Even war doesn't impact my life. We've been at war almost 20 years now and the only difference it's made in my life is airport trips are more annoying. And even if war did impact my life more directly, I don't see how discussing it at work would be helpful in any way.
I can take a wild guess who "we" is, since Epic's young founder is Ignacio B. Montero and the nick is "ibmont".
>The C ADT is implemented simply as String (or char *, for you type theorists, using a notation from Kleene)

Still makes me laugh
Surely counterexamples exist...

W. L. Gore and Associates?

Rocky Mountain Institute?

Renaissance Technologies?
Were these for candidates who had previously claimed to know databases (or were applying for positions that assumed such knowledge)? Or did you expect this of all candidates?
I moved to Seattle in 1994 and it's not clear to me that it's worse now than then. Clearly many neighborhoods are not worse, there's been a huge amount of gentrification over the 25 years I've been here. Homelessness and drug issues were big problem back then, too.

I've lived mainly on Capitol Hill and it's a safer and "nicer" place than it was back in the 90's. I had drug deals happening on corner outside my house back then, the neighborhood is great now. I also lived downtown, where Pike St. between 1st and 2nd Aves was horrendous with homelessness and drug use. Clearly much nicer now. The Central District (the other neighborhood I'm most familiar with) has also undergone huge level of gentrification since then, is much "nicer" place to live than it was in the 90's.

Yes, homelessness, and drug use and mental health issues are big problems, and I'm not sure the city has taken best approach to them. But it's easy to criticize without having better answer. The sensationalist ranting I hear sometimes in media and in personal anecdotes seems pretty misleading.
Marginal cost is an economic term. I’m not using the term colloquially to mean small or insignificant.

Of course manufacturing is an ecosystem which builds up over time, with positive feedback loops where investment drives further efficiency throughout the supply chain.

All the more reason to raise tariffs now, and hope that they stay high for enough years to stop the ongoing atrophy in the US ecosystem.

It’s not just because China’s an unfair competitor from a labor rights and environmental impact perspective. It’s also a massive national security issue.
At This Rate, It Will Take 100 Years to Pay Off America’s Student Debt
Well, just like "liberals", there's different flavors of conservatives out there, and this has always been the case. There's the pro-big-business old-school Republicans, for instance, on one side, and on the other side you basically have nationalistic fascists. These days, in America, the "conservatives" are swaying closer to the latter side. But even the milder ones, because of their generally pro-business and anti-regulation stance, can be a problem in the context of this story, because that mindset generally seems to lead to too much power with the corporations, too much regulatory capture, etc.
I'm not a fan of Koch but I don't find this answer satisfying. I really hate to say this, but, it sort-of feels like HN is censoring news.

I would think the death of a prominent business figure would be relevant to our community. But I guess not.
By voting...
Not really they are still mostly concentrated in pockets because developers are allowed to buy out of building subsidized housing units
>the majority of folks in jail and prison are there on probation/parole violations

This is a funny way of saying they're back in prison for more serious original crimes after failing to rehabilitate during the second chance they were already given in the form of probation/parole.

Repeatedly letting criminals free to walk the streets and commit more crimes is not empathy, it is folly. Empathy is protecting the neighborhoods which aren't rich enough to be insulated from these bad actors.
Datadog S1