skysight-inc/HackerNews huggingface dataset:
> the common reply I see to "this country does bad stuff" reduces to "well this country does bad stuff too!"

It's not pedantic if you care about being rational. This act is a common logical fallacy called the "tu quoque fallacy": https://en.wikipedia.org/wiki/Tu_quoque

Why is this a fallacy?

Suppose country A is accused of doing something bad. It's logically irrelevant to that question whether some other country B also has done something bad.

To see it more clearly, take the same fallacy on an individual level. Person A is accused of murdering someone. Is it a valid defense to say "Well, my neighbor Person B also murdered someone, therefore it's OK that I did"? No, of course not. It's totally irrelevant whether someone else -- even the accuser -- has also murdered someone.

Yet making this fallacious counter-accusation is often effective in terms of emotional (i.e. irrational) manipulation of the audience, particularly when they are predisposed against B in some way.
Surely the total amount of resources dedicated to transport has increased, and potentially the number of people wasting time commuting. There needs to be some practical limit to how much "infrastructure" we build of all types. Especially in localities that are already completely dominated by roads and cars.

The problem is that people live increasingly elongated lives that lack a grounded sense of place or community. Whole neighbourhoods are just a nuisance in the way between place A and place B. What about place C that is stuck in the middle with the pollution, noise, and congestion?
The user actions that lead to mistakes in Excel are the same with any other environment: typing formulas. If I'm doing an engineering or financial calculation and misplace a decimal point, flip a sign, or forget an ABS(), I'm going to get the same wrong result in R or Excel. The upside of Excel is that the feedback is immediate so you have a chance of spotting the error if you're expecting a certain output. There is no clean solution to that regardless of environment. It's just as easy to make mistakes when you're changing code or changing a spreadsheet.

R has the advantage of being easier to do a proper diff between files if a change was made in error, but most people don't think they made a change in error. The change was intentional; they just got it wrong.
> "Use By: (date)", or "Best if Used By: (date)"

Since one contains the other, seems like this could be open to packaging errors. Much better to use an alternative verb for 'best if used by', i.e. 'display until'.
I think she means you can add white noise to the front end making the output a little bit non-deterministic. Since it won't give the same confidence number twice, it frustrates gradient descent.
I wonder what your DNA integrity check has to say about that after a couple of years of exposure.
But the point is that the tables flipped entirely. Go back to 1990's and you'll find GOP senators decrying Rage Against The Machine as communist radicals for their opposition to NAFTA. A big chunk of the GOP is still pro-free-markets.

If core parts of what "left" and "right" mean are subject to re-definition every 4 years, maybe the polarized tail is wagging the dog.
I basically studying javascript to become a front-end developer :) (also some NodeJS and Sequelize/SQLite to be able to create functional projects)

I just assumed it is the right name for the profession when there is no need to enter the details of what stack and specific function I want to specialize. No idea it was "charged" somehow.
holy shit wtf
Then he wrote git and hit the doubt out of the ball field. This may be an anomaly, but he is behind one of the most successful large projects in the history of software engineering. It's an insult to say 'enchanted unicorn'. It makes this sound like luck. That is exactly what he is saying is bullshit.The difference between some great lightweight projects and the Linux kernel is not linear. There are almost no other projects that are as complex.
Actually, haven't had any issues with it. So, it's safe to say that i find it very stable.
from what I observe after work in high power radio wave industry, there is a possibility that long time exposure to high power radio wave can have effect on people's chromosomes, not quite sure what will happen if someone expose too long to this type of device
The real story here is capital in the form of private equity. Engineering is a commodity, it can be bought, there are tons of great engineers in the world. Getting access to capital to take these big bets requires some serious clout, influence, and connections that the average joe doesn't have. Check out the background of ANY private equity firm, it's full of very wealthy people from Ivy League schools (Skull & Bones anyone?).

