skysight-inc/HackerNews huggingface dataset:
I'm a contractor and always push back. The person who will have trouble understanding the code and delivering features isn't someone down the line, it's me in just a couple of weeks time.

The only way I can deliver consistently is to fix things as I go.

To be fair, I've had contracts finish early because of taking this approach.

Most contracts are not just 1 week, but for months.

If I just bash out any old shit then not only will the next dev be cursing me but I won't get any better along the way.

If you don't do a good job, then why bother at all?

Maybe you should try contracting, if you don't like it or there is bad office politics you always know you will be somewhere else in a matter of months.
I haven't thought much about this....But my first reaction is -- can we at least test it to see what happens?

I have something that might not be that relevant. Consider China's control of conversations on Weibo as a microcosm of "all 1-1 conversations". Assume they are using some sort of AI there ( there's a good argument for any sufficiently large bureaucracy being AI-like ). Is it really so bad? They've tracked huge GDP growth for 70 years and very low civil conflict, and much harmony, I think, from some points of view, definitely.
Well the "non-waste" output of a nuclear plant (what it actually produces) is just electricity, but are the chips these plants produce themselves toxic following production, or is only the production process toxic? I don't know about toxicity of these things.
Yes, one man's terrorist is another man's freedom fighter... but I believe you are wrong when you make a very broad statement saying, 'usually have the same goals as "we" do: peace, respect, safety, prosperity.'

Let me give a specific example, the Islamist terrorists who follow the Wahhabism Islamic doctrine, the very same doctrine of Da’ish (ISIS). They have no respect for Kafir, the Arabic term for "unbeliever", or "disbeliever". The term itself alludes to a person who rejects or disbelieves in Allah and the teachings of the Islamic Prophet Muhammad, and denies the dominion and authority of Allah; or otherwise does not heed the beliefs and prescriptions held by the religion of Islam.

Indeed Kafir are deeply loathed by Allah with specific passages of the Qur'an that would amount to what we in modern times would categorize as hate speech: 2:10, 2:99, 2:171, 3:73, 3:28, 6:106, 8:55, 9:28, 48:29. These passages specifically refute your argument regarding a mutual goal of respect.

I could go further arguing "peace" with Kafir cannot exist in the face of jihad, for example 8:12: "I will instill terror into the hearts of Unbelievers: smite ye above their necks and smite all their finger-tips off them".

Sadly I could go on but I think my point is made.

The root of your argument is cultural relativism, and the fallacy that all culture is equivalent. Some cultures are superior to others if we compare merit and achievement. For example, when faced with the decision to live under a secular state (where there is a separation of religion and government) or to live under a theocracy (government in which a deity is the source from which all authority derives) I submit that history has shown that it is far better to live under a secular state. If you agree with this than you are making a value judgement that a secular state is better than a theocracy... and therefore rejecting cultural relativism. At this point your whole argument unravels.
Most people seem to be mentioning why terrorists won't be using facebook and instead some more secure etc.

That's probably not the issue FB is countering. They are/should be focussed on the content that's spreading radicalization/extremism. Lots of pages do that and since so many people have access someone is bound to be attracted!

Just recently a young female doctor from Pakistan was in news becausr she joined a terrorists group because she liked there posts/propaganda videos on FB. Thankfully she was caught during a operation!

Thag content really needs to be controlled! It's making small groups being a able to raise money/attract followers quite easily with just a private fb group or page!!
Most stories are. But that doesn't mean they're uninteresting in other settings!
> Facebook should provide an API so competing and extending services can be freely built on it, restoring competition and innovation and niche utilities it brings.

Facebook has zero incentive to do this voluntarily. It would be good for users (effectively turning social media into something like email) but terrible for Facebook's platform lock-in and all-important quarterly advertising revenue.

As an example of them going in the opposite direction, they've shut down XMPP in the past to force users to use their messenger exclusively[1] rather than 3rd party chat applications.

