skysight-inc/HackerNews huggingface dataset:
Rather than writing multiple functions that take different types as args and return different types (say int8, int16, int32, etc.) but do the exact same thing, with generics, you can instead write one function that takes a number (which could be any int type) and return a number, and you only wrote one function. That is generics in a nutshell. The function is generic, not specific to one type.

Generics allow for less code, thus they are easier to debug, test and reason about. I've used them a lot in C++ and I do miss them in Go. It's not a deal breaker for me either way, but for people who write larger, more complex code, not having them makes it more difficult (more code to write, test and maintain).

C does not have generics either. Go is a lot like C in this regard.
Why do you think he was fired at Harvard then? I'm not saying he actually raped anyone. I'm saying that he attempted to seduce a student with drugs. He seems to admit that himself.
Apparently also anti-Semite.
> It's an entity with a value specified by the eminent. If it's a fashion startup, one token can be equal to one dress or a yearly license of a software in case of a hi-tech startup. You even can issue tokens of yourself and a token holder will be able to buy an hour of your work with the token. You can “tokenize” everything.

From https://www.google.com.hk/amp/s/cointelegraph.com/ico-101/wh...

So basically if you top up your namecheap account it will count as a token? Looks like yes, from this definition. Please explain to me why I'm wrong.
Coincidentally, here's JavaScript's getting started workflow:

- Command + Option + J (on Mac+Chrome)

- Start writing JavaScript
How to Become a DevOps Engineer in Six Months or Less, Part 4: Package
I don't think that's what OP was saying at all, though. I took his comment as saying that we often expect too much structure from kids at too young of an age, then diagnose the worst of them. For example, at age 7 I was still bursting with pent-up energy and often didn't want to sit still, especially if I was bored. My first grade teacher once taped me to my chair to try to get me to sit still during reading time (I was reading at a higher level, and "See Spot Run" bored me to tears). She and my kindergarten teacher probably could have pushed for an ADHD diagnosis, but they didn't because I think they realized that we often shove kids too young and expect them to adapt to a fairly rigid structure too quickly.

Now, I'm not saying that nobody has ADHD and that it's not a horrible problem for those who do. Sometimes, I really do wonder if I might have it, though I tend to think against it. But for those who truly do have ADHD, I understand that medicine is needed, and that the sooner we give it, the better off those students can learn. I just feel that OP was saying we test for it way too young, and expect way too much out of kids when testing for it.
From the article: "For single consumer use cases, we saw a 68% resource savings, and for fanout cases with multiple consumers we saw a 75% resource savings."

At twitter's server spend it makes perfect sense to make such an investment.
Are you objecting that Franz Kakfka is buried by Apache Kafka, or vice versa?

Either which way, when I google "Kafka" Franz Kafka is the third result, hardly buried.
I wasn't diagnosed until half way through college. I got mostly As until sixth grade, then a gradual decline began. I graduated high school with a 2.something GPA. I think the decline was gradual enough that I guess it didn't set off any alarm bells in the guidance office.

Also I was much more the inattentive type than the hyperactive type.

During my diagnosis I was able to bring a bunch of report cards from my entire school career. That was useful. I empathize with parents who face the dilemma of having a child evaluated, without so much data to go on but with the pressure of not wanting to wait too long in case there is an issue.
One persons “basic workflow enforcement” requirements is another persons “shitload of options and features no one wants” :)

It seems everyone has their own idea of what basic enforcement entails, and JIRA is pretty much ~20 years of trying to please everyone in this regard.
If you tally up all of the people who own their home in San Francisco and all of the people who live in rent-controlled apartments you get a majority of the voting population. It follows that either they don't have a stake in the housing crisis or that they stand to benefit from it. Either way they have no incentive to vote for solutions to the housing crisis. As long as the majority of voters in a democracy aren't negatively effected by an issue it's unlikely to get solved.