These guys create a firm, pitch their friends to get a seed fund off the ground and then start fundraising from larger institutions. They then hire some real talent and they are off to the races. Not everyone makes it, but the ones who do are featured as geniuses on Bloomberg and the Wall Street Journal. Survivorship bias for sure. Most Hedge Funds and Private Equity firms don't do well, similar to any start-up.
Utility wise, naming feedback is much useful.

For any database product, there are plenty of mature and robust technical tools for improving and evaluation. I do not believe the company is less aware of any HN commenter. Therefore any technical feedback only going to have limited impact.

But the naming feedback seriously helps them get an idea how their naming hurts their brand-acceptance.

By all means, that's a valuable feedback.
So I'll admit I'm not at all familiar with LINQ and MSSQL, but from reading this, it looks like LINQ is just an ORM?

And if that's the case, then of course it is easier and looks nicer than SQL -- that's kind of the point of an ORM.

But I could show you a whole bunch of articles about Python and Ruby and Go ORMs too.

Seems like an Apples to Oranges comparison.
How would you like them to share the news?
If your hypothesis was correct, shouldn't these lily-white small towns in Pennsylvania and West Virginia be paragons of social connectedness and happiness, instead of the epicenter of the opioid epidemic?

The problem with jumping to the conclusion that "multiculturalism is bad" is that it seeds the idea that people who don't lookalike can't peacefully co-exist. Personally, I feel a far greater sense of community here in Silicon Valley than I did in the homogenous suburb I grew up in.
Yes, but why is that a big deal in the first place, vs. being offered a job and paying a small administrative fee to adjust a visa? The siege mentality is part of the problem.
Ask HN: How to build a back-end where no two employees can see all user data?
Assume this is a small organization with only five employees. How would you build the website backend that provides the highest level of anonymity for their user's who register for and user their website or services? Is it possible to prevent someone like even the CEO, CISO or developer from viewing all the user's data in plain text without involvement from an escrow service or lawyer? Or does that make it impossible to protect from fraud or other legal issues?
Germany uses the wording "Mindestens haltbar bis", which roughly means "good until at least". Yet despite using the "at least" wording, a lot of people still throw out their yogurts that are one day over the date.
It would be simple to either have compiler directives that control structure layout or (a bit more limited) some way to indicate that the compiler should keep your field order (just as, in Pascal, the 'PACKED' modifier to a struct directs the compiler to omit most padding)

Also, since Linus worked on kernel code a lot, that reordering probably was like a knee reflex; it didn't involve his brain. His brain wrote that we shouldn't be bothered by this in an editor, but his spine made the edit, anyways, and, apparently, his spine doesn't read comments.
As others have said; Rust is very stable now.

I started trying to learn Rust at 0.7 (maybe a bit earlier, I can only find references to 0.7 in a few projects of mine). Boy howdy did that feel like an exercise in futility. I would set it aside for 3 weeks, revisit it, and find entire language constructs had been removed. I complained about this and Steve Klabnik graciously reminded me that it was a work in progress and that the work was being done out in the open intentionally. I really can't thank him enough for that since it caused me to go from frustrated to sympathetic. As a result I decided to not write the language off. And I'm glad I didn't. After things slowed down around the betas for 1.0 it became clear that Rust was worth learning. I haven't had a chance to use it professionally, but for personal projects I find myself reaching for Rust for problems that would have caused me to have reached for C in the past.

Also, Google has gotten significantly better about returning current and up to date information on Rust as well. Around 2013-2014 my biggest gripe was that I'd search for how to do something only to find advice that was woefully out of date. I haven't had that experience in well over a year now.
And I see a lot of people with great skills failing in these companies interview without a clear reason.
Just like a whisper in your ear would overcome someone shouting a few hundred yards away. It's not the radiant power that's the problem but the proximity to the origin of the transmission. And Tesla coils are particularly dirty in their emissions.
This is a slightly different response from others, but I think fits the intent of the question: The Better Explained Guide to Calculus: https://betterexplained.com/calculus/

