skysight-inc/HackerNews huggingface dataset:
I’ve worked on projects which had page/task specific endpoints, projects that were strict about keeping endpoints entity specific (traditional REST), and projects that used GraphQL.

I tend to use GraphQL as a default for anything moderately complex or likely to become complex because of the development flow it enables. But this flow also requires apollo; GraphQL is most appealing when you have a good frontend client like apollo.

Here’s the flow: I’ll get a spec for a feature and figure out what data it will need. Specifically, I’ll figure out what data each component in my frontend will need (I often use React). Then I’ll write a naive graphql query in order for each component to fetch the data it needs.

That might sound like a lot of querying and something you could just as easily implement with REST, which would seemingly defeat the purpose of using GraphQL. But apollo enables two things that offsets this, which it can do because of the way in which you can ask for multiple pieces of data at once and the type information GraphQL sends back. If a bunch of queries are made in rapid succession, you can configure apollo to combine those queries into a single network request. It will also cache entities by id and type name and parameters. This means that all of the little queries you write will typically pull from the cache rather than the server, and will be updated automatically if another query or mutation elsewhere in the app alters that entity.

Writing small, entity based queries is typically much faster to implement than creating a new page specific endpoint for every new page/task, as you can reuse and combine queries/types that you’ve already defined. And because of the optimizations apollo makes when deciding whether to query, you often don’t get a performance penalty from it.

At this stage, I’ll evaluate whether or not the performance is acceptable. Normally it is, but sometimes it’s not. When it’s not, I’ll move those little queries that were happening in the components out, and have the component get the data from higher up in the component hierarchy. The component logic stays the same, so the move is cheap in terms of dev time.

I‘ll then write more performant, page/task specific queries (top level graphql query types) that fetch a whole bunch of stuff at once and do so efficiently. If a frontend dev could write a task specific node endpoint, they could write a graphql resolver for a task specific top level query the same way.
You're right in that music programs demand a minimum level of proficiency with the chosen musical instrument. Many (if not all) have auditions as well.

I would say the programming is a bit different. It is true that someone who has been working computers before they start college is likely to do better in the programming assignments. I suspect in many cases they'll be bored. They might finish in 30 minutes what others would do in 3 hours. It's a gap but in the grand scheme of things it's not that significant. Now look at someone who has been taking violin lessons and exams for 8 years compared to someone who has never touched. The gap is huge. Perhaps of greater importance is the synaptic pathways that have been developed in the musicians brain coupled with the muscle memory and intuition developed over a prolonged period of time. I'm not saying that the programming knowledge acquired before college is worthless but that much of it can be acquired by new comers into the field over a relatively short period of time.

As to the toxicity of the high school environment I wouldn't be able to say. At college I certainly encountered the "nerd" times. As far as I remember they were not toxic at all. If anything many were either shy or generally awkward in social settings. Otherwise they were great to hang out with.
Also Azureus, featuring legendary laggy java gui.
Candidate Electromagnetic Counterpart to Binary Black Hole Merger
CS is a bifurcated world. Yes there are very well paid people in FANG companies and in Bay Area start ups. The reality is that 90% of IT people are working in a cubical making bug fixes to TPS reports in nondescript corporates where they're just another cost center - until they hit their forties when it gets tough to find a job.

Most people see that reality.
It seems to me that the mass gatherings are ongoing -- not just in the past, but in the present and in the future.

I know I read an article as the protests went on that said, "if we don't see an uptick in cases a couple of weeks from now, we need to re-evaluate what we know about the virus" and, more recently, I see articles that say, "there haven't been upticks in the virus due to the mass protests."

Which leads me to conclude:
1) there is something we don't understand about the virus, 2) there is something we don't understand about the protests or protesters, or 3) the articles are not congruent with the real situation.

Explanations might include: the virus doesn't transmit well outdoors; the protesters were in a demographic that didn't get or didn't notice getting the disease; the protesters have not been tested for the disease; the disease was not present at the protests; the reporter didn't have the facts; or, the reporter did not report facts because of some countering (most likely political) belief.

I'm still perplexed about this. Wouldn't mind flexing some data science muscles but I don't have the time and my skills aren't up to snuff. If anyone has some clarity, please share!
I did the same. Paper Trail and The Feed are effectively black holes since you have no way of knowing there are unread items in there.

I also prefer inbox zero, essentially marking emails as “done” by archiving them. With hey you would do the opposite, “putting aside” emails which I found very clunky.

I wanted to like it, and I’ll check back in on it in a few months to see if it’s improved. As it stands the workflows absolutely do not work for me.
> Yes well, because you didn't have enough magical points. Other HN participants had more magical points and downvoted that comment to oblivion. This isn't a good example to show how HN is sexist.

