skysight-inc/HackerNews huggingface dataset:
Maybe you think go is simple. But I don't.

You need a for loop for what is done in other languages with one method call.

Removing an element from an array doesn't look like that. It is some slice appending trickery.

Having null and having to check errors every 5th line or so..

It lacks idioms like list comprehensions or map / filter. Reading code is spent in details like whether a for loop is index(), count(), map() or filter().

Instead of some simple code like
x = condition ? a : b
you are writing imperative verbose code like:
if condition {
x = a
} else {
x = b
}

Go maybe simpler than enterprise-style java. But that's not 'simple'.

http://archive.is/YPxJP
Simply Danish Modern redux...
Google's published tech stats suggest the ratio is closer to 7 in 10. Women physicians are 3-4 in 10. Biology appears to be 6 in 10 from what I could find (and is relatively unique in STEM fields, also not out of line with the socialization that animals/horses/veterinarians/marine biologists are often socialized as girls vocations).

And yeah, I think it's a potential contributing factor (one of many). Kids in many parts of the country are socialized that certain things are only for certain genders. It sucks. Let kids like whatever they want.
This is an interesting article because it made me consider how I think personally as a highly productive programmer but also a leader at my company. Even if I didn't touch the code, I am personally responsible for it considering that I am the lead and have - or should have -reviewed it before it went out. If you go into the assumption that you are accountable no matter what, it isn't really a big deal. If a subordinate f'd up, then you are still accountable because you should have caught it.

Thinking this way is very liberating because it means everything is your fault, but.. you are human and humans make mistakes.. so that means that this is a learning experience. If your mindset is that we are constantly learning, no mistake can ever really touch your ego.
I did tried my best to keep to the dymaxion schedule (thirty minute nap every six hours) in college for about two months for a blogging assignment. The first two weeks were pretty terrible but it got better after that. I can confirm what was written in the article, that oversleeping or missing one of those naps would be disastrous for continuing to keep the schedule. On a positive note, I was more productive during that term than I ever had been before. I was working out, cooking my own meals, and finished all of my assignments long before they were due.
All Investors Claim They “Add Value”. Few Do, Says Seattle Angel (2016)
And I find go immensely practical and Java immensely impractical. But I see its value. It's almost like we have different languages because people are myriad :)

Problem-space and learning styles play a huge role.
The dev that set git to using master says otherwise..

https://twitter.com/xpasky/status/1272280760280637441
> (re: project discovery) We went from a flawed meritocracy to a social network that promotes chaos, tribalism, and idea bubbles.

This works well in two senses:

1. We went from a flawed meritocracy (GitHub) to a social network that promotes chaos, tribalism, and idea bubbles (Twitter).

2. GitHub went from a flawed meritocracy to a social network that promotes chaos, tribalism, and idea bubbles (CoCs, them-vs-us narratives, a priori victimization, non-universal notions of "inclusiveness", "master branches").
My thesis statement is minimalism is popular because people don't have time to dust an Edwardian armoire.

The author's thesis statement seems to be that the public is a bunch of gullable fools who have been sold a style that was somehow "stolen" from the "authentic" artists the mid 1900s, who are, apparently, the only ones allowed to live in lofts and own a one piece couch.

> When thinking of minimalism, one can only wonder what the once-avant-garde cadre of artists and musicians would think about this hyper-commodified end product of their ethos, practice, and even their living circumstances.

The artists lived as such because they had shit to do, paintings to paint, music to write and practice.

People choose minimalism for the same reasons, so that they can live their lives and not futz around with possessions.

> Either way, somebody’s making a lot of money.

Probably not, wicker basket sales are way down.

The author is so elitest she somehow thinks that average people know what the hell Design Within Reach even is. I'd bet money that 90% of the US population has no idea about DWR.

And Pottery Barn only recently, very recently, started selling stuff that even approaches "modern" or "minimalist". If someone asked me to describe Pottery Barn 5 years ago I'd say "another one of those stores selling overly ornate crap that shouldn't exist." (See also: 90% of everything ever sold at Pier 1)