Kalid basically iterates the series around the concept of deriving the formula for the area/perimeter of a circle, and then builds up to deriving the surface area/volume of a sphere. The focus throughout is the building up of an intuition of calculus before leaping into formulas. Even with uni-level calculus, I did strengthen my intuition of what's going on by reading through his book.

It's pretty fun, and I actually spent some time visualizing the calculus of geometric solids afterward i.e http://www.trinco.io/blog/derivative-of-x3
The MPAA rating system might look like a success from the outside but I think a lot of people familiar with it would disagree. It is wildly inconsistent and the rules that it does follow are mostly arbitrary (one "fuck" is ok, but two isn't) . The process of getting a film rated is not very transparent and getting a film re-rated can be prohibitively expensive for low budget films.
> In the real world, MOST people are using the "it compiles to" version directly in the code

What's your source for this claim? Because anecdotally I don't see that at all.
If you know something they want to know and they decide to make you reveal it, then you have the choice of going back home or revealing it. Entering the USA is not a right unless you are a citizen.

But you're much more vulnerable if you bring data with you. The first level of protection is making a backup, formatting your devices as new, and restoring once you're on US soil. Better yet is not bringing devices at all. But certainly don't bring secrets with you: bank records, medical records, and military secrets should never be carried with you through customs.
That sounds fascinating! Electrical, mechanical, hydraulic?
No, HN is a small community of people who share a narrow set of interests. Although that set of interests is broadening and I think HN is worse for it. While the community does include people from all over the globe and thus is in a literal sense global. It's not global in the sense of attempting to include and cater to everyone. If there are people who don't see much value or enjoy HN much the HN staff doesn't seem to have much interest in changing their minds.
And I sort of half agree with you as well :) except I think the repetitive part is the mapping of the objects of which I think the automation should be of generating objects that you are going to map into.

In Java there are host of libraries that do this. I have even used Hibernate to do the mapping at times as I do think it does a pretty good job of that.

What I mean by mapping is minimal code generation (either host language or SQL) of Class <-> Entity and Row result <-> Object.

I think jOOQ approaches that medium you talk about fairly well btw. JDBI and MyBatis are also fairly good as well (both mapping technologies).
"No regrets though. My mantra is that if you're not striving to automate yourself out of your own job these days, then you're holding something back, and not truly contributing your most valuable work."

Shouldn't you be, though? Shouldn't your most valuable work be reserved for you?
Footage of Nintendo Switch system menus leaks out to the wild
You're right to some degree, but there's a practical reality too. If a regulation would make it impossible to do business, and society would like that business to continue then they'll live without the regulation even if it would be good. There's always a cost-benefit tradeoff, and good regulators work with their charges (without getting too cozy) and the public (without listening to the shrillest unsubstantiated voices) to make smart ones.
Hacker News really doesn't have the scale to be considered a global community in the sense that's being described, and it harbors a culture which self-selects against general purpose content in order to prevent itself from becoming that global community.

The "global" version of Hacker News would just be a text only Reddit.
Rust is nowhere near Cockroaches in terms of what it evokes.
Linq is used pretty loosely to include also the equivalent form so

dogs
.Select(d => d.Id)
.Where(d => d.Age > 3)
.Skip(4)
.Take(2)

would be considered just as much "linq" by most c# devs even though this isn't the query language integrated - simply because it's the same exact thing as the regular linq code.

I too find the "real" linq form mostly distracting.
Hmm... as a current tech recruiter in NYC and a javascript engineer, Vettery doesn't seem to be doing anything innovative in the space.

This interview looks and feels like fluff sponsored content.
Why Snap would lowball its IPO valuation
Yes, that.

Actually, I find it obscene that governments that can borrow at basically 2% per annum or less are not engaging in these projects, and instead leave 24% returns on the table for the private sector.