It is. Or at least, it's an example of how karma point systems like those on HN and Reddit reward groupthink. If you say something the majority of people agree with they'll give you points, and then you can use those points to upvote other people with the same opinions. If enough people holding the power to give karma are sexist, they'll reward sexist behaviour, and the site will become sexist.

In any case, this post has already been flagged so I guess the community won't be having that discussion, yet again. Until next time...
I have a job. But thank you for your concern.
> On Hacker News it is used to remove content from the front page that people simply dislike. Often this means content about sexism in tech

I think the main reason these posts are flagged is because the discussion turns toxic quickly, and not because users are adverse to these posts.
I disagree with the author and don't accept these proposals as means of fighting racism/prejudice. In my country, we have our own discussion around gendered language and people suggest using gender neutral terms. People talk about framing and how it can reinforce prejudice. Framing is the source and justification for this activism.

Ironically you proclaim to be the master of the unwashed in-eloquent slaves, that should use your idea of language and worse, your diagnosis about the mental orientation of your lab rats. The backlash is predictable and in my opinion justified and correct.

French isn't a regulated language. There are institutions which define what is considered correct, but it has to be accepted by those that speak it. There is history about that. Someone who speaks English should know about it actually. Tangential political activism here is rightfully condemned, but we see this in a lot of countries.

> Generally, people are forgiving

Heh... where? On Twitter?

> That second option is where things usually go bad. If someone tells you something you did was hurtful and you just tell them to get over themselves, this is where reciprocity ends. There is no need to respect you since you felt no need to respect them either.

Would you please give me all your money? Seriously, don't lie to yourself.

> The problem is not being ignorant of the potential harmfulness of words, it's doubling down when you learn about it.

I learned nothing from this honestly. Tell people to deal with their "micro-offenses" and you would really help them cope with difficulties in their lives. Maybe that is something you could learn.

> But if you're part of a demographic that is targeted by hate groups, a lot of your existence is spent being aware of dog-whistles about you

I am. As you might guess from my post, I prefer spending 1000 years in a free speech place with all offenses the universe can muster than 5 minutes in a sanctimonious environment where academics without significant life experience dictate the allowed vocabulary. Free speech and equality before the law are rights minorities fought with a lot of blood. Not going to throw that away because some failed parenting.

Now you learned that and you can delete your article.
Ironically, this submission has now been flagged so won't appear on the frontpage anymore, only had about 25 minutes of visibility before disappearing into the ether.
I've defeated my mental illness and become web developer
What did they say ? Perhaps you misread what was in the textbooks? My understanding is that the authors questions are legitimate and still not fully answered.
Cosmic Rays May Explain Life’s Bias for Right-Handed DNA
Actually it has to do with how international shipping rates are arbitrarily set by committee every 4 years.

Here’s a planet money episode on the topic.

https://www.npr.org/sections/money/2018/08/01/634737852/epis...
Show HN: CodeOnVideo – Watch coding videos, make notes and explore online tools
Is there a level of karma that upon reaching allows the user to get email updates to replies to submitted news or comments?
Top Popular Python Libraries for Web Scraping in 2020
A CS degree program isn't something you can get into by knocking on the door and saying, "Hi, I'd like to study CS because there are well-paid jobs in Silicon Valley".

Moreover, university departments tend to only tighten their entrance requirements with increased interest in a field.

Article also conflates "earned degree" with "majored".
Note that the comment highlighted in this article https://news.ycombinator.com/item?id=13020973 is already downvoted and flagged by the community. It has even a warning comment added by dang (that is the mod here) (and the warning doesn't use the usual polite tone).
Today I was able to withdraw amount above the card limit to my bank account. At least something. "Amount below the limit" on card, still stays frozen
I graduated undergrad two years ago, the majority of my CS classes were taught in Java. I now work in full stack web dev (Python, Django, React) and tinker with embedded electronics on the side.

Java was picked because (for the most part) it just works on everybody's machines, it comes by default with a large set of libraries, and it can build standalone executables (great for grading purposes). You don't have to explain why MacOS comes with Python, but you shouldn't use that version of Python. Java of course has its peculiarities, but so does every other language.

And as you say, you won't just be learning Java, you will be learning how to develop software. Over time and with exposure to multiple languages you will find switching between them is possible. You may (will) have preferences but with a solid foundation you can say "I recognize that this is a loop over an array, I don't remember the exact syntax in this language, but I know how to look it up".

I'm not sure what your situation is for a masters, but for the best odds of job searching post-undergrad the best advice I could give is have several projects which you can talk about the implementation specifics (why did you choose this pattern) and the big picture (why did you choose this architecture). For an entry level positions the exact language didn't matter when job searching as long as it was in the ball park.