> Every realtor, in increasingly aggrandized text boasts each instance of charm and authenticity, each listing’s Real-American-ness,

That is every real estate agent ever. Their job is to literally sell every possible iteration of the American Dream. Heck one real estate listing I saw recently had a photo with fake dog posed playing with a toy. Lame? Kinda, but it got the point across.
The OP is hitting at a long lived really difficult problem especially for a place like GitHub - how do you display what people care about? - recommendation engine

Most stars in 24 hours? That gets the same group of 0.1% consistently at the top leading to a stale page.

So Github tried to improve its 'signaling' of what's interesting yet new so you can keep coming back to the trending page?

Is it stars the overall account crossed w/ new? Number of issues opened in 24 hours? Forks?
Which experts? Galileo was a heretic at one time. So slippery I'm finding it hard to tap this out.
Or why even have regulations anyway? Why not allowing cars to be sold without seatbelts or products without warranties? I think you can find the answer yourself.
Yup. It's nice to get your news from a few sources that have wildly different biases. You can then use your own judgement on who has the right take on it. Or maybe it's none?
This is the first I’ve heard of this. Where have you heard this?
Google Ads exists to serve the interests of Google alone, and content restrictions are reactive to the threat of losing money.

That's why YouTube operated as a "haven for pedophiles" for years. Ads right next to livestreamed abuse on YouTube? No problem! Harmless edgy right-wing doomsday blog? Rule violation.
I would guess that biphasic sleep was killed by the common consumption of stimulant drugs like tea or coffee in western culture.
> JS coder
> never tested on android
just as planned

???

I’m back-end, not front-end. I think I mentioned Node, right? Why would I test backend code on a phone?
NBC lied by inventing a false quote from Google to take out a competitor.
Your comment is a non-sequitur, and that non-sequitur is emblematic of exactly the problem everyone else in this thread is discussing.

How well "Whites" as a group are doing says nothing about "poor whites" and how they're doing. It's a fallacy of division, and anyway you shouldn't pre-judge things about people based on race... it's literally racial prejudice.
This reminds me of Stumbleupon[1] from back in 2005-ish. I used to love using it before they decided to pivot and remove all of the things that made it great.

[1] https://en.wikipedia.org/wiki/StumbleUpon
THANK YOU for keeping version 3 alive.
I tried polyphasic sleep and exactly what the text said, I stopped because social pressure of a monophasic world. It worked, but some other things like meeting friends more than four hours was more important for me.
So, I read three screen sites of text with only one argument: Polyphasic animals are sleeping longer.

I don't think thats a really good argument compared with reports from people that are doing polyphasic sleep for months.
"a German living in Russia"

I'm afraid you've lost a "P" there. Prussia, not Russia. Different places.

https://en.wikipedia.org/wiki/Karl_Marx

https://en.wikipedia.org/wiki/Kingdom_of_Prussia
Hard pass on the suggestion to add more social network features. Such features are only conducive to drama and anxiety, we need less of that not more.
I have read so much about CockroachDB but I am still waiting for that one hero app that puts it on the map. The hard part to convince your company or somebody to put his serious stuff like on something CDB is the fear folks have that what if this company/technology is gone (hint hint RethinkDB). I believe even with all the cool stuff and the hype there are gonna be some paper cut scenarios. Now these cuts might be fatal for someone but for others it won’t be a big deal.
Why do you dislike java so much?
Although I don't have any belief in polyphasic sleep being true or not unless you were getting that sleep in extremely regular intervals - that is to say with exactly the same amount of time between each interval and with the time you slept during each sleep period also rigorously timed what you had would not be a viable polyphasic sleep schedule.

Since the polyphasic idea is to decrease the actual amount slept getting 8 hours also is going against the whole purpose of doing it.

I've raised two children, one of them with real sleep irregularities, and neither time did I have anything resembling what the adherents of polyphasic sleep would consider a reasonable schedule.
> > Their commonality lies in the same impulse for vacuous, petit bourgeois taste to launder itself in narratives of nostalgia and cultural legitimacy. When thinking of minimalism, one can only wonder what the once-avant-garde cadre of artists and musicians would think about this hyper-commodified end product of their ethos, practice, and even their living circumstances.