Call me a Keynesian all you want, but yes - the austerity stance in the last decade (after the GFC) (particularly in Europe, due to Germany, but also in the US) was a huge mistake.
SQL is itself an abstraction over the "language" of query execution plans. Why do you regard SQL as particularly more fundamental than any other abstraction?

I don't think it's conceptually right to regard LINQ as a "SQL generator". I think it's better to think of both LINQ and SQL as just different database control languages.

(It might be the case that behind the scenes LINQ is implemented by generating SQL, but that's an implementation detail. Just like Haskell is implemented by generating C behind the scenes but it's more reasonable to think of Haskell as its own separate programming language than as a "C generator")
To add: overhead for defer and for calling into C have been reduced pretty significantly with 1.8. Anything that does quite a bit of the latter may see a fair improvement in perf.
If people travel further then demand has increased. It is strange how people think about congestion in terms of number of people rather than miles driven. A single car that hits several choke points on a 50 mile commute is causing far more congestion than a vehicle travelling 5 miles. Yet the users are treated exactly the same and never get any social pressure to reduce their demand.
I know India's a big place but it's a bit of a coincidence that you and the author are from the same city ;)
This is rather naive. All countries in the world assert similar rights to search you and your devices at their borders. This is not by any means unique to the US.

This is also very rare at the US border, as it says in the article. Most countries in the world are far more aggressive about searching you, and even actively demanding bribes to let you in.
"But when the conversation starts, "let me tell you about Cockroach..." I'm already starting from behind."

Attempting to explain how brand recognition works: people browse the web, they see and hear things, they remember unusual things, things they see often, things they notice better because of how they shown in all the noise, etc. After awhile when presented with the choice where they need to make a judgement either under pressure, in a hurry or simply because they don't have enough information, they favor a familiar thing, thing they can recall, rather than the thing they can hardly recall or not at all, no matter how neutral the name is. This is called a familiarity bias and is also the reason behind the phrase "no such thing as bad publicity". So, you are definitely not starting from behind.
Well, at 4444 times a year it doesn't seem that rare of an occurrence.

But, hey, what's new? The US has imprisoned innocent people, and tortured them multiple times a day for years and years. This is public information, and no one gives a shit. The US government really doesn't care about anyone who is not a US citizen. (And sadly, western countries mostly just let the US do whatever they want)

A women is being locked up for 8 years because she checked the wrong box on her voting form, and it is pretty common that unarmed black people get shot by cops without serious consequences.

I understand that people are upset about the possibility of having to unlock their phones, but there are far more serious indications that the US is not the great country it wants be. A lot of common sense and decency it missing in the US - and not just in the Trump administration.
My point is you can pick another line of work where your pay looks like: 50K, 55K, 60K, 65K, 70K, 75K, 80K, 85K, 90K, 95K, 100K, 105K, 110K, ...

Or you can pick software where your pay might look like: 100K, 108K, 116K, 124K, 132K, 140K, 142K, 144K, 146K, 148K, 150K, ...

The software pay sure is plateauing. That seems awful, but who is better off?
Well, none of those chips are brain-like at all. For example, TrueNorth is fully digital, it uses separate compute/memory blocks, signal multiplexing, signal encoding, routing protocols, instruction set, etc, none of which is in any way related to what brain is doing. What makes you think it's "neuromorphic"?

Whether you like it or not, get used to people calling their hardware ANN implementations "neuromorphic".
> you have to do it at a resolution >4k per eye

I'm sure there's someone working on a headset that tracks eye movements and adjusts the rendered resolution of the image on the fly. The human eye has something like 4-5 megapixels worth of photo receptors, but the absolute majority of them are located in a relatively tiny area of your FOV where your eyes focus on.
At a previous job I worked hard to prove that I could make LINQ queries perform within small tolerance of the window of hand-written SQL alternatives.

