skysight-inc/HackerNews huggingface dataset:
Best thing is to try to understand and move on. It is possible that there's something you did or said or your attitude but it is also possible someone might be sabotaging you. By moving on and seeing whether these patterns repeat you can asses whether you have any blame at all. I've worked in a toxic environment and know how they affect the confidence. Second, no pay no play, it's a good sign to move on.
On friendship: if you show a more humble side of yours people won't be afraid to be your friends. Sometimes people are intimidated by people who are better than them.
Also eagerness friends turns people off, sometimes it's better to just smile and wait for friendships to happen naturally. Not sure if that was your case but it's a good thing to rummage on.
As is usually the case with this administration, sometimes you can agree on things they do but it is never for the right reasons.
I keep wondering what it would be like to work in a language that gave some compiler support for ensuring that functions remain mostly pure. Like, perhaps mutating variables that are visible outside the function or getting input from external sources are disallowed, but logging and writing debug output are still permitted.
When international trade consists only of material and not migrants

Mass wealth can only be generated in advanced economies. For the people of developing countries to benefit their countries must participate somehow in these advanced economies. With globalization they are allowed to participate only by the exchange of goods (either selling manufacturing in developed countries like China or natural resources in undeveloped countries like Congo). Before globalization, they could not participate at all.

Advanced economies like the US and EU allow immigration only in a limited capacity, and they do so in way that benefits mainly the investor class, entrepreneurs and high-skill workers. Consider the typical Silicon Valley visa, the H1-B. The H1-B only allows corporations to sponsor highly-skilled workers to take jobs that are hard to fill with Americans. Think software engineers working at Google. This kind of immigration benefits investors in Google and workers in the software industry while increasing competition for Americans in the market for high paying jobs. Excluded from all of this especially are low-skill foreign workers.

Everyone wants to be rich, and they will not stop this pursuit. As long as the majority of people in this world, those who are living in non-advanced economies, can only become rich by the selling of manufacturing and natural resources instead of their labor, then there will always be billions of people whose work effects the planet's environment in a significantly damaging way.
https://en.wikipedia.org/wiki/Flicker_fusion_threshold.

Classical 50/60Hz lighting looks like a stroboscope to chickens. There is a whole field of research on the effect of light regimes, light color and flicker on poultry farming efficiency. I couldn’t find a scientific link, but see https://agrilight.nl/lichtadvies/pluimvee/?lang=en&-en
The original content was a series of tweets and the link is a website that summarizes long twitter threads, so each newline indicates a follow-up tweet.
Thanks for the links.

That's nice, but not the same - users have to intend to write a Python extension in Nim. With autowrap, you can call unmodified D code (and as shown in the blog, C code as well with dpp). That means code that was never meant for consumption from another language can be made available.
A lot of unfounded speculation in your comment. It seems more politically-motivated than rooted in facts.

Secondly, have you done your research? Surely Facebook is not the only company being targeted by the government right now. I can assure you that, surely there are more.

Thirdly, as much as I might dislike an administration, I won't take the giant, speculative leap as to assume that I know exactly what they're thinking.

Fourthly, if this "quietly disappears", why would you automatically assume the administration's involvement? Again, there are presidents I strongly dislike, but part of remaining objective requires grounding your position in fact. Facebook has world class lawyers. Having worked in the legal field for numerous years, I am more than positive that Facebook has made many things "quietly disappear" on their own.
Google maps is actually bloody good at just being a map. It's extremely convenient to zoom in and out, click around, view locations, add them to your route, etc. Yes you can up the productivity by using more tabs and that is the standard nowadays because we humans are being trained to be multitasking monsters. Forgive me for ending my read there because to me it just sounds like a rant from a bitter old person that doesn't understand this brave new world any more.
To be clear, I'm not saying that no magical-ish tech will ever exist in the future. I'm specifically doubting the physical possibility behind the imagined gray goo tech.
Your chosen language was pretty inflammatory.

I linked the document providing the large numbers of public consultations and their results. You made a lot of pretty inflammatory assertions as well, but I've never heard of these things from anywhere else.

Keeping in mind my home county is full of windmills on all sides. Not once have I heard of wells drying up or being polluted even from their harsher critics. And in this county nobody was "forced" to house a windmill. Farmers who opted to house one are well compensated to boot.

There are environmental studies done and accountability with regular updates to a number of institutions including Environment Canada expressly to prevent such problems. You can see how I am hesitant to believe hearsay in opposition to the results of studies by these kinds of organizations.
Launching a Credit Card Push at Your Credit Union
Except Facebook makes most of its money from US users not from international users.

