skysight-inc/HackerNews huggingface dataset:
One of the biggest frustrations I've had after switching from Slack -> Teams is the lack of support for syntax highlighting or 'code snippets.' Also, I can search for past comments, etc.. but for some reason it doesn't take you back in time to view the context around them - it only shows you the exact search result.
> the insanity of Silicon Valley in Commiefornia

I'm glad your dream came true, but name-calling like this (regardless of who you're directing it at) will get you banned on HN. If you'd please read the site rules at https://news.ycombinator.com/newsguidelines.html and follow them when commenting here, we'd appreciate it.
I do see your statement regarding employment, but most people on earth can't afford a car so living closer to necessities saves them a multi hour walk in an increasingly warmer climate.
Your mom is a cellular automata.
It's worth remembering that Tom abused his role as a founder of GitHub and resigned.

http://www.businessinsider.com/github-harassment-story-2014-...

https://blog.github.com/2014-04-21-results-of-the-github-inv...
....coupled with the rumors of IOS APIs being added to MacOS

This part isn’t a rumor. It’s been confirmed by Apple.
That’s why I stopped programming in Java as a CS student. I actually really liked the language and the direction it’s going in but looking at the environment of most Java jobs, I thought it was probably not for me.

I went to Github’s trending page for a bunch of different languages and after looking at the projects there, I decided to fully invest myself into C++ instead because I felt like that’s where the most interesting projects were.
Maybe a bad way to decide your career path idk
How come straws aren't recyclable? Is that type of plastic unusable unusable in straws?
Somewhat tangential: One of the things I was most disappointed in when visiting Japan was discovering (at least in Tokyo, Kyoto etc.) that they don't really seem to have the concept of a public green space as it exists in Europe.

Instead most of these parks have fences around the grass, and you're not allowed to lie down there and hang out. Some are also "temples" and have guards that'll yell at you if you even sit down out of the way on some stairs for a second.

I live in Amsterdam, and in general I'd much prefer living in a smaller house with no yard of my own if there's a big park nearby, but in Japan I'm not so sure. If I can't use the park for anything worthwhile (lie in the sun, have a BBQ etc.) I'd rather just live in an American-style suburb with my own small yard.
No, this is definitely off topic because it is ideological flamebait and that leads to ideological flamewar, the last thing we want here.

Generic ideological tangents, and generic discussion generally, is off topic on HN. Its signal/noise ratio is too low.
Yes. UV laser cutters should be able to cut at least certain ceramics. Not certain about IR.
Gene Wolfe's The Book of the New Sun. A four-part science fantasy novel included in the Fantasy Masterworks series. Quote from The Guardian: "science fiction's Ulysses?"

I can also recommend J.G. Ballard. A well-known and venerated writer, but who seems under-read, especially in the U.S. I generally like his short stories and a few of his novels.
It's my understanding that the new 'sippy' lids are recyclable where as the straws are not. In the Lower Mainland (ie the Vancouver BC area including the Fraser Valley), the elimination of straws at most restaurants has been very quick and it's a bit strange to not get one!

I have somewhat sensitive teeth and kind of miss them, but I'll bring my own, probably reusable, if I start to feel strongly about it and right now you can get a straw if you ask for it (though I expect that will go away at some point).

Note also paper straws are a thing.
> If you've ever tried to contribute something to the Linux kernel you'd know it's not an easy process. They say that they want to "encourage new contributors to repeatedly contribute". So in this respect it is very different from the Linux kernel.

I have contributed a small 1-time change to the Linux kernel. It was relatively easy and straight forward; I sent my first patch to the wrong list, but the maintainers helpfully corrected me.

The difficult part is finding what to contribute, IMO.
Cititation needed for myself, but most of current plastic straws, even if they don’t look it, are recyclable.
Error causes most monsters in Old School Runescape to drop 2.147B gold
It also doesn't cite a source for its claim that most plastic in the oceans is microplastics, especially in the Garbage Patches. According to https://news.nationalgeographic.com/2018/03/great-pacific-ga... a majority of it is abandoned fishing gear. On the other hand, straws do pollute beaches. https://web.archive.org/web/20130813151717/http://www.oceanc...

