skysight-inc/HackerNews huggingface dataset:
> Go is acknowledged to be much harder and require actual intelligence to play

No, Go is a much less intelligent[1] game. It has a huge decision tree and requires massive amounts of computation to play, but walking trees and counting is exactly what computers do well and what humans do poorly.

[1] 'Intelligence' here means exactly that which differentiates humans from calculators: the ability to infer new rules from old ones.
It is a problem in the tech industry. It's a problem in pretty much every other industry as well. It is worse in tech than most other industries because there are more men in positions of power? Maybe, but I don't think it matters to how we respond to it. We here on HN are nearly all members of the tech industry, not other industries. Any amount of harassment is intolerable and it doesn't matter if it's worse in Hollywood or some other industry. That's no excuse.

As members of a community/industry we have a collective responsibility for what goes on; for our own behaviour, for the behaviour we let men get away with, and for supporting victims.
New Ransomware 'Locky' Spreading Through Email, Warns Government
Not because it's google. But because companies shaping cities hasn't worked out well in the past. E.g. optimising a city for autonomous vehicles might not be a good idea compared to optimising it for walking.
Lots of what we programmers learn with years comes from pain not from good will
> Uber A would be a regulated monopoly, and would have to allow other companies to compete with Uber B on its platform.

But since Uber B has the brand recognition (through its UI), the question is if there will be a competitor. Nowadays, it seems that consumers converge more and more on a single brand for any service/product, which is probably due to the internet/social media.
That arrow key design is terrible though.
Maybe it depends on the company you keep. Perhaps all the parties you go to are populated by educated men with high morals. Maybe you don't have any sleazebag friends or co-workers, which is a good thing.
There was already a national debate about this at US colleges. See: Title IX as it pertains to sexual assault on campus.

Victims largely don't want their school to call the cops when all they want is their attacker to be kept away from them.

Again, there can be severe and lethal consequences for the victim when their identity is made public.
I think they are called "Journalists".
There are more men in power in tech than in other industries? Real estate? Accounting? Hollywood? Construction? No. They just don’t have blogs.
> the last holdout where humans can still beat computers in board games was GO

False, because nobody ever bothered to study modern boardgames rigorously.

Modern boardgames have small decision trees but very difficult evaluation functions. (Exactly opposite from computational games like Go.)

Modern boardgames can probably be solved by pure brute force calculation of all branches of the tree, but nobody knows if things like neural networks are any good for playing them.
>Even C crashes safely on null pointer dereference.

Uh, that's a rather optimistic way to look at this. In C NULL pointer dereference is UB so you shouldn't rely on this behaviour. For one thing the compiler is allowed to do weird things if it can statically assert that a NULL reference takes place, for instance by dropping any code that can be proved to lead to a NULL dereference. Not so safe or friendly.

Most of the time for userland apps dereferencing a NULL pointer for reading or writing will cause a segfault but that might not be the case for bare metal/MMU-less applications. Furthermore even when it does crash it simply terminates the process without any unwinding which might leave non-volatile data in a non-consistent state.

The real problem with pointers is that they're effectively an algebraic data type, they can point to something or be NULL. But the type system can't enforce that, there's no concept of non-nullable pointers in C.

Take the prototype of nanosleep(2) for instance:

int nanosleep(const struct timespec *req, struct timespec *rem);

Turns out that the 2nd parameter is NULLable if you don't care for the reminder. The first one isn't however, so passing NULL there is a big no-no.

In rust the equivalent signature would be something like:

fn nanosleep(req: TimeSpec, rem: Option<&mut TimeSpec>) -> Result<(), i32>;

Which is a lot more explicit (mind you, that's probably not what the API of nanosleep would look like in rust since output parameters are not very common, you'd probably return rem in the Result).

The problem is the same on the library side. When you're passed a pointer, should you assume it's nullable? Should you check for it? If you want to be safe you do, and you end up with a bunch of redundant checks.