Abolishing rent control at the state level (as WA did in the 1980's) would go a long way toward lowering the cost of housing in the bay area. All of a sudden the majority of the population would be clamoring to approve as much new housing as possible and investors would be rubbing their hands in glee thinking of how much money they could make by undercutting the existing market while still turning a larger profit than they would have previously. Seattle faces all of the same issues that San Francisco does, earthquake-proofing expenses, massive influx of population, water on three sides of the city, disproportionate zoning allocation to single family homes, etc. But unlike San Francisco, Seattle has seen an incredible construction boom in high-density housing because it's actually legally possible and economically viable to build.
List of placeholder names by language
> The most effective rape drug ever, turning adults into children who can be exploited.

LSD certainly is not. It's not the safest of psychedelics from the psychological point of view (give it to a kind loving person and they will become even more loving and enlightened, give it to a psychopath and they will become even more dangerous) yet it usually doesn't switch consciousness and reason off (quite the opposite) and doesn't stimulate sexual desire. At least when taken in reasonable doses.
Although ultimately I do want generics in Go I am afraid they will make the language more difficult to use and understand. Generics in c++, c#, scala, java, etc all tend toward being very complex and change the way programs are written.

The focus moves towards a taxonomy of types and developers (myself included) sometimes get stuck on difficult type problems. There's something about trying to preserve type safety which sets the bar extremely high for bypassing the type system when there's not an easy solution and before you know it you've wasted 2 or 3 days writing code which doesn't actually do anything but placate the compiler.

And often that type-safe concoction you create is almost indecipherable when you come back to it later.

For example here's a project I worked on recently which cached a concrete version of a generated method using generics:

https://github.com/DataDog/dd-trace-dotnet/blob/develop/src/...

Used like this:

var originalMethod = DynamicMethodBuilder<Func<object, byte[][], object, object, bool, T>>
.GetOrCreateMethodCallDelegate(
redisNativeClient.GetType(),
"SendReceive",
methodGenericArguments: new[] { typeof(T) });

At least for me that was really hard to figure out how to do and I still have to squint to see what the heck its doing. The non-generic version wasn't type-safe and it wasn't as fast, but it sure was a lot easier to read and understand.

And to give some sense of the complexity involved, Rob Pike mentioned in his talk that the proposal spec for adding generics to Go is longer than the spec for the entire language.

I think the complexity is worth it, but I just hope we can be cautious about how and where generics get used in real-world code, otherwise we'll end up with gobbledy-gook that only experts can decipher... and that would be really sad, because the promise of Go was a language normal engineers could be productive with.
> which will add them.

"Generics" can be a lot of things in a lot of ways. AFAIK there is no official Go design for generics, or a list of the deficiencies they will have, so a blanket "this particular problem will of course be solved well" is speculative.
It's in the article:

“I had leanings towards homosexuality.... I got dismissed from Harvard because I had given psychedelics to an undergraduate. We had agreed with the dean that we would not give psychedelics to undergraduates.” Ram Dass flashes a mischievous grin. “He was an attractive kid.”
I actually thought that CockroachDB had some relation to Apache Kafka from the name (like Apache Samza does). But nope!
I also appreciate and like the new site.

I love the use of color, it's very dynamic and "fun", and the typography is nice in my opinion as well. It's more engaging to me, at least.
A Program Synthesis Primer
https://squizlabs.github.io/HTML_CodeSniffer/

I always liked this.
> Anyone is going to start questioning things if they see kids with a diagnosis who seem basically normal.

How do _you_ know if they are normal or merely seem normal though? What is your definition of normal here?
Everyone deserves a livable wage.
The obvious reason that property tax collections 'just barely' manage to pay for public works is that citizens set the rate of both taxation and expenditures (taking into account the availability of state and federal funds). They're not broke, they could raise the tax rate, they just don't want to.
I was thinking of the exact same thing when writing my new project in Python, and implemented a poor-man's version using typing.NamedTuple. But my idea was mainly from the extensive records from Elm. Although Elm also have Maybe, but the idioms of "making impossible things unrepresentative" eliminates a lot of unwanted usage.
Pricing is scary. But people have subsequently told me they would have paid $85 per board for my product. I charged $20 and it sunk me. $85 would have meant a small manageable launch that was well funded. Instead I went $100k in debt. Be sure you’ll hve enough to cover unexpected issues. Are you over optimistic about production targets, setbacks, etc? My time estimates were way too optimistic which compounded the price issues.

I’m obviously biased from my bad experience, but do be mindful to do due diligence on pricing, delivery, and costs. Well, my other issue was that I didn’t know how to do those things and I ran out of time.

Best of luck on the launch.
On average, 3-5%.
A pivot to video couldn’t save Mic, site lays off most of its staff
Teachers don't diagnose or prescribe.
folks who likes to read?
Google Employees Debated Burying Conservative Media in Search Results
Such a small list, such a humble selection of programming languages :-(
Wouldn’t this make golang slow though? Isn’t that what people claim makes python slow?
That is modern art!
This is pretty much a descendant to famous Abramowitz&Stegun Mathematical Functions handbook
You can really see developmental differences at 5-7. My son is 6, his kindergarten last year had kids between 4-6 on the first day of school and they vary substantially. Their lives vary a lot as well... how do you expect a 6 year old in early day, school and aftercare from 7-5 to behave?
I agree. I am a resident Indian who has lived and travelled outside.

But what you have described - the ruthlessness - is universal. In EU, SG, JP, SK, AU, UK etc and yes of course definitely in USA. Just that that ruthlessness is garbed in nicer clothes there.

In India medical sector pushing families to bankruptcy is seen as ruthlessness and abroad it’s called “oh, they didn’t have (the right) medical insurance” among many things. It becomes process, it becomes something of a “technical” aspect and it’s conveniently brushed aside as not being a social issue at all. Both are horrible.

And oh yes, the rich and the privileged are fine everywhere. They have passion, they have an unflinching desire to help others.

A rich friend of mine (from a boarding school I was in on a scholarship) used to volunteer in Africa during her college breaks. The expense was born by her father of course and the expense of one summer would often be more than what was my yearly salary for couple of years initially in my career.

What you see is not crumbling culture of India. Because if we go with this definition towards any change then every culture is constantly crumbling. What it is, I’d say, is rapid change in every aspect of this country. People rapidly trying to come out of poverty, trying to get big, and bigger.

I don’t claim to understand all this, because I don’t. This is too complex of a topic (a bunch of topics really) to be explained in a matter of a comment. I often see many nuances of this place, which are not even nuances to us, missed when seen from a romantically nostalgic lenses.

As for the Taj itself it’s a victim of a melee of things ranging for religious politics to rampant corruption. A lot of people in the current state and central Govt would rather see it razed to the ground and I’m not exaggerating. There’s been precedence for such phenomena in our country. And the experience of Taj, at least for me, has been filthy, crowded, smelly, hurried, and anything but romantic. It’s far from what all see in the glorified pictures when, usually when world leaders visit, probably the entire place is off limits for public and the compound was made photo ready just for the show.
" Many of the same kids would be just fine if their day consisted primarily of free play, especially outdoors."

Not if they have ADHD. Then they often can't focus on things they want to focus on for their own reasons.

A lot of things that people with ADHD would like to do include boring parts if you want to get good at them. Practicing scales three hours a day, or whatever.
Chip wars: China, America and silicon supremacy
They should have went with Water Bears. It can survive even in space. Plus they sound cute (but look scary).
https://news.ycombinator.com/item?id=18566134

80+ points
> it's not that South Park turned into this right-leaning children's TV show.

I have no idea what you're referring to with the South Park reference and George Soros, I don't really follow the show.

But South Park has actually long been considered right-leaning by some people, e.g. https://en.wikipedia.org/wiki/South_Park_Republican

As far as I can tell the main people who hold this view are right-leaning, e.g. https://www.city-journal.org/html/we%E2%80%99re-not-losing-c...

I usually see the creators referred to as libertarians. E.g. Matt Stone saying "I hate conservatives, but I really fucking hate liberals."
It's an interesting study for sure. But, as part of the background, it would have been useful to point out that much dystopian fiction is intentionally political. Rod Serling had initially proposed a program of political commentary, but CBS said "no way". So we got The Twilight Zone. George Romero's Night of the Living Dead series was also intentionally political.

In other words, much dystopian fiction is actually long-form propaganda.
No, I never once implied chaos systems are not already unraveled into a deterministic one.

Me writing, "it describes a system that is too complicated at the current moment in time to unravel into a deterministic system" uses the word "unravel" as how humans are incapable of understanding all the cause & effects in the current moment of time; when they define it as chaos but may eventually be able to understand all the cause & effects.

I have no understanding to why you wrote your last paragraph in the original comment to me and how the comments transpired from then to now; other than you have a fragile ego to how I prefer to use my expression of the word chaos.
Can you really win with a free lotto?
Global Sales. Not Global Usage Shares. Android has a pattern of faster replacement cycle.

There are Currently 5B Mobile User World Wide, 3.3B Smartphone, 2.5B Android, 800M iPhone users. Both the Smartphone and iPhone user base are still growing. So Apple has roughly 25% of the world market share. This is not bad consider there are 500M+ Smartphone users in India which Apple has less than 2% market shares.

Looking at the trend line and from line of speech, I think most analyst ( Well, only a few really. Most of them don't care about its actual market usage. ) were predicting the 1B iPhone user base by 2020. Fueled party by iPhone XR, or the supposedly affordable iPhone. Now it doesn't look like it.
Programs to read ... first entry 'JavaUnit'.. SKIP!
North Korean hackers found stealing from Bitcoin hodlers
"I lost $100,000 over five years on my first halfway successful venture."

Real World MBA.
> Look at Venezuela. It’s starving its own people for political reasons

Why would we (the US, Nato?) do anything about that? Compared to Colombia, Guyana, Brazil, Peru, Argentina, Panama etc

I just want to read the articulate logic
there is an L4 based effort for HPC at TU Dresden called FFMK. the reality is that for HPC you still need high-performance implementation of fast-path system calls (e.g., memory and process management) and the traditional micro-kernel architecture is not suitable for that. as for POSIX, you don't have a choice, people who write apps are used to POSIX and Linux.
Personally, I'm a September baby so was relatively young compared to my grade peers.

I got mostly A's in K-6. Once in 4th grade another student pitched a tiny fit about how I always got A's on spelling quizzes.

After that my grades started to decline. I was having trouble with the increasing demands of the work. Graduated high school with a 2.25 GPA or something like that.

In college I was diagnosed with ADD.

The industrial-age education system wasn't a problem for me, until it became a problem for me.

But it really isn't the problem, because ADD can prevent people from being able to focus on things they want to do of their own free will in their own time. Industrial-age education isn't an issue there.

So, being unable to maintain focus especially on the boring bits, they end up sucking at whatever it is, which gets depressing.
Why did it take you so long! :)
Maybe money is that teenager’s interest.

He has probably already seen everything he wants for himself or hopes his family to have comes with a lot money. He has, as he is 17, already experienced his one clean shot at one of those things being within his reach is one of those backbreaking and ruthlessly competitive entrance exams for which he has been probably preparing since class 8-9.
You said it has nothing to do with multiverse, not "it has nothing to do with one particular notion of the multiverse". The examples are countering the former. And what about the other examples?
As we said in the post, that’s because the translations aren’t ready yet. When they are, we’ll make it obvious.
We understand the problem well enough to know that frontal lobe damage can look a lot like ADHD and can be treated the same way.
> In reality, Android is suppose to be “open” but between Android, iOS, and Windows, the Android ecosystem has the worse track record of both correcting bugs and getting the patches out to users.

The process of identifying bugs and the process of distributing patches are two separate things. And there is a very specific reason the "Android ecosystem" is slow to distribute patches -- an important piece, namely the hardware drivers, is not open. The reason you can't install the latest stock Android with all the latest patches on your device is that the device is stuck with proprietary blob drivers that aren't compatible with newer kernels.

And the operating system with the best security record is unambiguously OpenBSD.

> In the real world, no one is voluntarily going through each line of either Android or iOS looking for exploits out of the goodness of thier hearts.

They don't have to do it out of altruism, there are plenty of self-interested reasons to do it. Security researchers build their reputations by discovering vulnerabilities. iOS jailbreaks are valuable. Some companies that use Android in their own products pay to audit the code that runs on them (and incidentally on everyone else's devices). Programmers that discover their device unexpectedly doing something "weird" are more likely to investigate, and more likely to succeed in discovering the cause, when the code is available.

> And that “logic” falls apart with one widespread example - the HeartBleed bug that was in the OpenSSL implementation for a year and a half.

https://www.cvedetails.com/vulnerability-list/vendor_id-26/p...

Take a look at how many of those also affect Server 2008, implying they've been there for at least a decade before being discovered.

> The number is also “non zero” of bugs found by third parties in closed source software....

And how many of those were discovered specifically because the source code wasn't available?
Running Firecracker VMM on GCP with Nested KVM
Indonesia seems to be doing OK. Though arguably Suharto did some of the "brutal totalitarianism" bit.... That said, that's over 20 years in the past, and I'm not sure radicalism has really been spreading that much in Indonesia. It exists, of course; it's just not clear to me that it's getting stronger.

Until the last few years, I would have said Turkey was doing OK, even with the various military coups it's had; whether those count as "brutal" is an interesting question. The last few years, Turkey has definitely turned in a totalitarian direction, though I don't think combating radical islam was the cause.

I _think_ Bangladesh has done more or less ok. But I don't know much about it, to be honest.

Malaysia I think has done ok. So has Morocco.

Again, none of these completely lack radical Islamists. But that would be a pretty high bar to clear (e.g. the US probably doesn't clear it, and definitely doesn't clear it if you replace "Islamists" with "Christians", but keep the radicalness).
3 UR points per $ with the sapphire reserve
> you can't charge a toll for planes passing overhead

You can up to at least 365 feet, and sometimes higher depending on jurisdiction.
"after a nasty adjustment period though. It changes how your brain works and feels extremely weird)"

This is very much a Your Mileage May Vary thing. I didn't have a nasty adjustment period at all and I was diagnosed in college.
Sometimes it is a tribute to a great figure
Electric cars in China send location info to gov-backed surveillance centres
> They tapped Yehuda Katz early on for this.

After trying three or four times to build one on their own that is!
The semiconductor industry and the power of globalisation
Was at LEGO many years ago. I remember that a couple of guys in the same department started to clock in overtime. A few days later a manager come by the department and ask everyone to stop working. He wanted to find the root cause for why people was working overtime, because according to LEGO management, overtime is a sign of a process that does not work and that there is something wrong in that department.
Related - https://news.ycombinator.com/item?id=18566526
“However, the Dragonfly teams were instructed that they were not permitted to discuss the issue directly with Brin or other members of Google’s senior leadership team, including Pichai, co-founder Larry Page, and legal chief Kent Walker.”

If that’s accurate, I cannot possibly understand why Beaumont is still employed at Google unless the senior leadership team decided intentionally to limit their exposure to the project so they could claim plausible deniability in the case it blew up like it has.

Obviously I’m not on the inside of this story, but from the outside, it’s getting increasingly shameful by the week.
Related - https://news.ycombinator.com/item?id=18566502