There are a couple of decent points in the article though they are buried at the end. Disabled people are going to be at even more of a disadvantage if straws are not available. And a real cleanup might depend more on helping other countries with their waste disposal systems than on anything we can do ourselves.
More here: https://news.ycombinator.com/item?id=16131314
That is definitely the best out there. I'm hoping to write another about what our current stack is.
Do you have more details about the new accessibility option in High Sierra that allows you to turn on FFM? I can't seem to find it, both by looking at the Accessibility menu on my laptop or by googling. Thanks!
Apple Partnered with Blackmagic Design on an External GPU for MacBooks
> Effective code tends to put a lot of functionality behind a relatively small interface

Do you have actual strategies for reducing high surface-area:volume requirements into more easily managed low surface-area:volume code or is this just wishful thinking?

Nobody likes shim layers but they (and other horizontal strata) happen for a reason.
The point is simply that he set the pattern for this site.
> Microsoft at one stage had Linq to SQL which was quite good..... but they killed it :)

I think that might be like when rock stars die at 26 instead of hanging around long enough to become the subject of a VH1 "Where are they Now?" episode.

I was on a project that used LINQ to SQL long after Microsoft stopped development on it, and consequently fell out of love with it. The caching mechanism was flaky, and could cause really weird problems that manifested in non-obvious ways. Also, changing the database schema in a LINQ to SQL project could be a chore.

I ended up migrating us away from it and toward Dapper. We ended up bypassing it way too often to be able to straight-facedly claim it was saving us from having to understand SQL (if that was ever possible), It was the warts, but even more than that, it was the many situations where, to get the query right, we needed to use a recursive CTE, or a temp table, or a table-valued parameter, or any of the oodles of other things that are awkward or impossible with an ORM.
Add Functionality to Your Hugo Site with Theme Components
Oh; I missed the back and forth.

But he said he was done, because he no more time for language design, and he must study AI now.
This article is rather cranky and make two assumptions: 1) that plastic is often trashed, not recycled, and it assumes that we will never fix that. 2) exemptions will not be made for people with disabilities.

Also, would compostable straws be an option? (assuming they do not end up in the landfill, and only distributed on demand to reduce waste).

Fast food better fix itself, or we will end up demonizing the entire industry, for its abundance of litter all over the place and subsidizing the cleanup.
Yups. And making a whole datetime RFC part of the spec kind of broke with the "minimal" thing. But apart from that I totally prefer it over INF/YML/JSON/XML for many purposes.
UnlimitedAdsM
It's hard to really call that a "mistake" in the article, since the article mentions it. It says:

> The new lids are recyclable, while the plastic straws the company currently uses are not.

>

> This is cold comfort given the fact that even most of the stuff that is put in recycling bins

> still winds up at the dump. The company did not address, nor did it dispute, that its transition

> to strawless lids would increase its overall plastic consumption.

Not expressing a view about whether those follow-up claims are correct, just noticing that this wasn't a mistake/oversight by the article.
Freedesktop.org Spec – Secret Service API 0.2 Draft (2011)
Tech stocks returned maximum value to investors in last 5 years: BCG
Who cares? I don't use MacBook for any real work. Just for looks.
There are no such American cities.
No, I got it right.

Price was 50, tycoon shorts it down to 45, sovereign fund starts buying until it's back to 50 (let's say they got average price 48), now price is back to 50, yet tycoon is short and if he wants to exit his buying will push price to 52.

So he literally allowed the sovereign fund to buy the shares cheaper, and he paid the delta.

Of course, now price might go up or down, we don't know who ultimately wins.
you were using a 7 year old Laptop with a HDD in 2018 ? Some people don't seem to have any hardware requirements at all.. While i could tolerate a CPU from 2011, using it without an SSD feels so slow today, it's barely usable tbh. I switched to SSDs in 2009 in all my machines and never looked back, despite the price at the time.
Did they "ban" plastic straws, or did they simply stop using them? Maybe my idea of that word is too strict or not with the times.