TL;DR You're going to school to learn computer science and to illustrate those concepts they're going to use Java. That knowledge WILL be transferable to other languages. For maximum value explore and tinker with other languages on the side.

And as a bonus, a lot more of the world runs on Java than you think so it will be valuable to have on your resume.
All the big names in the USA strictly hire H1B visa recipients so there is no concept of a big name tech jobs you can write javascript in kansas city texas or california or you can work for the CIA at facebook and government jobs like this have never carried high prestige.
Every major newspaper does this too.
My first tech job wasn't event at a FAANG company and I made $110k right out of college. My next job was at a ~1,000 person startup and my salary was bumped up to over $160k.

Maybe it's a Europe vs US thing but it's definitely not the case that salary is poor outside of tech giants.
Not all log levels are persisted to disk (info and debug, i think?) so yes, there is info that you cannot get from `tail -f`
Their catalog was really something special, including tons of stuff that couldn’t be found alongside their well-known books in a bookstore. Off the top of my head: chartreuse fuzzy monster paw gloves, a selection of “fancy” yo-yos with ball bearings and such, a cigar box that came pre-loaded with an assortment of covet-able childhood knickknacks. All of it (or at least everything I ever ordered from them) was highly-curated high-quality stuff—-no dollar store junk!
Rethinking your source code security strategy
I believe he is about wining like German population did. There was no Nuremberg trials on Soviet leaders. Millions killed but nothing.
Back in late 90s early 2000’s the best hires were the college dropouts. People who went to college to learn CS, got the basics. Then got frustrated and left.

I used to compete with people who got masters at same college I dropped out of. I won easily, I was forced to hire various graduates and they were nearly useless.
I think it’s a bit of both.
The Culture of the Codebase
My feeling over the last 2 years is HN has largely steered clear of topics related to gender, as they lead awful comment threads. That's an impression which implies the HN moderators have adopted this policy. And in general I think it's a good. thing - there's enough discussion of gender in tech elsewhere.
It would not surprise me if the mods shut down this thread. But I question whether they should. And I question whether they would shut it down if they had more diversity.

Why should I not be able to upvote someone's comment just because they say "I'm a proud minority"? and I want to support their voice?
Hackday-u Launches an alternative grad school for hardware hackers
I actually enjoy reading some Medium articles but I get what you mean.

A more fair approach would be to mark Medium articles and other with sort of an icon that will let us know they have signup/paywall
Amazon to pay $500M in 'thank you' bonuses to front-line workers
The discussion on this post itself was not toxic, and it has been immediately flagged anyway. Clearly some users very much are adverse to these posts.
What does the author mean about the "final update"? Is the original Chromecast really not getting any new software?
This is incredible. Thanks for sharing!

So I guess my question is...

...are you keeping up with the Commodore?
And many if not most of those YouTube creators are increasingly dissatisfied with Googles management and are looking for an alternative platform. It seems like such an obvious missed opportunity.
Not very plausible in the time period. It's more likely that we're not seeing a spike in deaths from the US spike in cases because it hasn't been long enough yet; the spike of deaths will be along in a week or so.

Deaths within days of detection are fairly unusual.

Also, the average age of cases has generally fallen (presumably older people are being more careful than younger people) and younger people are less likely to die.
Show HN: Saleswhale Email Webinar AI Assistant (Free Tool)
Hence supporting the article's point
Albatrosses can spy on illegal fishing in international waters
> Besides, it is about ~10 lines of C to detect endianess and reorder bytes if necessary.

Proper code to do this doesn't do any tests. Just grab the bytes from the order of the transfer format (in this case network order) into the order of the abstract machine in C. The compiler will turn that into whatever is needed depending on if it's compiling to a big-endian or little-endian machine and may use byteswap instructions if needed. Having tests in the code is a code smell that creates unchecked paths to the code that are much more likely to be wrong as they are not used most of the time.
Arguments from biological essentialism are frequently but not universally poorly founded in genetics and biology, and when they are poorly founded, tend to reflect unexamined social prejudices.
I didn't, keeping the balls/sacks in one plane before me seems beyond my manual dexterity.

Haven't succeeded with Drawing on the Right Side of the Brain, either ;)
It would not surprise me if the mods shut down this thread. But I question whether they should. And I question whether they would shut it down if they had more diversity.
Why should I not be able to upvote someone's comment just because they say "I'm a proud minority"? and I want to support their voice?
The mods can still vouch for it if they find this topic relevant
Unequal progress of privacy improvements on the web and app fronts does not make it okay to walk back progress on the web front just to provide API parity.
Current computers use about 10 orders of magnitude more energy than physical limits under reasonable conditions (e.g. no black hole.) The practical limiting factor for a large CPU is already heat rejection, and if there were to be any more miniaturization (particularly 3-d) the power consumption per operation has to go way down.