[1] https://news.ycombinator.com/item?id=9266769
At Last, Jeff Bezos Offers a Hint of His Philanthropic Plans
Ask HN: Why does Google promise x million results, when there are only ~600?
Short term: Take a break. Delegate. List the things that are painful/stressful and avoid on the days you're not feeling it. Limit email to twice a day. Don't use IRC/Chat if you can, it's too demanding on your attention. Take the vacation, leave the smartphone at home and let your mind rest.

Long term: Focus on moving to a point where you can take a step back. It's easy when you're a founder to become control-obsessed, which leads you feeling like you, and only you can fix XYZ. This is a precarious position to be in, and certainly isn't scalable. Think of this as the "what if I get hit by a bus" plan. All your efforts should be on proccesses, documenting and some key hires so that the company can run without you. Both for yours and the companies sake. After all, you need the option to retire/sell one day - the company MUST be able to run without you.
He doesn't seem to get many patches. Most email discussions where I see him involved are, well, discussions. This rarely involves patches.
I agree. People are also arrogant. We like to look back and think "how quaint" and we are better than them. It's humbling to think that we actually weren't. But it's probably not very adaptive to think that way. Since, believing we are better now, by falsely diminishing the whatever metric of the past, probably helps us keep going forward to create the bright future.

Hopefully without repeating the mistakes of the past tho!

Even that phrase "mistakes of the past" is telling, right? I mean it's not like, IMHO, you hear a similar amount of talk about, "the brilliance of the past", except it a sort of quaint, dismissive way: "oh, look, plumbing in ancient Rome, weren't they sort-of clever!"
Well, that's flattering I guess :)

But it's not as bad as it sounds and the only way (AFAIK) to be able to work with both polymorphic objects and have the convenience (and type checking) of a generic counterpart. Limiting yourself to just a generic object/interface unfortunately breaks a lot of design patterns. It's also safe afaik since the only thing the generic version does is some casting and it's generic parameter enforces that casting.

but if you have a better way I'm genuinely interested to hear it
Agree with that too. Maybe IQ is out of date? Also, the huge effect that all these new technologies must be having is surely not going to be factored into that.
I'm always amazed by the glorifications of people like Subutai - the primary military strategist of Genghis Khan.

From "Destruction under the Mongol Empire" (not everything under Subutais command)

https://en.wikipedia.org/wiki/Destruction_under_the_Mongol_E...

1. Mass extermination - "It has been calculated that approximately 5% of the world's population were killed during Turco-Mongol invasions or in their immediate aftermath." (To compare the impact that would be 370 million people in todays numbers).

2. Scorched Earth - Mongols were known to burn farmland; [...], crops were burned to starve the populace. Other tactics included diverting rivers into and from cities and towns [...]

3. Biological warfare against civilians - [...] and catapulting diseased corpses over city walls to infect the population. The use of such infected bodies during the siege of Caffa is alleged to have brought the Black Death to Europe by some sources.

4. Genocide - [...] "terror and mass extermination of anyone opposing them was a well-tested Mongol tactic." The alternative to submission was total war: if refused, Mongol leaders ordered the collective slaughter of populations and destruction of property.

5. Total destruction of culture - [...] and in the Battle of Baghdad, libraries, books, literature, and hospitals were burned: some of the books were thrown into the river, in quantities sufficient to "turn the Euphrates black with ink for several days"
> What's the actual difference?

I believe Intellisense is VScode's best differentiator. It provides very good autocomplete.
It was the best of times, it was the worst of times, ... [1]

[1] https://en.wikiquote.org/wiki/A_Tale_of_Two_Cities
It's more subtle than that. In this case with photons it's that the correlation between a photon going through a polarizer at point A and it's entangled pair going through a polarizer at point B is a function of the angle between the polarizers.