I know, it doesn't make for an exciting headline. Though I would have liked the sound of "Starbucks doesn't want you to know about this technique for drinking your coffee."
Did the article not mention the lids are recyclable? The article I read did.
Note that HN, a top-1000 site in the US, runs on a single box via a single racket process.

"The key to performance is elegance, not battalions of special cases."
Sure, if you work at it full time you could be up to speed in a month, say 200 hours of work. That’s more than a casual investment of time if it’s on top of a full time job as well.

And if you go away from it and come back in 6 months or a year you’ll have to do it over again, some stuff you’ll forget if you don’t use and some stuff will have moved on.
If you showed me the sentence "If you call me a dickhead it's not a personal insult" removed from all context I would immediately know that it could only have been posted by a brain genius at Hacker News.
You need to load the app at first place. Launch Photoshop CC and check how much memory it takes. Then open a 200 MB psd.
> So we are literally at the dumbest, most intellectually feeble level of sentience required to get where we are, otherwise we'd have done it sooner.

I totally agree with you, and you have some interesting points. But, this is a subjective definition of “dumb” that is tautological. It ignores the possibility that it could have taken longer. For example, there are other sentient species on this planet for which it hasn’t happened yet.

You could also phrase what you said with the optimist’s glass-half-full phrasing: we are literally the smartest and most intellectually capable beings to get where we are, otherwise it would have taken longer.

Do you know of Sturgeon’s eponymous Law, “90% of everything is crap”? I didn’t realize at first (maybe because I’m dumb) that this isn’t a statement that things are bad. It’s a subjective and un-arguable proposed definition of what bad is. There’s a distribution of stuff, let’s just call the top 10% good and the bottom 90% crap. Sturgeon’s law applies to people as much as anything else.

> most of us are below that, because we get taken along for the ride by people who are at 1.0 or higher.

This thought has occurred to me before, and I think it’s super interesting to ponder. Today I’m not as sure as I once was that this paints an accurate picture of how progress works. History tends to over-inflate the importance of individual contributions and leave out the vast majority of context and help that luminary figures had. The progress we feel around us today takes immense commercial effort that involves uncountable numbers of people. The US launched first into modern computing because the political and economic conditions were right, not because we had more geniuses.

Perhaps it’s not the top sliver of civilization that is driving innovation at all, perhaps the it’s the average intelligence that hit a threshold, or perhaps it’s not much to do with intelligence but with economy and culture, or maybe it’s inevitable once written language happens. It’s hard to speculate about these things since we have no basis for comparison.
Indeed that is a brilliant resource for those of us with an interest in the hidden machinations of the warrior classes. Seriously deep info.
Even if they are trashed, does it even matter unless they make it into the ocean? It's not like any continent has a shortage on wasteland to build more landfills in.
Houston's graph is oriented like +, but the downtown grid in Houston should be represented like x.
They absolutely are not recyclable[0] [1]. Almost all curbside programs and most commercial programs will treat straws as "contaminants".

Plus they have additional problem of causing significant wildlife impact.

[0] - https://livegreen.recyclebank.com/because-you-asked-what-s-s...

[1] - https://earth911.com/home/food-beverage/recycling-mystery-pl...
v0.5.0 is a new release!

Changelog: https://github.com/toml-lang/toml/blob/master/CHANGELOG.md#0...
If Starbucks really cared about plastic in the environment, they would offer and encourage patrons to use glass cups when drinking inside the cafe, which can be washed.

Maybe even offer a 10 cent discount for using the glasses.
I could go on about the tidyverse and how relatively well thought out / researched the grammars are. For a "not a real programming language" the R community is doing some of the most useful and interesting DSL creation out there.

