skysight-inc/HackerNews huggingface dataset:
The question is to make a function that will group the values of a linked list by odds and then evens. So 1->2->3->4->5->6 becomes 1->3->5->2->4->6. The solution essentially comes down to creating filter and concat methods for the LL, so you get something like:

function groupByOddEven(ll) {
var odds = ll.filter(isOdd);
var evens = ll.filter(isEven);

return odds.concat(evens)
}

If anyone were to ever get this far on their own and implement the LinkedList class correctly, I would have them make it so that they could make a higher order function that would receive any predicate function and then group by those values first, then its complement.
Huh, can't believe never came across one of these. Will order one now and see it for myself. Very excited, thank you! It's not grossly expensive too, seems like I can order one as low as $150 which is dirt cheap compared to how expensive furniture and decors usually are. Pretty amazing.
Wait, think twice? When the bounty is $30 apiece? I'm going to go write me a minivan
Primitive Technology https://www.youtube.com/channel/UCAL3JXZSzSm8AlZyD3nQdBA
I do things like:

- nest tmuxes (up to three levels, with different prefix keys for each level)
- one tmux session per workspace (git clone, whatever)
- cscope on window zero of any workspace session
- use a CSCOPE_EDITOR that starts $EDITOR in a new, appropriately named tmux window in the same session, and returns control to cscope
- script the setup of my main session
ERASE Your CRIMINAL RECORDS
I am recommending this Russian hacker who literally saved my life when he helped me erase some bad records online that kept preventing me from getting a good job. He also helped a friend of mine hack an entire cellphone. His name is Artur Vitali.
If you need help with hacking anything, you can reach him on EMAIL- quickarturhack@gmail.com or WHATSAPP- +380683017209
He offers many other services like: Website hack, Credit repair and score boost, all social media hack, computer database
hack, phone cloning, email hack, GPS tracking, call interception, sales of blank ATM cards, hacking tutorials and man other
services, Its a really long list I can't mention all. Contact him for more details.
Is that a very good heuristic? Some markets aren't supported in the first place either because of assumptions of knowledge (including being too simple to mess up) or commoditized enough that it is negligible.
It will be remembered as well as Shakespeare play.
Great. Everyone needs to work at being a nicer and better person, Linus perhaps a bit more than most.

But equally important is everyone on the other side working to avoid being consumed by emotion, and learn to control their emotions better, when people and things in the world end up being mean or distressing.

This doesn't happen so much with Linus anymore because everyone knows about him and the people most likely to go on tilt when Linus goes on tilt have adapted and avoid communicating with him. That would be a universal solution if you could get a list of all the potentially harsh communicators out there, but doesn't work at all when you don't have such a list, and anyway it would severely constrain your interactions with the world because a fairly large number of people are like that.

People will gain a lot more from, in addition to calmly pointing out how the hostility they're encountering is unwarranted, learning to self-reflect and switch mental states to avoid getting into self-destructive patterns of thought just because someone else or something else is being harsh or mean.

Various kinds of meditation-like practice seem to be a good way to pursue improvement for people on both sides of the problem.

It's not any easier for Linus to always be nice than it is for someone who takes personally one of his outbursts to not take it personally.
To add to this, the SE represented 8% of their iPhone sales so far this year.

https://www.statista.com/statistics/804398/us-iphone-sales-b...
How about a EU no-fly list for personal of the US Intelligence Community. I mean, don't even cross our airspace. 0o
Marty Schwartz teaches guitar. See https://www.youtube.com/channel/UCmnlTWVJysjWPFiZhQ5uudg.
It seems like Russia has found that unconventional forms of warfare like cyberwarfare, political espionage, and active measures are much more cost effective than pure might. Its really concerning especially because Democratic nations seem to be especially susceptible. Europe and the United States should be condemning these attacks.
I was merely trying to make the point that if one measures the success of a manager by only what is produced and not by how people are managed then one made the same mistake Linus did.
A) that's a marketing image. The green box is placed over a random portion of the die, not just the raytracing units. (They are distributed throughout the die, not shoved on one side).

B) that said, looks more like 30% to me.
https://www.statista.com/statistics/804398/us-iphone-sales-b...
Amazon Will Ban You for Making Too Many Returns
>why write tests? why improve ux or ui? why help with documentation?

Because these actually improve the project.
Ask HN: What odd/unusual/funny software licences have you come across?
Two that come to mind for me are the Do What The Fuck You Want To Public License:[0]

0. You just DO WHAT THE FUCK YOU WANT TO.

and Floatator's (a fluid dynamics simulator) licence[1], in part:

The purpose of this program is to remember the great days of my relationship with a person I was deeply in love with long time ago. By using this software, you implicitly declare your condolences about this breakup.

[0] http://www.wtfpl.net/

[1] http://floatator.cichon.com/
Smith speaks to this as well, as I'd recently posted.

And to clarify, because the point is often missed: I'm not mentioning Smith because I agree with all he's written, and certainly not for what he's claimed to have said, or to suggest that Jacob Viners very tortured re-assembling of various snippets across three separate books of the work is the book's central message. Smith is verbose as hell, but can, and does, get to the point when he really wants to:

"Wealth, as Mr Hobbes says, is power." "A man must live by his work." "No society can surely be flourishing and happy, of which the far greater part of the members are poor and miserable." "[Political economy proposes] first, to provide a plentiful revenue or subsistence for the people...; and secondly, to supply the state or commonwealth with a revenue sufficient for the public services."

Smith isn't the last word on economics. And he's not the first. His views, even when wrong, are almost always well-considered, and it's usually possible to learn from his mistakes. And he anticipates a verry surprisingly large number of present concerns (with a few gaping holes: mechanisation and automation are almost wholly ignored, even though Smith personally arranged for a position for James Watt at Edinborough).

He is simultaneously highly influential, greatly ignored, and tremendously misrepresented. Reading him is extremely revealing, though I'd suggest he not be thee sum total of your economic education.

But what he absolutely is not is the laissez-faire advocate of harsh market therapy for all things, and corporate apologist, he's often represented to be, by both critics and so-called advocates. Which even brief passages can make clear. His two chapters on wages particularly.
So you are expecting them to start with the abstraction, before coming up with a solution?
Any LKML Insiders know what prompted this?
He's not wrong. That's pretty fucking dumb.
My grandmother always promised to take me there when I was a kid. She's passed now, but I'd still like to get out there. Sadly never made it that far east. (I had to get to the mountains instead :P)

The surrounding badlands are supposed to be quite the sight as well.

https://abprairies.com/30-thickbox_default/majestic-badlands...
Why do you feel that way? Because it seems "right"?

Being ruthless, manipulative and dishonest is highly effective, that's how Con Men get to be so successful. It takes a sociopath to pull it off and it doesn't work out well in the long term, but people only live so long anyway.
> The left is overly sensitive and looks for things to be offended by.

This is total nonsense. In the modern political climate everyone is looking for things to be offended by.

(It just happens that the “left” is offended by people getting beat up, sexually harassed, prevented from exercising their basic rights, etc., whereas the “right” is offended by the phrase “happy holidays”, by trans-gender people using one bathroom or another, by football players kneeling to protest police brutality, and so on.)

Or more to the point, media / social media that fixates on why readers should be offended and aggrieved are much more “viral” than other types of messaging. It’s hard to blame individuals for this, as they have been under intense psychological attack by a combination of deliberate propaganda and accidental harmful features of modern media. I say we need much stronger education in media literacy, and better cultural/structural systems for keeping media accountable for basic honesty.
Ask HN: Why do people sell bootstrapped startups?
A bit confused on why people sell bootstrapped companies? There is no pressure from investors (since there are no investors). I understand there is money coming in when you sell but what else makes people sell their company?
I had horrible times with the IRS. Including demanding to speak to me directly despite a speech impediment that often makes me hard to understand in the phone and then hanging up because they couldn't understand me. I think that is an ADA violation. After doing stuff like mixing up tax payment checks and applying my parents' tax payment check to mine and my smaller one to theirs.

I don't mind paying taxes just make the system streamlined okay.
Meet Piper Moretti, Founder and CEO of the Crypto Reality Group
When were there two global conflicts between "politics and the rule of law" on one side and "totalitarianism" on the other side?

Perhaps the strategies you're referring to under the term "politics and the rule of law" are more effective at promoting some goals than they are at other goals?
This is like blaming the underground railroad for the civil war.
Many things fail when they get pecked to death by ducks.

Haven't heard that idiom before, but its interesting.
"In the meantime, the big question is: Why doesn’t Trump care? And why does the Republican Party allow him to get away with not caring?"

oh sweetie, you might want to read up on asymetric warfare and the Gerasimov doctrine ...
If you can’t create something without hurting people then don’t create it.

I wish the world were that simple.

If you accomplish anything, someone is going to be jealous or insulted or angry for some reason or another. And if you do nothing, the world goes to hell in a hand basket because no problems are solved.

I'm glad the guy is taking some time off. I have nothing but respect for his conclusion here and how he is handling it.