The odd thing is it depends on the relative angle of the polarizers at the time the photons go through even if they are far apart. So if you use the analogy of God rolling a dice to determine if the photon goes through or not then He has to know the angle of the other polarizer in a faster than light way even if us mortals can not know that.
I totally agree. I'm a 3. Whilst no job is safe, we are always "first to go", so the 1.5-2x rate is not for nothing.
Talking Machines:Overfitting and asking ecological questions, with Tom Dietterich
This probably cannot be further from the truth.

We're no longer dealing with some Marxist hippies kidnapping planes for show.

The new breed we deal with is hell bent on destroying the so-called West. This "homeopathic" solution you present is only enabling them more.
> Terrorists are persons who directly and intentionally target noncombatant civilians as a means to achieve political goals.

by this definition, lots of US soldiers are terrorists, they kill (sometimes intentionally, sometimes not, sometimes forcedly) civilians in Libya, Iraq (where nuclear weapon not found), Syria, Vietnam in old days and in many more countries

> Taleban attacking a military base are not terrorists by that definition

Of course, they are defending their own place, what the hell is military base of different country is doing something in totally different country, maybe occupation? which means using terroristic acts
> Do you disagree with the idea that the propagation of narratives that pretend to support illegal terrorist violence does not actually help support terrorists?

I'm genuinely having trouble reading that sentence so I'm going to assume from the rest of your quote that you are advocating the hypothesis that narratives that attempt to justify terrorist violence supports terrorists. I think most people would agree with that, but that is not what was questioned.

There currently seems to be a prevailing Western narrative unquestioned by mass media that the most effective way to prevent terrorism is to control the material people consume, especially on social media.

The TV and print media is full of the narratives of billionaire press barrons and arms-exporting governments. If we accept that radicalisation is driven by narratives that become accepted (we are the good guys) and that it is a gradual process (opposed -> indifferent -> supporter -> active) how would we even know if we were radicalised by the narratives that we consume?

Perhaps when we advocate detention without trial of terror suspects; the abdandomnent of human rights laws for terror suspects; extra-judicial murder for suspected terrorists; a war on foreign soil with the overt and understandable intent that our armed forces should have zero casualties?

Personally, I think there is a case for censoring truly extreme material as long as extreme caution is used so it doesn't spread to narratives which are critical of government foreign policy and there is an equal silencing of the overtly genocidal attitude of the far right that gets a far easier time and regularly enters corporate media ("bomb them"). I suspect the latter is quite effective radicalisation material and helps advance the idea that entire countries hate a religion and that this is a war that is an existential threat to people of that religion.
How Amazon interest in Slack will strategically help them?
The developed world outsources / pushes away everything they don't want to the undeveloped world.

In the US and Europe there are very strict rules on the sulfur content of diesel. (less than 5 parts per million in Europe now).

The exact European company that makes diesel for that market also sells in West Africa. It is 5000 parts per million there.

Disgraceful. Environmental laws should be universal, not country by country, especially when it's a company from a first world country doing it, clearly just to boost profits.
It's terrible advice. What limitations are you thinking of?
Show HN: Revert the Twitter UI changes
Not sure I understand this motivation.

If I smashed up a lego tower, would you have more fun patching up my tower, or instead you can create a "better" new one all by yourself?
What a terrifying false dichotomy.
They sought and they decided on the wrong thing - killing innocent civilians in a campaign to strike fear.

I know there are innocent casualties when we wage war, but that is not the same as what is happening here.
I prefer Notepad++. On Linux, Geany is a viable alternative.... If I need an IDE, I will get an IDE.
I want my text editor to be as lightweight as possible.
This was not the case with Atom.
Show HN: GIT xD – append xD to all your commit messages
I agree with @ahoka that the advice is bad.

> Limiting yourself to just a generic object/interface unfortunately breaks a lot of design patterns.

Which ones and why?

> It's also safe afaik since the only thing the generic version does is some casting and it's generic parameter enforces that casting.

If you don't have a known constraint that is enforced by the type system then it can never be 'safe'.
Intellectual just mean people that use their intellect a lot. It's not limited to debating and philosophy. And mathematician is an intellectual.