It's also easy to end up with a NULL-ish pointer that's not NULL if you happen to offset a NULL pointer by mistake (like a NULL array or NULL struct pointer). That can be pretty tricky to track down since the crash doesn't occur when the offset is calculated but rather when the bogus quasi-NULL pointer is dereferenced:

#include <stdio.h>

struct s {
int a;
int b;
};

void bar(int *i) {
if (i == NULL) {
printf("NULL\n");
} else {
printf("%d\n", *i); /* i is invalid but not NULL, this (probably) crashes */
}
}

void foo(struct s *ps) {
int *b = &ps->b; /* ps assumed not-NULL here */

bar(b);
}

int main(void) {
foo(NULL); /* This is where the actual error takes place,
foo's argument is not NULLable */
return 0;
}

Also consider what happens if we're using a NULL pointer to a very large buffer. Dereferencing the beginning of the buffer would probably crash but higher addresses might end up in mapped pages and you start accessing and possibly overwriting random parts of the runtime.
Who said it is not acceptable. But many would just say it is more improbable than the other option.
Well, ticks like grass (or at least breed in lawns) and some tickborne diseases are pretty bad.
I can attest that men also do things they immediately regret after sexual release. If that isn't impaired judgement during sexual arousal, I don't understand what exactly you mean.
Cloud sync is opt in and I don't know why anyone in their right mind would enable it...

That being said, using a closed source application packed with features (also known as "attack surface") as your main input method clearly isn't ideal.
that's totally different. You can do whatever you want in your free time as a hobby, or whatever reason, but I mean if it's not just for joy, and anything, and you want to solve a real problem, it would be better for everybody if you would just join to an already existing community and improve the thing already exists.

So basically I don't find it a valid reason to make an entirely new thing because the existing solutions did not worked the way you wanted.
> Is there a technical reason they only come with low resolution (1080p) screens? (“Linux” is not a valid reason...)

Apart from the fact that a lot of systems still have mediocre high-dpi support at best, there's also battery life, cost and the fact that 1080p on a 15" is more than adequate for most people.
I’m not arguing against any responsibility to improve the situation. I’m not convinced it is somehow specific to tech.
That's a problem you already have in Java with any other type though. If you have a List or a String or whatever it could always be null.
Zune Diehards
Only those transmissions that were timed (travelling at the speed of light) to arrive in the small number of decades where we have been listening. Other constraints may also apply
My intent wasn't to trivialize, only to prioritize. You're right; none of those alone are sufficient for success. But IMO the single most important priority for a founder of a software business was not mentioned.
Long term, this creates a weakness - a manufacturer that can't survive without massive subsidies on open world market, which means subpar/overpriced products.

Just look at F22/F35 mega-clusterfucks. Healthy company with competition would aim slightly lower for massively higher feasibility and generally would make more clever decisions.

But once you know that whatever you deliver, however overpriced and with 10-20 years delays, it will be accepted, then you end up with pathetic stuff like those projects.
Top 20 File Sharing Software Solutions of 2017
Why the "yet"? It's not a given that you need to have kids. Plenty of people on the planet already.
My first experience with formal methods
Keep Everyone Hooked to Your Twitter Account with Social Champ
>> Additionally, highly sexually aroused women lose certain cognitive functions. This is not true for men.

I think we have plenty of male examples where that is not true.
All tax breaks are subsidies.
I was actually referring to https://news.ycombinator.com/item?id=15086798, but 14530877 also a good example.

The point is that if there is a bias, it would be that moderation seems to target those that disagree when people bring up sexism and racism in unrelated article discussions. It seems very safe, even profitable in terms of votes to bring up sexism and racism, which would be contrary to the views of matt4077.

I predict that if moderation was a bit more consistent in keeping out discussion about sexism and racism in unrelated articles (unless exceptional new insight), we would actually see less reader fatigue and lower amount of flagging for explicit articles about sexism and racism.