But the reality is that if accomplish anything whatsoever in the world, someone will come up with some reason to hate on you for it.
Office politics :)
Ah, I just see if people realize that Square is a subclass of Rectangle.
I flat out don't understand why people keep suggesting that it's a choice between eggshells or vitriolic insults.
> This email alone set the tone for what was acceptable.

Did it really? Did other contributors adopt his "style"? Linus gets a pass because he's Linus, I'm not so sure about other contributors, who presumably have their own reputation to maintain.
Same on the C64, on the Amiga (where sometimes stuff had sources but no license), and on MS-DOS. Coverdisks often had PD on them and there were PD collections like Fish and later PD CD-ROMs.
Farmers can make a very good living at much less than $5 per gallon of milk. Here in Canada with our supply management quota system that Trump rails against, milk retails for $4.29 CAD for four litres; $3.06 USD per US gallon. And it's so insanely profitable that farmers are willing to pay $20000 to $50000 for a single cow quota.
I know a fellow who did that. He had never written a program before, read the manual, and wrote the code. He explained it in terms of the manual never said that system calls were slow.
> Note length, tempo, velocity, progression and other stuff are minor worries in comparison. Those things can be felt, without learning.

Can it? How do you learn a piece for which you only have a sheet? I would go even further and say that the most I learned about music was from handwritten notes on musicians or conductors[1] sheets.

Yes, I can figure out a lot myself just because of my background knowledge but give me something of an obscure era/modernist fashion and I am completely lost. Furthermore, I played the flute, so tempo, for example, dictates how to start a note (lacking the English term here) because there is a huge difference of what I can do to a single note when played larghissimo in contrast to prestissimo.

And especially with lots of modern music, composers resort to their own, additional notation because classical notation is not enough to express the music on paper.
I have to wonder if Linux would even be remembered other than as a footnote at this time without his forceful personality being in the mix.

He probably would, because he's a fairly prodigious developer working on hard problems. He was already noteworthy long before the modern era of the Internet, simply for getting early Linux working.

Being a jerk didn't create Linux and git. Hard work did.
> It would be great if we would hold ourselves to higher standard of professionalism and stop apologizing for toxic behavior in software engineering.

Or we could take an alternative route, and collectively grow a thicker skin and show a bit more emotional maturity, instead of seeking offence in every situation.

But then that's just my opinion. But that's the point, opinions differ.
> His comments were often acerbic but always fair.

No. https://lkml.org/lkml/2012/7/6/495
Regardless of if it's the correct name or not, I think what is meant by a "left-leaning code of conduct" is one that puts an emphasis on providing extra protection for people who come from "historically disadvantaged or underrepresented" groups, ostensibly as part of an effort to help support their presence in open source. Individually however it can feel unfair where insulting language can draw different punishments depending on the relative privilege of the groups involved.
From what I’ve read about some of these rants corporate sponsorship != competence and there’s one or two things in my recollection that were astoundingly stupid. Schoolboy errors, in code that’s supposed to run in kernel space. I get that he kind of feels that he shouldn’t be in a position of having to spoonfeed people.

Not condoning his rants, like I say it’s ultimately upon himself these reflect badly, and they probably do little to stem the flow of incompetence ...
Linus, His Apology, and Why We Should Support Him
I dont think he was a very good techie. I don't believe the biography because it was written by choice of Steve Jobs.
My understanding is that the SE is made out of leftovers—not in a micro sense of things literally left sitting on the factory floor, but rather in a macro sense: they're made from the tail ends of multi-year component supply contracts, where Apple is obligated to take receipt of components that no longer feed into any current product they're building. They're a "bone broth", a way to use up those tailings and make a profit (however slight) off of them.

This was also true, ten years ago, of the iPod Touch. It was the reason for the iPhone 5C. It's at least partially the reason for the iPhone XR today. It's also the reason Apple keeps selling the iPhone 7 and 8.