And yes, somebody who has the skill to craft a very low level yet highly flexible malware requires skill that goes beyong copy/paste from stackoverflow.
I've read a blog of a solo game developer recently, who's been developing a game for 2-3 for years full time. His conclusions regarding breaks and burn-out is that it works best for him to take a week-long vacation every 2-3 months. Without it, he noticed decreased concentration and motivation. I think it may be solid advice for anyone doing challenging work.
There's a fine line to walk between too much metaprogramming and too much boilerplate.

I often find that my wish to avoid metaprogramming results in to much cloned code, when a simple annotation/reflection or conventional setup would make life a lot easier.

Like everything in programming, using or avoiding meta-programming is a balancing act.
This "grin and bear it like a big boy" attitude is toxic IMHO.
That sounds horrible. Are there any steps you can take to enable your cofounder, or someone else, to take over some of the highest risk tasks?
I think that is depressing. I'm not saying don't go for a bike ride, but why not seek glory in something you spend 1/3 (+) of your life doing?
MP-safe Networking in NetBSD [pdf]
Perhaps a key difference is that OSHWA isn't authoritative.

OSHWA are the FSF of hardware. As far as they're concerned, only their certification constitutes open hardware. Everyone else is wrong. Sound familiar?

As someone else pointed out, a lot of people don't provide BOM files, including people who have OSHWA certified hardware.
Philippe here, one of Missive co-founders. Email client job is to render HTML emails, whatever tech you choose for the UI, you still end up rendering HTML. Electron makes sense.
You should really talk to your cofounder... If your company relies so much on you, and if you're burnt out, then your company is NOT doing well at all. You should let your cofounder know, so that you can take action together before the whole thing blows up. Your cofounder will not forgive you for hiding the fact that the company is in a dire situation.
Optimized half precision gemm assembly kernels on AMD Fiji for deep learning
I certainly agree with the notion that the current iteration of "tech kings" and their minions are not so ideally adapted to the role of "social guardians" that has been thrust upon them. But...maybe it's like having kids -- you're never ready. You just have to make it work somehow.

But I disagree with the invocation of "this is a complex topic" to sort of muddy the waters of what is or is not terrorism. That ambiguity gives wriggle room for terrorists to slip in and justify their acts which can't be allowed.

It's pretty clear to me when I switch on the news and see Manchester, or Bataclan, or the south of France or Charlie Hebdo, or Al Shabbab, or basically anyone doing this brutal medieval stuff is terrorism.

I don't really want to wade into the Israeli Palestinian thing except to say that, as in Northern Ireland, sometimes there is this financial incentive, to both sides, for conflicts to simmer for a long time at low-temperature -- if peace is declared, the money stops flowing. And in such a situation, it pays to muddy the waters, since both sides want to seem justified to keep the money flowing. I am certainly no expert on this ME issue, this is, IMHO, a factor.

But this sort of incentivized conflict is, IMHO, entirely different to the non-state terrorism we are all aware of today.
http://imgur.com/BBrf3yN
> * Only a single project can be open at once, which makes copying from old projects tedious unless you shuffle files around into your current project.

You can drop entire projects from the Finder into open projects, which is clunky but does make things a TINY bit less tedious
Sounds a little like Quanta's balloon analogy:

https://www.quantamagazine.org/quantum-entanglement-puzzle-s...
For simple circuits it's fairly straightforward to recreate in a CAD tool.

The minute you get more than dual layer, things get hairy in a PDF. Also you can't really send PDFs to fabs to get boards built, as they miss info that you need in order to make a PCB.
In Debian, mutt comes with the NeoMutt patchset.
37lbs in 20 days with this strange “soup detox”
Trojan on Google Play with up to 5M installs
cosign for splice, i have been using it since beta and now it's an essential part of my workflow - i don't really use their collab stuff much (just to send people projects, not to actually collab on them), 90% of my use is backup and versioning. Still I can't imagine going without it.
I do that and then look at issues, if there are lots of issues with no solutions from the team behind it then I'll look for something else.