> You can't just say the equivalent "man I can't believe the suburban normies found out about farmhouse lofts -- look at what they took from us"

I really don't see how you got that from the quote you shared
> How do you enable S3 for my use case (where I am ok with all the assets being public because they are all static JS/HTML/CSS/images) but also prevent breaches like this?

Do not put anything you don’t want to be public in your S3 bucket. Also, best practice would be for the bucket to be private but Cloudfront be authorized to access the objects to retrieve from the S3 origin and cache at the edge. Use a separate S3 bucket for sensitive data. Use lifecycle rules to delete objects as soon as feasible so you’re not storing sensitive data for longer than you need to. Ensure that cloudtrail logs and s3 logging is enabled for sensitive buckets, so you have access logs for forensics if you do unintentionally leak objects with sensitive data.
Universal college education is a huge disadvantage to lower-income people of all races and ethnicities, especially those in rural areas.
This saddens me :( as a reviewer of code I found Golang to be extremely easy to read due to the lack of expressiveness. The most secure codebases I've seen are all in Golang (or are written by strong engineers).
For me, stars are a rough measure of traction. If I can get a project above 1000 or so, my project begins to take on a life of its own, and I can concentrate less on marketing and awareness.
Another masterpiece.

https://i.imgur.com/Z90o6x5.png
Maybe it's because I'm a newcomer to Go, but I'm surprised by all of the shade being thrown in the comments here. I think the design doc presents a clean and simple way to implement generics in Go -- and therefore it's very much in keeping with the spirit Go. I especially like the constraints system. Constraining generic types via interfaces just feels "right" for the language. It leans on a familiar mechanism with just enough leverage.

I'm not without concerns, but I'm struck by conflicting thoughts: I share the worry that implementing generics will negatively affect Go program readability which Go developers (rightfully) covet; when you have a hammer, everything looks like a nail. And yet, I also worry that the Go community is at risk of analysis paralysis on iterating the language in meaningful ways; the novel and innovative spirit that created Go must be harnessed to propel it into the future, lest it dies on the vine.
Does biphasic sleep count as polyphasic? I've been doing it for years following the 6 hr core and 20 minute nap. (Basically this https://efficiencyiseverything.com/sleep/)

It's been extremely doable for over a year. Sure I sleep in when I'm hungover or on a lazy Saturday, but it's closer to a regular 8 hour sleep rather than 10 hours.

I'm not in agreement of this overly simple article.
Bitcoin Lightning has solved two of those specific problems for me. I keep a BlueWallet (BTC Lightning network) on my phone and use it for small payments with my friends. When it gets to a larger amount I settle onto the bitcoin main blockchain.
Funny that you should not mention the Bloc Québécois, which was instrumental in supporting the minority government in its early days, and still is lending its support for specific issues. The fact of the matter is, the liberals have three different political parties to play against one another, not merely two.

It's complicated, and it definitely helps the liberals.
You can buy a wake up lamp and aim it at your face while you sleep. They automatically turn on at a time you set, and the light intensifies slowly, like the sun. It’s a lot comfier than waking up to a loud noise.
LinkedIn features on Github? Sounds awful. Imagine having to dodge Microsoft's typical dodgy dark patterns to access repositories. LinkedIn is one of the worst social networks, and employs dark patterns that not even Facebook has adopted.
I mean, the "every interior" is obviously hyperbole but the point still stands that this is probably the major trend in design right now to the point that whenever you see a home advertised / recently remodeled it looks almost exactly the same, with the same neutral colors and furniture choices that seem limited to Restoration Hardware and the like
He seems to have missed the difference between a majority and a plurality.
Apple and Google taken together comprise most of the computing the average human will do or come into direct contact with. It's also broad, generic computing: banking, email, phone, messaging, dating, job seeking, entertainment.

If that isn't an entire market, then I don't know what is. You can't compare the Nintendo Switch or PS4 to that. Not only is there an order of magnitude more competition, but it doesn't match in scale or scope.

Apple gets to tax you when you want to find a partner. When you want to watch a movie. When you want to do your taxes.

It's not fair. It's suffocating.
I had a related idea of hooking up an exercise bicycle to Google Street view and some VR goggles. Play street noise from destination city streamed from YouTube and local music, but you determine which way you go by actually riding the bicycle.
It is surprising to the people who have been feverishly trying to add generics to Go, with references to their efforts dating back even before Go1.

It may not be surprising to everyone. Trouble is that the people who are not surprised now are the ones who sat back and only watched, preventing their knowledge from making it to the project.

Luckily for Go, a small team of domain experts decided to do more than sit back and their efforts are how the latest proposal was reached.
I was about to say this feels like a Jeffrey Scudder piece. Then I hit the about, and it IS a Jeffrey Scudder piece.

Jeffrey, I love your work, and it's great to see you making more paint tools!
The Future of Restaurants in a Contactless World
That was silly but very fun. Are you using ML algos to generate the paint based on the user input?
Literally went to see a friend's new apartment today, still to be furnished. Just the basics are in, like the wooden kitchen appliances that come with the unit which they had painted in... you guessed it, light gray
It’s unsustainable but you don’t need to sustain it forever, you only sustain it during a time of your life where it can have the most impact, then phase it out when you get diminishing returns.
That was fun, my creation: https://imgur.com/a/40Sv94U
> fmt.Println() is blacklisted for obvious reasons

That's the issue with the language, there are so many special cases for convenience sake, not for correctness sake. It's obvious why it's excluded, but it doesn't make it correct. Do you want critical software written in such a language?

Furthermore, does that linter work with something like gorm (https://gorm.io/) and its way of handling errors? It's extremely easy to mis-handle errors with it. It's even a widely used library.
Van Jones was right (even the best intentioned are conditioned by forces beyond their control), and you added the word "irredeemable". No one said there isn't a fix. Culture racism is learned, it can be unlearned.
Patience: Nas and Damian Marley (Lyrics)
People will be exceptional regardless of if they go to school.
Where do your Canadian friends live? You _do_ realize that CERB payouts are the same nationwide, and if your friends are using the majority of the CERB payment to pay rent, that's a result of living in a high rent area.

The younger generation also benefits from CERB and there are other appropriate programs for youths and students.
In Canada, yes - but only because of our awful CBSA, the absurdly low de minimus exception in NAFTA, and the fact that the Canadian retail sector is fat and uncompetitive (and yet Shopify is Canadian??!)

Amazon is the only online retailer that’s figured out shipping and the CBSA here. Everyone else is awful. Walmart online ordering is awful. Home Depot is awful. What’s left of toys r us is awful. Canadian Tire online is so witheringly, eye-watering awful that it turned me off of even going to the store.

Besides amazon, what else is there here?
That's a good reference point. Cost for infrastructure projects usually isn't linear. I've seen an exponent of .6 used to extrapolate costs.

(3140km/27km)^.6 * $4.75B = $82B. Adjusting for inflation gives you something a bit over the $100B. They probably came up with the number in a similar fashion.

Do you know if your number includes the detectors? They would have contributed significantly to the total cost.
Because it's an explicit opt-in, as opposed to accidental opt out. And static checking can warn you about empty catch blocks.
Newdiscourses seems to be a website dedicated /entirely/ to taking down the author and the book. A sampling of their articles over the past 2 weeks:

"In Defense of the Status Quo"

"White Silence is NOT Violence"

"A Principled Statement of Opposition to Critical Race Theory"

"Eight Big Reasons Critical Race Theory is Terrible for Dealing with Racism"

Further investigation shows the site owner, James Lindsay makes his entire living being an activist against gender studies and critical race theory. There's an extraordinary amount of resources dedicated to pushing back against the Robin Diangelo. Having heard her speak and having read at least a bit of her book, most of it is showing white people that all the things that we've tried over the past 10, 20 years are clearly not working. There's little improvement in inclusiveness in traditional white/male dominated cultures, such as the engineering teams at FAANGs for instance. Its insisting that you do something actually about it rather than patting yourself on the back for doing what you think is the right things. It takes a great amount of twisting about to ignore the main points, and all of the writers you linked have done so.

What you call the "dogma" of dealing with a racist culture I call people lived experience. Its heartbreaking to me how very conservative-minded and flat out defensive on issues of inclusion and race the HN community has been when the subject of race is allowed to be a thread.
Linux Scheduling in Short
We moved away from WebRTC completely for video, networking, and some audio. We still use webrtc-audio-processing for acoustic-echo-cancellation and some other niceties. Here is our Rust wrapper for that library:

https://github.com/tonarino/webrtc-audio-processing
None. I've not hired many ivy grads either. Competition for devs is still hot and i've only been able to hire from community colleges.
This seems to be a good fit for IPFS, since it's a single page with no absolute paths.

While Beaker does let me update the source code at that location - you can also link to the current version permanently by adding the version number (46, in this case) to the end.

hyper://467f73aff5af260ab04a4f064fa8cd7fda6f23fed4ff227bc29514c3381a2087+46/
What a lovely page!
I guess that I was expecting AWS Lambda to scale up immediately in the same way the ALB or SQS scales up with demand. That assumption was very wrong.

Edit: my AWS support rep explained it: Without pre-provisioned capacity, it would take 34 minutes to scale our Lambda functions to the peak concurrency we needed. And it would cost several thousand dollars.

Completely insane cost. Also, EFS is ridiculously expensive.
I’m glad that you acknowledge that the move is obviously politically motivated. I don’t think that dissenting voices should be silenced. The free marketplace of ideas used to be an American ideal. Now it’s a fireable offense, or in the case of businesses, a capital one.

Google had a monopoly on internet advertising. They should have no such right to decide who uses their Ad platform based on political affiliation or leanings.

There’s plenty enough blame to spread around both left and right for fake news. See just most recently Fox doctoring photos of CHAZ versus many MSM sites falsely misrepresenting a conciliatory Trump quote on Floyd and the recent protests.

If ZH is committing libel they should be sued for it and held liable. Taking away their basically sole source of income and blaming it on their comment section is flimsy doublespeak in my opinion. There is a similar effort within Google to try to demonetize Breitbart and other right-wing sites.

A higher claim to the truth is no justification at all for silencing dissent. IMO this is just another step in a growing and dangerous trend of politicized de-platforming which I find extremely worrisome.
The initial comparison was turboprops vs. turbojets, so switching the comparison to the undoubted complexities of internal combustion piston engines is beside the point.

The 'jet' engines used on oil pumps etc. are actually not jet engines: they are gas turbines in which an additional turbine or turbine stage is used to extract rotational power - in other words, they are more like turboprop engines than jet engines.

Nevertheless, I do disagree with the suggestion that turboprops are much less safe than turbojets, and I suspect that the author of that comment was confusing them with piston engines, which also (almost always) use propellers (increasingly, we are seeing turboprop singles replacing piston twins.) Finally, piston engines themselves have become much more reliable since the days when they were the only option.
Try Haskell, the ceiling is so high for the type system that you can spend a lot of time trying to golf an interface until you are happy that it is maximally elegant. Banal is better in some regards, hense Go. But it’s always a trade off where the extremes are pushing your boundaries and getting stuff done.
That's such a dumb way to paint. Great job!

Here's one: https://i.imgur.com/9efzWaC.png
One thing I'd love to see is a flag in GitHub so the news feed won't be filled with repos that I have already starred (so you only get to see new things). This is especially useful as I have starred over 13,000 repos so most repos I will see are starred already.

https://github.com/nikitavoloboev?tab=stars

And before anyone asks 'why star so many repos..', I do it for super fast access of repos I am fond of with https://github.com/lox/alfred-github-jump

Plus you can sort them nicely into categories later. (https://github.com/nikitavoloboev/github-stars)