Dplyr is interesting, because not only does it present a conceptually consistent model for data manipulation, it also attempts to abstract details of the underlying (perhaps RDBMs) data storage. https://dplyr.tidyverse.org/

Dplyr thus begins to solve for two problems: The first is a functional way of describing complex data manipulation pipelines. The second is providing an easy way of dealing with mid-sized data (i.e. data that cannot fit in memory).

Even the Tidyverse HTTP request library, httr, did its homework. Since R was comparatively late to http requests party, that homework was largely a review of http convenience libraries in Python, Javascript, C (Curl), etc.
Best strategy is to shop around, many of these companies will match or exceed offers from the others, so you can get them to bid up significantly.
How do you quantify "sooner" on an evolutionary time scale?
I'm not sure there's a journalism outfit left without some degree of partisan bent.
Funnily, I find zoning regulations socialist. Just open it up and let the market take care of it. Enough with the nanny state.
Everyone seems to want to compare against MongoDB, but when I think NoSQL I think about Google Cloud Datastore and Amazon DynamoDB. Databases which are fully hosted, infinitely scalable, zero-maintenance, transactional, reliable, and - at least with Google's offering - scales down to a free tier. They aren't perfect or applicable in every situation, but they're cheap and easy enough to allow a one- or two-programmer team to achieve massive scale without hiring devops.

MemSQL is so expensive you have to call for a quote.

If it's just "the ability to scale" then sure, SQL is back on the menu. MemSQL, Spanner, CockroachDB are leading the charge and that's great! But you have to pay a pretty penny for it (in TCO). There's still a lot of value in a cheap fire-and-forget scalable database, and there are not currently any SQL options there.

Regarding schemaless: I think this is a divide between people who work in dynamic languages vs people who work in statically typed languages. Schemaless databases are just fine in languages like Java; your classes define the schema with enough rigidity to keep you out of trouble. They wouldn't be my choice for Javascript though, that's for sure.
Ask HN: What problems do some of the successful startups solve?
Most successful startups or products solve a problem.
It would seem intuitive that most people/users can explain the problem in one simple sentence, but many people can't or have different opinions.

How would you describe it for products like Uber, Spotify, Airbnb, Netflix, Bird or whatever you find interesting?

Examples
Tinder: It's awkward to approach and start a conversation with someone in public.

Expedia flights: It's too hard to find the cheapest ticket possible airline by airline.
Aigent is hiring AI Infrastructure Back end Engineers to change customer service
> I feel like a lot of the genuine warts on R come from trying to take it from something that could be (and originally was?) a set of macros on top of Scheme, and turn it into the OOP language du jour.

Well, R is based on S, which dates back to 1976. But R has lexical scoping, which is one of the big things it took from Scheme. If you're going to steal language features from Scheme, lexical scoping is at the top of the list.
I agree about the double bracket syntax however I don't think that is part of the specification any more, instead nested structures use a dot notation inside single brackets. Both solutions do still feel like a hack though, but the dot notation is definitely less ugly.

That all said, for flatter schema's I do personally think TOML is more readable than it's JSON, YAML and XML counterparts. If there is one thing I did like about Windows back when I used to run it, it was the syntax of INI files (which TOML was heavily influenced by).

Ultimately though, there is no perfect solution for all problems.
I thought they already do.

Edit: yep.

https://www.starbucks.com/responsibility/global-report/envir...
Yes, pick this one up. The Mind Illuminated is also a good one.
What Are the Highest Paying Programming Languages
Don't use credstash; we've had much pain with it. Many breaking changes not documented as such.

Move to AWS Parameter Store or AWS Secret Manager.
Here are some excellent books I have read in the past few weeks