I might be that person looking for answers and never get support.
A vacation tainted by work can be worse than not going. If you really must work on your vacation, decide those days beforehand and ensure that you're of touch for the remaining days.

I once took a "dream trip" to Iceland with extended family, but made the mistake of not properly signing off from work. We saw all the natural wonders of the island and everyone had a great time... Except me. My primary memory of the trip is sitting in a hostel kitchen with my laptop while everyone else is out playing in a park. That's when I understood that I'm going to miss out on my children's lives completely if I keep going like this.
You can't pass generic interfaces to other classes that should handle non-generic interfaces (that aren't dependent on the generic constraint)

>If you don't have a known constraint that is enforced by the type system then it can never be 'safe'.

I don't quite know what you mean by this. If you cast to your "T" then casting is ensured. I guess there's some margin for error in that you must enter your casting code to be correct, but it's pretty hard to mess that part up, granted not as good as enforced genericy. Note that in many instances you only initialize generic classes, but you needed to be extract a non-generic interface from then to pass to other classes.
I use Sublime because I absolutely can't live without multicursors.
But nVidia and AMD haven't sabotaged their chips to be bad at hashing (it wouldn't surprise me if they did the opposite back before ASICs thrashed the GPU bitcoin mining scene) so I don't see how your point transfers. The Powers That Be also haven't put a damper on bitcoin mining ASICs for that matter, which can do precisely one thing: calculate lots of SHA hashes faster than any other hardware.

If there's a shadow war over SHA hardware, the deep state is failing miserably.
It seems like there is a lot to process in what you are saying. It will probably take me a while to digest it and respond, if I respond. Thanks!
> I'd love to see a major cloud provider (AWS, Google, Azure) actively buying AMD chips and making them available for compute.

AWS used to use AMD chips in some instance types; I believe the whole m1 line used to be dual-sourced. If you got an Opteron when you launched it, you killed it and tried again, as the Xeon type was a little faster :)
> some recommended interface of mature crypto libraries

Maybe for bubble code it'd be okay to just say "gimma a hash".

But most real code needs to interoperate with stuff. E.g. I need to send a SHA-256 from a JS client to a Python server. So there needs to be a consistent and portable "SHA-256" concept that everyone understands.

A cryptographic hash is not a complicated concept (even if developing one is).

I suppose you can think about whether you require collision resistance or merely second pre-image resistance, but the popular ones are all intended to be collision resistant anyway.
Of course, a real string type would store length along with the characters, making the length function trivial and fast.
Maybe because we're swayed by superficial, yet impactful choices: the use of a "modern-looking webpage with a visually-attractive theme", the use of the latest technologies - or at least those the community is talking about, buzz around the project, etc.

I realize it's tedious, but even older projects could do with periodic updates to tutorials, documentation, webpage updates and outreach to draw new interest from the community.
I use sshfs for some projects with vscode. Editing files and directory listing is pretty fast, but searching for files is extremely slow.
No OS I've used in the last ~10 years left a core dump by default. Maybe longer, but I didn't know what core dumps were then, so I wouldn't know what I was looking at if they did.
> I write very simple code because I've seen the hotshot stuff go bad, not because I don't understand the hotshot stuff.

There is nothing like coming back and fixing some code you wrote a year ago (or longer) on a Friday afternoon when you have a train to catch and being able to pull it off because you can actually read that code and understand how it works right away.

At first I missed the twisted pride in coming up with overly clever solutions, but I can always scratch that itch in toy projects I work on in my free time. But being able to call it a day on time and not having to work late in order to figure out WTF I was thinking a year ago is priceless.

And as for glory - I still have to defend a programmer who quit long ago, because I was able to dive into his Delphi code base without any prior knowledge of Delphi or any knowledge of the problem domain and make meaningful changes to that code within a few days.

Okay, so I had to pepper our accountants with questions relentlessly for hours, but in the end I understood enough of what they told me to make that change. ;-)