Also hard to argue that their campus that houses the majority of their employees in the US isn’t the one generating the IP.
You're right about idiomatic React + JSX; I was incredibly wary of React at first because of the apparent requirement of a JSX preprocessor, to the extent that I went out of my way to use non-JSX React. It was very easy—the ease of opting to do that gave me a bit of extra appreciation of the modularity of React (JSX is 100% a separate thing).

That said, Typescript got me (maybe a little too) comfortable with having a preprocessor: I still use JSX-less React but in Typescript I've actually started using React-less JSX...

CSS-in-JS is silly. I put that idea into the same bucket as a lot of other nonsense in the React ecosystem. Don't.
It isn't hard. Fresh fruit and vegetables don't even have labels because it isn't needed. Meats, and eggs, spices, flour, sugar, oils, and all the other staples might have a label but I don't need to read the fine print to know what is inside because the answer is always the same: whatever is on big print on front.

When buying processed food it is impossible though. Just learn to cook and you will typically have much healthier meals. It takes more time, but there isn't an other reasonable option to be healthy in first world society.
"If you are contemplating joining a coding bootcamp in 2020...", his tweet starts.

I wonder whether the quality of education at coding bootcamps has gone downhill. From what I know of the Web Development Immersive program at General Assembly in 2014, or the software engineer program at Hack Reactor in 2015, they both were very decent.
I would be more interested in the ten-year outcomes of something like the Lambda School versus self-teaching or using cheap online resources and entering the job market. Either way you're going to have to start with a very junior and entry-level position in order to crack the job market. But at least you're not on the hook for a huge chunk of your paycheck.
It's almost like the expectation that companies pay proper taxes to the countries they exist in IS pretty straight forward.
While nice, one still has to manually declare a Nim proc and tell it whence it came from. That's not the same.
Computers of the past were undoubtably slower on average; both in terms of physical performance as well as their UX. The software of now, when compared to the software of then, is slow relative to the hardware that it runs on. Before we used to strive to do more with less. Today we strive to do more with more. In an attempt to do more, faster and easier; we've made trade offs.

I wish we would circle back and remember the https://en.wikipedia.org/wiki/Unix_philosophy.

Not every app needs every feature rolled out by FAANG in the last decade.

JavaScript is not the best choice for every part of every application stack.

It seems important to me that programs become focused and composable again.
I think anon is trolling us
With you for most of this. But saying

> So no, there's no such thing as "sexism against men" because even if non-men had sufficient bias, they don't have the power.