The problem (for consumers) is that, eventually, you run out of the tailings you were using to make one of these "byproducts", since you never signed on to produce more of them. (That being rather the point of the whole process, from Apple's perspective.)

Once the supply contract for iPhone 5S "chassis" components is run through, that'll likely be the end of that form-factor. No device Apple has produced since then has that form factor, so there are no hand-me-down components to repurpose into a new device of that form-factor.
Many (decent) developers believe a CoC improves the project, in much the same way that any documentation on the development process or release lifecycle does so.
The DMV is also an expense center which is visited infrequently. There is little pressure to make it a campaign issue to run on. While a pain in the ass it isn't a pressing issue unless an area is completely un(der)served.
Well, it seems this was immediately removed from public view. Why?
Grow food anywhere you can

I have been wondering why there isn't a mandate that every tree on public land must be food-producing. In a day I must pass hundreds if not thousands of non-edible trees and shrubs just lining pavements, dotted about on business parks, on little bits of nowhere-ville grassland.

If they can grow so readily, why couldn't food producing plants grow like that, in their millions all over the country?
Good deeds don't justify bad behavior. Ever.
You can easily find just as, and more, ridiculous examples on the left. Offended by jokes, tshirts, suggestions that unborn children's lives have value, praise of Israel, using biologically and factually correct terms for people, suggestions that people shouldn't be discriminated against, pointing out scientific/genetic facts, ...
I guess that could be said for any question. Have them be easy enough that at least 40% give something close to the desired answer, and then use 10 of those questions.
I’m not sure I follow. You can absolutely be critical of the idea and the implementation, without being patronizing.
I’m fine with less than idea answers. The problem is that most people I see prematurely optimize and don’t try to abstract the problem out at all. Or they only abstract one small part, or a part that makes no sense to abstract. They gravite to one big function that does everything. Our codebase has a lot of big functions that do everything. The only time people try to break things up is to make it DRY. Any time we need to change things, it breaks something else entirely unrelated.
I looked at Cloudron after comment. It is well done. Cloudron seems to have a monthly charge on top of what you might pay for your cloud hosting provider. Is my understanding correct?
A specification for adding human and machine readable meaning to commit messages
> The left is overly sensitive and looks for things to be offended by.

> The right is concerned with maturity and personal responsibility and anti-political correctness, where those things are defined primarily in contrast to the left's perceived over-sensitivity.

I think this is the right's perspective, but it's not an accurate portrayal of the left's. I therefore disagree with the assertion that this is a fair representation of the "public consciousness" on this issue.

I'd say the left views it this way:

The left's goal is to include people who have historically been oppressed or ostracized, and to increase empathy and raise the bar for what is appropriate and professional to exclude behavior that hurts people, even if it has previously been considered acceptable.

The right's goal is to maintain the status quo and the structures and hierarchies of power (which disproportionately benefit them) and to put down any attempts to change it as "oversensitive snowflakes overreacting" instead of as well-intentioned people trying to make the world better.

To be clear - I see things as more aligned with the left's perspective in reality. But I also see so-called "snowflakes" on both sides, insofar as people are unable to take or manage fair criticism reasonably offered when it challenges their viewpoints. I vehemently disagree with the idea that adapting a code of conduct is either inherently political or, if it is, inherently left-leaning, except to the extent that various sides try to cast it that way.

Edit: On reconsideration: If you view a code of conduct that tries to equalize people and prohibit certain kinds of language the left would consider "oppressive" (e. g. sexist, racist, ageist, ableist) as inherently political, then I see the argument. But I still don't agree completely, insofar as people working together shouldn't need to insult each other to do so appropriately.
«tmux a -t 0»
>
«tmux attach-session -t 0»
For an example of what you're talking about, it's what diplomats do. Where a careless word misinterpreted across different cultures and languages could start a war, diplomats have learned to be, er, "diplomatic".
That's actually the funniest damn thing I've read in a while. Totally unprofessional and inappropriate for the context, but hilarious.

Maybe he needs a creative writing hobby of some sort as an outlet to help keep such glorious color out of his professional emails. (I'm totally serious and would email him the suggestion if I didn't think it a waste of time because I don't know the man, he doesn't know me, yadda.)
Who decides what examples are ridiculous and what examples aren't?
Coercion it used all the time. Castro would send his doctors abroad, getting them paid handsomely by aid agencies and he'd take the lion's share of their income, and he'd get away with it by holding the doctor's family de-facto ransom. The Chinese government is known to do this.

There's a missing item: 'Duty + Guilt'. Governments will use a softer form of this coercion whilst trying to imbue a sense of national duty (I guess a kind of 'ideology') upon individuals, guilting them into 'doing the right thing for their people'.

The Chinese government plays at least a small role on many Western campuses helping organize their expats, promoting their agenda etc.
You are comparing a contributor submitting a kernel patch in good faith with people holding a klan meeting in your house?
Did Linux suck the air out of other, competing projects throughout its history? If so we can’t possibly consider what was or wasn’t lost.
I agree that what you've said is a commonly painted picture, but (as many people have pointed out), it's more that "the left" and "the right" are often both "overly sensitive", but about different things.
Your "criticism" of Git's UX is basically an ad-hominem attack on Git contributors, who you do not actually know personally. Are you sure it isn't you who lacks empathy?

I'm not fond of Git myself, by the way.
That is a non sequitur response to my comment.