1) How to change your mind
2) Bad Blood
3) Kitchen Confidential
4) I am a strange loop
5) The good mothers (about the ndrangheta)
6) Behave: The Biology of Humans at Our Best and Worst
It really isn't that hard to make custom shape tiles by hand using the average Joe tools but it's a long, precise and tedious process.
I kinda miss doing it with my step father blasting Chris Rhea on the stereo and slapping my head whenever I was "unattentive" and had a 1mm difference from the model, it isn't a huge difference but add it up to all the tiles and you can get a pretty messy job in the end...I miss those days.
I guess there's no way around that though, if you want dates to be first class members. Can't do "a bit of date".
Yes, you want to learn Java in 2018. It's still a go-to language in many corporations, though not super-glamorous. Even if you do not plan on taking on any such job in the near future, it's good to know it - at least cursory. Perhaps especially because it has similarities to languages like C# and Objective C, which are also corporate heavy languages (thought the former more than the latter). It might not be used in the next startup, but it's still one of the most important get-a-job language to know.
The title right now is:

>Researchers contest widely-accepted United Nations' predictions on urban population growth

Which is a pretty good description. About an hour ago, the title was:

>‘Everything we’ve heard about global urbanization turns out to be wrong’ - researchers

Which is ridiculous clickbait. Since your post is only a few minutes old, you're probably commenting on the new title, whereas others are commenting on the old title.
Their ability to maintain and defend those margins against established luxury car makers over time of course is severely in doubt.
I'm not going to say that you're wrong in any particular thing you said. You are correct that package signing would have prevented this exact issue we saw today, and I'm not opposed to an argument for defense in depth.

However, I am going to reiterate my original point with a bit of clarification: "it is not clear that package signing will prevent malicious actors from compromising systems using a language package manager with anything approaching the success of distro package managers".

I think what you're proposing amounts to a two-tier system. There is somehow a set of known signatures that are trusted by the npm consumer[0] and then a vast sea of untrusted signatures. Developers sometimes add libraries, and add one (or more?) signatures to their trusted set.

First, in the specific case of NPM, we have an existing system with huge numbers of transitive dependencies and no existing package signing. I don't see how you retrofit signing on to that system. Too many developers will ignore it, but also because there are so many libraries, you'll have an absolutely massive number of trusted keys.

Second, suppose you're starting from scratch, so you can enforce signatures from day one. You still have the problem of transitive dependencies. It's certainly more work for a malicious actor to either a) create legitimate libraries that will be included in other libraries, then convert them to malware, or b) steal a developer's signing keys, but neither one is remotely impossible, given the large number of libraries involved. You just need one part of that web of libraries to involve a sloppy or malicious developer, and you are hosed.

[0] Interesting question: how is this handled? Is it part of the lockfile for a project? Something system level, with the problems of devs installing random shit on their machines and ending up with too much being trusted, and also lack of reproducible builds?
[I'm a technical writer at Google working on Cloud documentation]

Thank you for the constructive comments regarding GCP and in particular documentation; we are working on addressing the points raised.

GCP has a dedicated tech writing team which is growing (we're hiring!) and the documentation is written by tech writers. We work with our colleagues in developer relations (developer advocates, developer programs engineers), UX and the software engineers who created the product.

All that said, we know our documentation is not perfect and are constantly working to improve. To that end if you see something that is broken/incorrect, please file a bug (the "SEND FEEDBACK" link in the top right of the documentation page is a bug submission form). We love to hear from users and I can assure you docs bugs do not get routed to /dev/null (we have a bug SLO, just like our SWE colleagues).

As a more general tech writing comment, documenting large, fast growing distributed systems such as public clouds is tricky. There's a lot more to documentation than just writing up instructions, such as thoughtful information architecture. It's a challenge that we, and I'm sure our counterparts at AWS et al., are grappling with.

As tech writers, we wince when we see errors in our work and feel pain when users are not able to enjoy the product/service as intended due to issues in documentation. The whole developer relations team (DAs, DPEs and tech writers) proactively try and catch these mistakes but of course, we miss some. It is nice to see users feel so passionately about documentation, so please let us know where we have made mistakes and we will fix them and try harder next time.
Latest script from egpu.io helped me get to pretty stable performance with 1080GTX:

https://egpu.io/forums/mac-setup/script-enable-egpu-on-tb1-2...