(Just to be extra clear, I don't disagree with the moderation itself on the two above examples if they had been the ones bringing in the topic of sexism into those threads).
Bare metal projects are always a fun hobby. I've done some projects like this in the past [0], let me share some things I learned the hard way.

If the author is reading, here are a few corrections.

> char * vidptr = (char * )0xb8000;

This needs "volatile" qualifier or all the writes to video memory will be dropped when optimization is enabled.

Memory mapped I/O like this is one of the few use cases where you need "volatile" in C.

> gcc -m32 -c kernel.c -o kc.o

You need to build a cross-compiler for bare metal projects. Using the system gcc will not work in the long run. The compiler packaged with your operating system is intended for building binaries for use with your operating system. It may have downstream patches or configured to a target in a way that will cause problems.

The worst part is that it may seem to work for a while, until it doesn't. I ran into some hard-to-debug issues with my past projects and learned this the hard way. If I recall correctly, the issues were related to redzones and ABI conventions.

You need to build GNU binutils and GCC for the "i686-pc-elf" target. I documented this process for someone else's bare metal project here [1].

It really pays off to do this right from the start. Once you have a cross-compiler and a build system that can produce debuggable elf images (you also need to build gdb for the target), things get much easier. Using the built-in debuggers in QEMU or Bochs can only get you so far. Having a proper debugger with symbols and source view will make working much easier.

For a build system, plain old Makefiles work best, CMake and other high level build systems are a pain in the ass with bare metal projects that require linker scripts, etc.

[0] https://github.com/rikusalminen/danjeros
[1] https://github.com/Overv/MineAssemble/blob/master/README.md
Turn your Gmail and Outlook into Trello-like task lists without leaving your inbox
> And finally it will be incredibly difficult to convince consumers to swap to another brand. One taxi is, more or less, the same as another.

That's not how any of this works.

What you're saying is the opposite of obvious economic theory. It's a pretty fundamental concept that when products are commoditized people will switch to save fractions of a cent or because they're bored, or because the logo is a different color.

The only counter to this is if there are strong netowrk effects but taxis only have weak network effects for availability only.
There's even more from Alex: Part 2 [0] covers getting into 32-bit protected mode, and part 3 [1] deals with compiling, linking and running C++ code. There is also a very nice presentation available [2]:

[0] http://3zanders.co.uk/2017/10/16/writing-a-bootloader2/

[1] http://3zanders.co.uk/2017/10/18/writing-a-bootloader3/

[2] http://3zanders.co.uk/2017/10/13/writing-a-bootloader/writin...
Are you sure you need mentor though?

I mean there's a lot of developers who didn't even attend to any University and they become very successful.

You have whole internet to learn from
No you just want fancy things. Whatever, that's fine.

But it's not a requirement for 'most developers' - in fact the ones I know with high resolution laptops don't want them, they're just annoyed by lingering issues with UI scaling and tiny text. I can't think of a sane reason for having font sizes so small that you need 4k to display text properly. Text is plenty crisp at 1080.

Also this is a laptop. More pixels means shorter battery life.

Maybe what you really need is a desktop.
This free service is completely free;

While there are options to upgrade to paid plans with additional features, it is possible to stay on a completely free plan forever.

Your visitors are not targeted in any way other than by yourself if you choice to tag them.
Black Mirror was meant to be a warning, not a guide.
Has MongoDB improved post funding? I got involved in Docker early and invested about a year of work into a project based on Docker. Docker was slow and had warts and my project ultimately is almost unusable due to Docker's slowness and warts. I knew about the warts near the beginning, but I assumed that when they got $40million, they would fix the warts. They didn't. Indeed, it seems that quality has not changed since they got funded, perhaps it has even decreased! If nothing else, it has certainly gotten harder to install on linux. I think that it is often the case that a user base buys into an idea and funding comes and there is a vision. There is nothing wrong with that, so long as the company actually invests the money into achieving that vision. I mean, lots of people have bought into Tesla's vision, that vision hasn't been achieved yet, it's still mostly just marketing, especially the self driving part, but no one is going to hate them for marketing the vision if they DO succeed, or at least try valiantly.
The accumulated corpus of C++ libraries has been implemented by people who may or may not have known their stuff at some point in the past 25 years.

You say operator bool() is the one true way. Many other people define "empty" states for their objects that sometimes make sense only to the library author. Others use class wrappers. Someone else came up with a cool trick for a Maybe-style functor, I'm sure. Yet another bright person has built his very own mind-bending approach using move semantics and some odd corner of the C++14 spec.

With C++, you never know what to expect until you dig into the API. It's an impediment to doing anything with the language unless you work on a huge project where coding standards are rigid and external dependencies come in every once a century (which many C++ projects are, certainly).
well for few years we had a severe reduction of monarchs and (blue/black variety whose name escapes me) in NW metro Atlanta but they returned this year in large numbers. Also returning, not sure of exact connection, but the tent caterpillars were abundant after seemingly being gone.
I'm 25 and got turned down by a start-up for being too old.
Ha, fair point. It actually has similar connotations in Dutch. Yet in hindsight I still feel the analogy is strong enough that I'd still make it.

(In Dutch there's the saying that "you have to learn it on an old bike", where 'it' is sex and an old bike is an older woman)
Good thought, and also if k < N / 2
They may not need to, but that doesn't rule out it happening
I am not at a PC right now, but I can see your point. To counter, Seti should catch anything really high powered. Whether or not a civilization can operate something at that level of power, is a thought experiment.

But, still, they sift the skies, at least we are trying right ? :D
> We found that having a meeting for 3-4 people couldn't happen on a whim, you had to book a room and if none were available you had to delay the meeting. Also, our meetings could never run long because inevitably someone else had booked the room afterwards and needed us out.

Every company I've worked for (none of which were WeWerk) has had this issue.
CADT...
Not as new, not as likely to be in all the tech news
He was approaching this from physics and whatever that inverse distance power propagination law is called for 3d space.
Tech is power now, and power is interesting to anybody longing for it.
OS X/Proton spreading again through supply-chain attack
no french azerty ones either :(
Tech is power now, and power is interesting to anybody longing for it.

I for once welcome our new social justice overlords.
And they probably had good mentors or someone who guided them through the process...I think.
> Yes but uber is evil and everything they do is evil

Well, it is and they do. No need for the "/s"
Ah, the Omelette de fromage effect.
Any other options besides advertising shops?
https://www.youtube.com/watch?v=sSOFtSG6nDo

https://boards.themarriagebed.com/viewtopic.php?f=25&t=66810

Female alertness is impaired in a way that male alertness is not. Some women literally lose consciousness during orgasm. The video is a short clip. It is likely exactly the piece I saw on TV once.
> I’m not convinced it is somehow specific to tech.

I don't think I've commonly seen that claim, aside from an "all lives matter"-style dodge used to try and derail conversation in tech e.g. "tech has this problem" "not just tech", the original claim was never that the issue is exclusive to tech, only that it exists in tech.
I know. If I remember right, Arch did it before the Python project published any official guidance/Arch triggered one being released.
> I’m a little bemused when people say this is a problem in the “tech industry”. It appears to be a problem in every industry.

How does that make it any less than "a problem in the tech industry"? There's no "only" implied in "it's a problem in the tech industry".
It seems on the less useful side of pedantic to bring this up though, much as I'm a huge pedant myself and understand the urge. Is there a particular reason why you feel this is an important point to make (honest question)?
How do you verify it's disabled? It's like saying "it's open source, it has no backdoors!"
yeah and that's why i block it assess to internet using afwall+
Jack Nutting's answer to How bad is it in Sweden?
"Make something that people want to pay for" is an obvious priority for any commercial entity, small or large.
All the music on the Voyager space probe's Golden Record
That website cannot be real. The sarcasm is so thick you need a machete to cut through it.
FZF and RipGrep – Navigate with bash faster than ever before
Global pollution kills 9M a year, according to new study
Scandinavian languages do not really have accented letters, though. What we have in Swedish, Danish and Norwegian are three more letters than the English alphabet, with distinct sound and meaning, that happen to look a bit like accented A's and O's. These letters are very common in our languages and a without them would be nigh unusable; like a keyboard without V, P or B (these letters have similar frequency in Swedish)
> Let it go. Let it crash. Just assume inputs are non-null (except where null makes sense).

That's just asking for a disaster. Null pointer dereferences are undefined behavior in C, and compilers can and do make these assumptions, leading to all kinds of horrors. (https://software.intel.com/en-us/blogs/2015/04/20/null-point...)
It's not just me saying it. It's anyone who works in dependency services.

Discontinuation effects exist, are unpleasant, require correct tapering, but are not dependency.
Am I the only one who's pretty much done with reading these sort of rinse and repeat articles about just writing a bootloader in the name of a kernel?
UEFI itself might be tricky but, actually, nothing stops you from burning those 512 bytes on a flash drive and booting from it on Legacy mode.
After #meetoo I was thinking how many someones' "how we met" stories would be #metoo stories, if parties had different view about each other.
Alas, sometimes a difference between creepy and cute depends solely if the guy is attractive or not.
I just stumbled across this Spotify Playlist of all the tracks, including an introduction from the UN Secretary General, a range of music and 'The Sounds of Earth'. All currently hurtling through space at around 17 kilometers per second. I wonder how and who chose this selection.
Show HN: Symfony 4 – HTTP/2 Push and Preloading
Well psychiatric researchers who actually treat people while under the influence of MDMA disagree, so your opinion isn't really relevant.
Any idea how does Slide compare with Red Reader, which is another Reddit client in Android ?
Linkedin Learning Courses Downloader
Best VISME Alternatives You Can Use to Create Engaging Infographics
Need for Speed PC Game Most Wanted Full Version Free Download [For PC]
"That type of thing is bad for competition"

Is that the case? For instance, we could argue that Airbus would not exist without governments help.

Would be, a world without Airbus, more competitive?

Now that I think about it, we could argue that Boeing would not exist without government help neither.
I had a similar experience while doing undergrad physics. I would dream up incredibly elegant solutions to hard calculus problems ... wake up, write them down and go back to bed. In the morning I would find stuff like dx/dx = c or some other trivial or incorrect equation.
Market Cap Boeing : 153.11B
Market Cap Airbus : 62.41B
----------------
As of 20.10.2017

For reference
Making your site reliant on multiple other companies' services (eg s3 relies on a heap of other aws services and can go down if those dependencies are down) just to host some static files seems overkill to me, when a single server you control can do it for you with minimal setup.
Yeah. It's absolutely true for men. I do agree on the alcohol tolerance though. It's such a relatively 'simple' thing, but I think it might play a much bigger role than we realize.

I'm a small man and most of my too-drunk experiences involved keeping up with bigger men who often also drank more. And that wasn't a conscious thing. I just automatically followed their drinking behavior, except I couldn't handle it.
Oh, I totally agree!

The "you only need relational databases" mantra bugs me though, because it's so obviously not true.
The Guardian is the best.
Purism's Linux laptops now ship with Intel Management Engine disabled
> If the empty state thing was in reference to smart pointers, it'd be a remarkable misunderstanding of how they work and how they should be used.

No, I don't think so. Many C++ libraries, especially those originally developed before C++11, implement their own smart pointer templates, which may end up having
diverging semantics. That's exactly what OP was describing.

Examples off the top of my head include: CEF, Chromium, v8, Qt, glibmm, and the internal codebase where I work.
POP_OS is a developer-focused minimalist Linux distro from System 76
>I have bunch of questions and I need someone to guide me.

I do not know your specific questions, but: You usually have to walk the way yourself and research stuff yourself. Most of the questions can probably be answered by googling and finding Stackoverflow/etc. answers. Most guiding help can also be acquired that way.

For the more complex issues there's of course always Ask HN and others, as you've already figured out.
I can't say my development really suffers between my hi-res 27" 4k/1440p monitors at home and my 24" 1200p screens at work.