Performance tuning LINQ is a science that I think escapes far too many people. Often it seemed to simply be mistakes that they wouldn't make in hand-written SQL, but they were writing LINQ too much like C# instead of enough like SQL.
To your first point, LINQ-to-SQL can bind database functions for use directly in LINQ queries. I've used this first hand for parsing comma delimited string parameters into table values and joining from there in LINQ.

I haven't used entity framework or any newer tech beyond LINQ to SQL but I'd have to believe such a trivial feature is present in them.
Thanks for Episodes ! Looking forward for new episode on this topic.
"We settled on postgresql, because, despite going into toast tables and having to implement sharding on top"

This is a common mistake. The choice doesn't actually guarantee consistency at all. PostgreSQL only guarantees consistency as long as you don't try to communicate with it over a network, which you obviously do if you have shards. To address this problem we have things like 2pc, but they aren't very useful for an RDBMS on their own without the whole infrastructure of a distributed database.
More than left vs. right, I tend to find it's about big-money interests vs the masses. NAFTA was criticized by the masses and those who care about the general population, but endorsed by politicians across the entire spectrum who were aligned with business interests.
At least for me, participation in HN is voluntary.
>"And I have yet to see one without an escape hatch allowing raw SQL."

I don't know where you've been looking, but from what I've seen it's an easy to find feature. To give two examples:

https://docs.djangoproject.com/en/1.10/topics/db/sql/

https://github.com/StackExchange/Dapper
Ask HN: What percentage of Software Engineers at large companies are excellent?
Based on your experiences. What about at fabled companies like Google, Facebook, etc?
Facebook: Jumping the shark since 2017.
I can definitely resonate with this. Deep learning is in such an early stage, the frameworks and tooling are still maturing and evolving rapidly. This makes it really hard to reproduce other's work. Maybe there will be one winner in the frameworks war (Tensorflow?) and things will be better.

Pipez sounds really useful, good luck!
It's really an EDSL
FWIW, the title was edited by a moderator. The original title was: What's wrong with me.

I do agree though that that would have been a nice feat.
"Most tech people" must mean people under the age of 25 without much knowledge of history.
So what?

Even I that disagree with some of the decisions that were taken,see a value in having people using Go instead of C.
It's not 90%, but it seems like it has to be more than 50% because not only does every call require an error check but f(g(x), h(y)) has to be broken down and given three error checks.
[Deleted by user]
Ha, I had the same thought, and yet theres still an account login prompt hovering on the page.
Questions to ask before joining a startup
Ask HN: Easiest way to build a mobile app that won't break upgrade path later?
I have a niche B2B Saas web app that is doing well and growing quickly.

We have finite development resources and big updates planned for the next few months already.

Our app is responsive and works well on the mobile web, but we regularly get requests for how to find our mobile app in the App Store & Play Store.

Eventually, we will build the best mobile apps we can, but in the meantime I would like to get thrown together.

I am curious how HNers would throw together a web app into the app stores when fast and cheap is the priority.

The only non-negotiable is that I have to own the app and be able to release our future work as an upgrade to this existing app.
I think it depends on what the Linq to is. I find the sql like proper linq form only natural when databases are involved (and just barely).

Most uses of where/order/select in C# I'm pretty sure is linq to objects, not sql. I very rarely see the linq proper form in any C# code neither in OSS or in my dat job.
We Are Human Beings, Not Robots
For me there are two primary reasons for having an ORM or ORM-like framework

1. Compile time checking. I hate when I'm writing a straight SQL query in a string literal and misspell one of the column names, because everything will compile and unit tests will pass, and the mistake isn't caught until I run integration tests. I want a short edit-compile-debug cycle. jOOQ is a good example of something that helps here.

2. Arbitrary filters. Often I have to expose a REST API where the user can add an arbitrary number of filters to their query. You can't write SQL literals for these because there's a combinatorial explosion of possibilities. So you wind up dynamically generating SQL yourself by concatenating strings in the WHERE clause, hoping and praying you don't accidentally allow SQL injection. I want an ORM to deal with that shit for me.