is obviously a horrendous over-generalisation, based on otherwise rational argument you laid out. It's just that it's much, much rarer (especially when we're talking about IT). But the pendulum swinging too far the other way isn't going to help society, either.

The reason why I'm even bothering to call this out is that this attitude does everybody a disservice. By all means, fight sexism when you see it, in any form. Treat all people as equal. Avoid lumping them into groups and labelling them. Maintaining that one group deserves special treatment seems equally patronising and misguided, whether that's in a negative or positive way.
"I had some trouble with Linux on this hardware"

"You chose the wrong hardware bro!"

This is why people don't like Linux Evangelists.
Links formatted as code sorta defeat the point, right?
The more I learn about what goes on in the world the more I ask myself "who does this benefit?" and many conspiracy theories seem to make a lot more sense. Governments and other large organizations have such a long and common history of doing shady things that it's really hard to give them the benefit of the doubt.
I like the idea of lowering standard of living. Can you give me some examples?
You've touched on something here that I have questioned as well.

It's a surreal issue -- on one hand, making 'smart green eco-friendly' choices is clearly what drives a certain percentage of consumer demand, and on the other hand, giant corporations are the ones who are responsible for the sourcing and manufacturing of massive quantities of product.

But somehow, this attitude about buying "responsible goods" has been assimilated into the consumer lifestyle, and we expect this attitude to attract enough attention that it bubbles up into the corporate world so we can keep buying things that aren't 'bad' for the environment.

But in the real world it doesn't work that way. People buy what they need and what they want, when they want. It is a miracle of civilization that we are able to do so.

But in today's milieu, those of us who buy goods are now supposed to somehow be virtuous and vigilant in our consumption -- because it's our fault for purchasing goods from a market where there is ample supply of an unavoidable product.

We live in a world of excess, all around us, all the time, but the petty consumer is somehow supposed to be the one fighting back against the wave of excess we ourselves did not help produce?

"Tsk tsk, consumer, if only you shopped more carefully."

Consumers may drive the demand, but we are not at all responsible for the supply.

Sure, you can say the buyer is complicit, but most people buying Nutella aren't worried about palm oil, or frankly, the environment. And their power to affect change in either department, is close to zero.

If anything, the argument can be made that not only is the corporation responsible for the supply, they are even responsible for the demand (or year over year increase in demand -- must hit those sales figures), via advertising and propaganda.

Ultimately, it falls on the manufacturer or corporation to actually make change. They have their hands on the true levers of power. Let me know when Nutella decides stops selling their delicious gunk without palm oil.

Super great when they do. I'm going to keep buying it, though. Don't put it on me.
I have driven all the Tesla models. They are really quite cool, however I cannot reconcile fit and finish vs price point. I reached a point in my life where I could buy MB, Porsche, etc. and I did. It sets the bar higher on what you like. The Tesla’s are not there. Most of price on the Tesla is because of the batteries, I understand that. This is why the Porsche properly equipped is ~180K. I will never buy another gas car so I am hoping the prices point on an electric from the luxury manufacture comes down rapidly. For me, I cannot rationalize paying 180K for the Porsche. That number is just over some line in my head, even if I can just write a check for it.
Show HN: Listen to 5-minute audio lessons while you're doing something else
Hey at least they aren't e-ink: https://www.reviewgeek.com/4225/california-unveils-new-e-ink...
Yeah, I had heard palm oil isn't the healthiest for you but didn't realize that it had so many environmental implications as well...
Yes and no. I unfortunately need to speak US-specific because this is where I live; but at least in the US people have almost no degree of freedom when it comes to electoral democracy since there are 2 parties and oftentimes the ballots are as simple as "blue or red" and then what ends up being passed in congress/senate is not close to what people want. It's really irresponsible to push all the responsibility to the people when they have very little way of affecting how their government passes laws.
The new plate colour happens to be the colour of the conservative political party who voted it in
It's certainly used in soap, but I've never tried it. From what I understand it's often derived from soybean oil.

Each type of oil/fat has a unique fatty acid profile that contributes different qualities to the product after saponification. Palm oil has a uniquely high palmitic and oleic acid content, both of which provide very desirable qualities to the end product.
Open Offices Inhibit Remote Work
Webapp need to stop implementing some shortcuts, if not most. It annoys me to no end when a site hijacks ctrl+f and presents their own crappy sesrch rather than just letting me search the page with Firefoxs built in search, which actually works.
Do they always give you that answer or sometimes they actually answered your question?

You could ask them how you were supposed to know that (genuinely and not with an exasperated tone).

In case it's simply their attitude or world view, I don't know what you can do about it.
Does the US administration have the authority over the IRS to file and pull the suits at their will?
Your clothes might soon contain tiny generators to charge your electronics
In no way does a H1-B benefit anybody but possibly some execs. It is exploited to drive down wages in our high demand industry. Probably the worst is that instead of taking new grads and mentoring them up there are many places that would rather contract some H1-B instead.
Half the range and twice the price though...
and I don't think the results indicate a "roasting".

Taycan Turbo S:

0-60: 2.61

0-100: 6.12

¼ mile: 10.69s @ 131.6mph

Tesla Model S Performance:

0-60: 2.83

0-100: 6.64

¼ mile: 11.23s @ 123.2mph

With those stats I'll take the cheaper, longer range option.
BZx Hack Full Disclosure (With Detailed Profit Analysis)
If a professional accountant told my buddy to do one weird trick to completely eliminate the lion's share of his tax liability, and he did it, and then the IRS went after him, I'd feel entirely comfortable judging both my buddy and his accountant, even if I didn't know the precise details.
I wish all websites were as lightweight and fast as HN.

I sorta want to use New Reddit (because I like having smaller windows for multitasking and responsiveness makes that much more convenient) but boy is it painfully slow even on a 100+ mbps connection
Don't use JWT doesn't mean don't use tokens.

http://cryto.net/~joepie91/blog/2016/06/19/stop-using-jwt-fo...

Under microservices:

> For a stateless service, there's no session at all, so you simply have the application server hand out short-lived, single-use tokens for each individual authorized operation.

> For a stateful service, you hand out a new short-lived, single-use token for each service - which is then exchanged on the service itself, for a session on that specific service. You never use the token itself as the session.

Today I use static site generators to get rid of servers entirely. User writes to their device. Data is shared P2P.
Certificate Validity and a Y2k20 Bug
Any other software companies out there doing something similar?
The page in question discusses latency in terminals, not how it compares to performance of previous generations.

That being said, it also seems to have to pull in the 99th percentile behavior in order for the timings to be an issue, and even then it's not horrible; it doesn't get actually "bad" until you consider the worst performance (99.9th percentile) of the worst performer (st). It seems overly picky to me.
The neutral handles the expected load, while the ground is designed specifically to be an alternate current path from the case (assuming it is conductive) that has low resistance and will immediately flow enough current to trip the breaker in case the hot somehow comes into contact with the case.

Neutral does not go through the breaker, correct.
Apparently Microsoft Autoroute was first released in 1988, covered several dozen countries, and could be obtained by ordering it. Thus using it for the first time would involve a delay or at least a day in order to order, receive and install the program. After that, starting it should be quick, but I can't tell whether it required inserting the CD into the drive. Even if the appliocation is already installed on the PC and not copy-protected, looking something up doesn't sound obviously faster than opening a web page, typing the name of the location into the search box, and waiting for the result.
I see you work in enterprise! I’m sure that all of this absolutely cannot be changed because all the functionality is needed for ‘something’.
Can’t create atoms out of thin air, maybe you can but that isn’t enough to replicate rapidly
Why do you need vision coverage?
I don't know whether you read the whole thing or I had my head in the sand, but I found it to be very enlightening and new to me. Procedures that are not permanent, that will fade over time, yet give you a physical progression towards a current ideal (be it Instagram Face or whathaveyou).

Comparing that to Make Up was very relatable and way more insightful than any other article on Instagram Face.
Ask HN: I dream to build my own game by myself, but I'm not becoming proficient
I feel quite overwhelmed by the tools out there, and I want to improve my idea of the landscape and possible paths to take.

I am a teacher, but I previously worked in finance and know a little SQL and C# from that past job. That said, I don't have particular aptitude for software engineering. In fact, I'm a slow learner and overwhelmed by large amounts of information. I'm better-suited to learning concepts and problem solving. So that said, with past work wth C# and SQL, it seemed like nothing ever made much sense and a lot of engineering felt more like configuration--reading documentation or googling. This was very frustrating and unrewarding to me.

I want to learn how to do it literally to build my own game by myself--for this to be my life's work--but I feel like I'm not learning as much nor gaining the aptitude I should have from thus far doing tutorials in Python or with Unity/C#.
TL;DR because it's simple.
As long as it's not hurting someone, anything goes as far as I'm concerned.
Honestly, I found most books are written more as a basis for people who need something to hold onto and can't do it on their own (yet), and for people to understand the ridiculous enterprise systems. Most of the time, I see good developers take longer to come up with various structures and deciding which one to go for than the time they'd spend fixing these things afterwards. On the other hand, inexperienced devs will trip up no matter what. That's why they are inexperienced, give them a chance and some time.
Realistically, good systems are built by good devs who understand you need to continuously maintain and evolve the system according to your needs, and keep an eye on relatively simple things like method structures while doing so. Its easier to refactor when all your methods name themselves, are bite-sized in what they do and you provide a sandbox for other people to work in, or a blackbox for them to work with.
And clear errors. Don't be that guy who hides the stack trace and doesn't keep track of the state of the app. Please don't.
My mom was incensed in the 60s when her freckles were erased from her school photo -- our family is far from aristocratic. And fwiw, I still have the same frustration with photo filters to this day.
GitHub also has batched reviews by the way.
GitHub isn't git.

Code reviews, pull requests, actions (CI), are all value that GitHub adds over git.

Just because the VCS stays up doesn't mean github going down doesn't impact work.
The limit depends on the size of the source, contrast, location on the eye of the source (rods are much ‘faster’ than cones, so we see flicker better out of the corners of our eyes), and probably a few other factors.

1000Hz I find hard to fathom, though. Would want to see what these signals look like.
You can sorta get partial application using lambdas, or whatever they called in C#

Like a poor mans hacky partial application, one argument at a time.

namespace Bored
{
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
internal static class Program
{
private static void Main()
{
var addFive = Add.Partial(5);
addFive(6).Print(); // Prints 11
Enumerable.Range(0, 5).Select(addFive).ForEach(WriteLine); // Prints 5 to 9
}
private static Func<int, int, int> Add = (int x, int y) => x + y;
}

internal static class Extensions
{
public static Func<T2, TR> Partial<T1, T2, TR>(this Func<T1, T2, TR> func, T1 t1) => t2 => func(t1, t2);
public static void Print<T>(this T t) => WriteLine(t);
public static void ForEach<T>(this IEnumerable<T> xs, Action<T> f) => xs.ToList().ForEach(f);
}
}

Define your partial extension method for each arrity to Func. I think it maxes at 16?
Probably a dumb question, why the maximum size (and the one has most of packages) in the AMS-IX graph 1514 bytes instead of 1500 bytes that got discussed in the article?
I can't imagine 2FA on something like a ship at sea, that may or may not have a working uplink to high latency satellite internet, and probably not SMS that many 2FA providers use.