Even if energy becomes more intermittent and expensive in the future, it is not clear if energy efficiency improves faster than the energy becomes scarce or the other way around.
Yep! I did too. I thought this may be a good cross-browser test tool
grind some leetocde questions in Java. after a while it made me appreciate the explicit Type declarations and interfaces. Like, you begin to wonder, do you want to use a HashMap<> or TreeMap<> as your map implementation. Or a LinkedList or ArrayList as your implementation of List etc... I find languages that are more dynamic like js/python dont make the user think as much about this (which is great in some cases, but if your doing academic CS stuff... kind of helps in some sense)
What happened is pretty much par for the course when it comes to Apple, not to imply that there's anything wrong with what they do. They needed a solution and what was available was either woefully insufficient or non-existent so they developed a proprietary solution that met their needs. When an industry standard eventually provided a better option they moved (e.g. ADB -> USB).

Most standards in the industry are bogged down by committees or designed to serve a myriad of use cases. Since Apple is vertically integrated and ships in volume, they generally don't have issues shipping proprietary solutions with very narrow use cases.

Most of the negative messaging you hear around Apple's proprietary solutions are usually resentment from people who want but can't have it.
It’s not likely that any university is going to teach masters classes in JavaScript, that’s for sure. So you’d have to use a different language than JS anyway. Advanced topics you would learn like ML, computer vision, distributed systems, big data stuff all already have their languages that you have to use anyway and not many (if any) are JS.

Also, if you are going to be a React web developer, the theoretical/advanced stuff they teach you in an MS program is likely not going to be relevant at all to your actual career.

Source: current MS CS student.
I've had this encounter so many times in the wild, it's insane. "Well, what can you build?" is typically the question after mentioning you write software.
> I often recommend proxy integration

Could you go further into what this is? Do you mean the API Gateway proxy integration? Is there a code sample somewhere
I 100% agree. For most of my undergraduate, the male-female ratio was a close to 40:60 (yes there were more women in my undergraduate maths classes than men, sample size ~400-1000). When I moved overseas to study Part III in Mathematics at Cambridge, the male-female ratio soared to about 95:5. This was the first time I was in an absurdly male dominated environment since my karate classes in primary school and I found it to definitely be more toxic. My experience thereafter has been the same: more balanced environments are healthier and less prone to toxic weeding of viewpoints.
It's obviously and understandably a bit biased. There are a few omissions:

No mention of anything mobile even though there are a few billion phones out there running Android with a huge app ecosystem of Java and Kotlin based stuff. Of course, that's a non Oracle flavor of Java as Sun sort of lost the plot on the J2ME front (another omission). J2ME was of course more successful than applets ever were until Android happened.

Listing Eclipse and Netbeans (1 bullet) before Intellij (arguably more popular than those two combined) is also a bit weird. In any case, Intellij has largely switched to Kotlin, which is of course a language Jetbrains, the creator of that IDE helped create to replace Java. So nice that they still get a mention. But really, that whole ecosystem is now powered by Kotlin more than Java.

Spring/Spring-boot is another painful one for Oracle because it largely sidelined J2EE related products and standardization. Tomcat and Jetty sort of survive as low level components you can optionally use to run that. The Spring ecosystem is shifting to Kotlin rapidly as well. As is Android, of course.

So, it's understandable why Oracle prefers to not talk about those because these are all examples of where Java was successful but Oracle/Sun wasn't.
Amazon and Google are increasingly cracking down on counterfeits
There's a certain kind of arrogance that comes from assuming that proles - I mean end users - couldn't possibly understand our technical logs, and if they have a problem they should come to us, or wait until we've analyzed the telemetry and pushed a fix.

Quite frequently, logs show up things like missing files and directories, incorrect permissions, unexpected configurations etc. which can be fixed by a sufficiently technical end user, without needing to go through support.

There's a similar problem with error dialogs. Product people always push to keep technical details out of those dialogs, even if technical users would find the details useful for accomplishing their goals, figuring out what went wrong and working around it. It's more forgiveable for dialogs, as long as there are logs.

When the logs are similarly indigestible, the software is simply less usable by technical users. Quality better be damn high, because if it breaks, and there's no way to look into the hard shiny shell, it can generate an amazing amount of frustration to people who are used to making stuff work.

(Of course the % of users who are sufficiently technical is decreasing all the time.)
Is It Basketball or Socialism? [video]
> Would you prefer Apple setup offices in UK and hire people there instead

Apple already do that? They have >20 office worldwide.

> Would you prefer Apple setup offices in UK and hire people there instead.

Less competition for local resources would be better for the people already in the area.