skysight-inc/HackerNews huggingface dataset:
I'm a graphics programmer myself. To be honest, my strategy for OpenGL-related resources is to allocate everything I'll ever need at program start and leak everything at program shutdown. It's simple and efficient and all copies are indeed shallow. However, if I was writing more generic code, I would probably make extensive use of movable but non-copyable containers for my OpenGL resources.

You're right that the RAII model sometimes feels a bit limiting for the complexity sometimes found in graphics, but I think part of that was self-inflected by our API design. That seems to be changing. The best-looking technique I've seen for handling Vulkan/DX12 is to make your program more like a compiler. You take a scene as input and you compile it into a command buffer to give the GPU. Your resource handling for stuff like texture slots thus looks more like register allocation. State shadowing is a trivial optimization pass when your GPU code is data.

The problem is that when you write RAII classes for GPU resources in the traditional way, C++ sees the GPU state through a tiny pinhole and thus can't optimize very well. When you treat your GPU commands as a program that your C++ program is building, you have more global information about GPU state available, which allows you to make more efficient choices.
Just to add a different kind of answer from atrocities (which most major countries have committed), the USSR was terrible because it collapsed and exists no longer.
As in?
I don’t think this is true so much as a programmer on his own works about 5-20x as fast as a team hindered by procedure, CYA and communication at every step.

The end result still depends on experience, but even the best programmers slow to a crawl when they work in an enterprise environment (obviously not always true, but as a general rule)
IP is almost irrelevant, it’s your browser that is the major fingerprint. How many browsers will have your exact user agent, screen resolution, plugins installed, platform, timezone, language...? As soon as you log on from a specific browser, that browser is now associated to you whether you stay logged in or not.

Look at amiunique.org or panopticlick.eff.org for more details.
If you're interested in WWII and film history, I recommend "Five Came Back" by Mark Harris.

"In Pictures at a Revolution, Mark Harris turned the story of the five movies nominated for Best Picture in 1967 into a landmark work of cultural history, a book about the transformation of an art form and the larger social shift it signified. In Five Came Back, he achieves something larger and even more remarkable, giving us the untold story of how Hollywood changed World War II, and how World War II changed Hollywood, through the prism of five film directors caught up in the war: John Ford, William Wyler, John Huston, Frank Capra, and George Stevens."

https://www.goodreads.com/book/show/18114047-five-came-back

Also made into an excellent, 3-part documentary:

https://instantwatcher.com/title/80060406
Off-topic, but at the bottom of the page there is this quote from Jay Walker at TED 2008:

> “It takes the energy in one lump of coal to move 1 MB of information across the net.”

I wonder if it's still true today, 10 years later.
Why did Alice want to know whether Bob knew if Carol was coming, but didn't want to know if Carol was coming? That seems like a weird thing to want to know.
I'm amused seeing these binary words-are-better/video-is-better anecdotes.

It depends on the context, the people creating the content and the people consuming the content. Sometimes video is better, sometimes text is better. It just depends.
Something I've never understood is why we don't hash the password on the client before sending it to the server, and again on the server. This prevents the server from knowing your password (assuming it's a good one) with no real drawbacks that I can see.
> I do consider strong typing mandatory. That was my problem with Ruby

What isn't strongly typed about Ruby?
In the US, socioeconomic mobility is way down, housing prices are up, insurance prices are up and wages have not kept up with inflation. We're lagging far behind some of our far-less-rich counterparts.

These are all facts solidly backed up through studies over the years.
Taking the idea further, wouldn't it be better to have a percentage of each building's apartments be affordable?
When I wanted to learn about (perhaps ironically) bookbinding, seeing videos about it was great. However, for quick reference back at how to (for example) tie a kettle stitch knot, a book is much quicker. Video is not as convenient for skimming or using in a random access manner, and search is definitely worse.

For learning something related to coding, I far prefer text to video, although that may be partly because it is easier to copy and paste into an editor so I can mess with it myself.
For me, I was taught how to learn from reading the course material, and then follow that up with a lecture. Eventually, I could even do away with the lecture. However, in the early 90s, there was a series I saw on PBS that was a visual course on physics. (I’m thinking a WGBH production, maybe WQED). After reading the material followed by the lecture, these videos really made things clear with their visual reinforcement that the classroom could never do.

Like everything in life, YMMV, and everyone learns differently.
“Writing about music is like dancing about architecture.”

- Martin Mull (https://quoteinvestigator.com/2010/11/08/writing-about-music...)
>> shell scripts for creating MongoDB instances...

_minified_ shell scripts
I thought the whole point of ensemble models is to reduce the variance
Oh, I think that was already clear before this. :)
I'm curious why Facebook chose to share the wrong metrics. What was the intent?
The issue of homelessness in SF is absolutely related to affordable housing and a lack of beds, the comparison NYC and LA are absolutely abysmal in that NYC has huge amounts of permanently affordable housing that it can use to house homeless people in that has a relatively low cost to maintain compared to having to acquire new land and build new buildings, and LA, which has an incredibly high street homeless population in the same way SF does.

Additionally, the total cost of homeless services is helping more people than the 7,500 that are let mentioned as it's really closer to 20,000 where many are in permanent supportive housing and aren't considered homeless but would be without the same type of support.

If you look at the cost per person when using the 20,000 number, the cost is still far lower than what it costs to keep a person in prison each year, where with the passing of Prop C, that number would get closer to said amount. Add on the fact that SF is one of the most expensive real estate markets in the would (where there isn't cheaper housing anywhere nearby), with a related high cost of labor, and the spending makes far more sense.
Yes you can. You just need to download the page and have SRI to serve the javascript. Of course it’s harder to update but now you’re emulating native apps and their “added” security
SSO Wall of Shame: vendors that treat SSO as luxury feature, not core security
I have the same qualifications as you. And the same struggle getting my foot in the door. I used Triplebyte and it was fantastic. If you can pass their interview it's worth doing.
Replace "Oregon" by "New Hampshire", and you can say the words with pride instead of sarcasm.
This may be true, or it may be that the "pivot to video" was the excuse they used for something they were going to do anyway.
> After 4 or 5 years of doing this you'll maybe know enough about how "everthing works" and what books says how to do what, or what company did what in what way, or the "state of the art", at that time you can start doing original contributions in order to not fall back.

For me personally, 5 years was the point at which you start to gain confidence, but still don't realize how much you really don't know. I see that in a lot of people too. Getting my CS degree, I was told I knew a lot more than my peers (and apparently more than some of the grad students...), and did better than most, but it wasn't really until a decade into my career that I would say I really started to "get it." That is after reading dozens and dozens of books, many hundreds of research papers, meetups, conferences (and later watching/listening through whole playlists of conference talks). You are always going to be an impostor somewhere, because there are always things you don't know. The best thing you can do is stop pretending that you know more than you do.
This is a very in depth report but unfortunately it is on data that is from Jan 2017, before when we started seeing the huge homeless encampments forming all over the place (I have lived in Oakland for 25 years, so only really know about changes there). It shows that the number of homeless people in SF has been about the same since 2013, so I'm not sure it is worth reading the 80 pages to try understand what has changed to make homelessness a much bigger problem recently.

2013=7,350
2015=7,539
2017=7,449

Too bad they don't do it every year. Another survey is due in Jan 2019, and maybe it can help us understand this new level of homelessness going on.
Smart money is always on the news media being #fakenews.
>> The goal is to lower the upper limit

No thanks. Any society that does that is not free or fair, it is hell.

You don't need socialism, that's a crazy stretch. All that's needed is proper guardrails and regulation to ensure safety and prosperity.
Ask HN: Which metadata WhatsApp has from users and groups?
WhatsApp just banned 100,000 Brazilian accounts: https://www.bloomberg.com/news/articles/2018-10-19/whatsapp-bans-more-than-100-000-accounts-in-brazil-election

This is a late response from WhatsApp. They are the main responsible for the easy spread of fake news in the current presidential elections: https://www.nytimes.com/2018/10/19/technology/whatsapp-brazil-presidential-election.html

Due to them, a extreme right candidate will be elected and Brazilian young democracy is in danger: https://www.economist.com/leaders/2018/09/20/jair-bolsonaro-latin-americas-latest-menace

I'd like to know what they know that allow them to ban these accounts.
The "simpler" ways are also easier to spoof. I'm talking more about things like malware, which tries very hard to avoid researchers analysing it inside a VM.

If software wants to know it's in a VM it'll always be able to tell, no matter the measures taken against it.

On the contrary, the VM is what the software is running on, and can always feed the software the answers it wants.
Yes there is: https://github.com/masmu/pulseaudio-dlna
The Shirky Principle: "Institutions will try to preserve the problem to which they are the solution"

https://en.wikipedia.org/wiki/Clay_Shirky#Shirky_principle
I think when companies give feedback it is a recruiter or HR person doing it, and they are more aware of what could be lawsuit bait. I think companies want to avoid having engineers give the feedback, but are ok having HR do it.
optimistic concurrency control https://www.eecs.harvard.edu/~htk/publication/1981-tods-kung...
After spending the last 10 months day trading, my gut tells me that it's probably the later case, where Bloomberg is doubling down, their journalistic verification processes would seem to be next to nothing at this point... not only Bloomberg, but many other "news" outlets.

I'm saying this because I've noticed quite a few 'hit' pieces, coming out of these "news" agencies that seem to have no other agenda than affecting the price of publicly traded stock in these companies.

One moment "this or that" is the worst possible thing that could happen to company A, and the next moment, it's just not as bad as everyone would have you believe... it's like they themselves want to push the stock price down so they can buy cheap shares, and then pump the price back up again so they can sell at a profit... strangest news cycles I've ever seen on this stuff... and it happens repeatedly all the time... analyst A at Financial Institution B "downgrades" stock X, and then sometime later comes a complete reversal...
Well, seeing the sorry state of housing development in the Bay Area, that does seem rather impressive to me...
Signing Your Apps for Gatekeeper
i like your idea a lot
Harvard’s Admissions Process, Once Secret, Is Unveiled in Federal Court
> I don't think it's merely boredom alone. Being bored / doing nothing at home doesn't feel the same way.

Back when I was in college, I used to go to raves and do drugs.

At some point, I started to chaperone my friends and I'd be the sober one, responsible for taking everyone home.

I noticed that there's definitely an "energy" that you feel in the room, even stone cold sober. Being surrounded by 2000 people who are high as a kite has a way of making you feel high... Even if you're stone cold sober.

I think there's something similar going on in offices. There's some kind of 'proximity effect' there.
It’s not silly if it’s done outside of browsers I’d say. But with browsers it's tricky to implement (and its where it would be useful)
Mainstream solar photovoltaic technology based on crystalline silicon cells has a few direct dependencies on fossil fuels:

- Coking coal makes up part of the furnace charge used to produce crude metallurgical silicon from silicon dioxide.

- Backsheets, encapsulant materials, and electrical insulation are made out of organic chemicals manufactured from oil and gas.

For the first part, I believe that charcoal produced from biomass can replace coking coal with only modest process changes. It has already been demonstrated on a small scale. One particularly interesting idea is to use charred rice hulls to make silicon: they already contain silica and carbon together, and are available in large quantities as a cheap byproduct of rice production.

For the second point, it is necessary to replace feedstock chemicals that currently come from fossils. One fairly general path is to hydrogenate carbon dioxide to methanol with electrolytic hydrogen. The methanol can be converted to simple olefins like propylene and ethylene, and from there a huge variety of plastics and polymers are further accessible. China is already operating methanol-to-olefins plants on a large scale; unfortunately, their methanol is produced largely from coal.

https://www.chemengonline.com/worlds-largest-single-train-me...

But the process from methanol is the same whether the methanol comes from coal or (like the Iceland methanol plant run by Carbon Recycling International) carbon dioxide and renewable energy:

https://www.frontiersin.org/articles/10.3389/fchem.2018.0044...

Solar also has the same incidental dependencies on fossil fuels as the rest of society -- e.g. the electricity to make the aluminum for module frames may have come from a coal fired plant, the ships that carry modules across oceans burn fuel oil, and so on. But these incidental dependencies are relatively small. A shipload of solar panels does not require more fuel oil to transport than a shipload of coal, but the shipload of solar panels will produce far more electricity before they are used up.
This provides no real defence against dictionary attacks; the attacker's work just doubles.
When I interviewed at Clearbit I got more or less the same response for probably more or less the same reason.

The only thing I didn’t like about it is that the requirements never said they were looking for ‘simple solution’.

Ah well.
Comcast gigabit cable ($105 with 1TB data cap) now available in 39 states
I would strongly disagree on the Bill Gates part. The early Microsoft compilers (yes, Microsoft started out as a compiler company) were by all accounts not that great. The really successful and technically impressive Microsoft projects have always been acquisitions. The technically best (or the only decent, depending on who you talk to) Microsoft product is SQL Server, which started out as a Sybase fork.
Zirconium and zirconium carbide are very different materials.
This doesn't prevent dictionary attacks, since there's no salt involved, AFAIK.
Makes me think of that buffy episode where they all suddenly sing
It's silly because as soon as you're doing something custom clientside, you might as well just use a PAKE.
Why we do conference talk dry runs
Do you think it’s really that hard to phish a defense contractor or hack them? Huge threat surface: mediocre OPSEC, lots of layers not involved but with access, and really bad SharePoint discipline. If I had to guess, most of their “cyber” is being sold, not used internally.

Why would you burn a hardware hack like that for plans?
HUGE MISTAKE, HUGE MISTAKE. I would like to retract, It's 503MB.

Still, I find that perfectly acceptable.

I went to Best Buy's website, and saw the best sold machines.

There's one that's really cheap ($229) and comes with 4GB's, definitively not a productivity machine.

Then there's an HP for $399 that comes with 8GB. Another for $100 more with 12GB.

I filtered out for laptops with more than 8GB, brand new (not refurbs), and you can get a 8GB complete machine for just $379.99, that's less than many popular phones out there (and I'm not talking about Apple products).

I get it, some people live in poor countries, I live in a relatively poor country (Portugal). And I know how this might sound like. But you are programming, you are not sheltering, feeding, or helping people. You are working for big $$$ corporations. Like any worker, you should ask for fees that at least cover your equipment costs.

Remember that 0.5GB is 6.25% of a modern computer's memory.

Back in the C64 days, you bought a 64KB machine for less $$$ in the 80's, than those computers today, and after boot up, and BASIC, and it only had 38911 bytes free out of the 65536 bytes. So, only 59% free.

Back when computers had 1MB of RAM (early 90's), anyone can point me, to an editor that only costed 62.5KB of RAM? I think I'm not going to find it... unless it's just notepad.exe.

Etc. etc. etc.

The problem is that people, for some reason, started to think they need a new phone, for leisure, every 2 years (in some richer countries, it's 12 months), and a new PC, a tool for work, only every 10 years. And that the phone can cost $1000 and it's okay, and the PC, cannot cost more than $500 or it's "overpriced". I think it's ridiculous.
That's not how the classification system works.
Btw, correct me if I'm wrong regarding extendable output hash functions: Keccak instances of SHAKE are XOF, which allow varying lengths of output hashes rather than fixed-sized output of the predefined SHA3 instances?
I think most linux distro's protection of certificate private keys is pretty weak (just storing a .pem file somewhere) and I can't say anything about OSX but on Windows you can prevent the private key from being disclosed even if the user wants to export it and enforce entering a password or PIN each time the certificate is used. Getting access to the physical hardware is about the only way to bypass the CryptoAPI, which is pretty far from 'any' client compromise.
Right, if you stick to 128 bit registers, you avoid most of the issues. Does that get you much benefit for a memcpy over an SSE implementation on a SKX CPU? I don't think so, but I haven't looked into that particular problem, so maybe I'm missing something obvious here.
Your second sentence does a great job of rebutting your first one ¯\(°_o)/¯
Market on a 10 year bull run with analysts saying another 1.5 to go before a correction. Now's the time I guess.

Somewhat related aside: these days when I do watch the markets for a few straight days, it seems macro trends largely rule over micro ones. Barring Super-Micro level bad news, everything goes in the same direction. Bizarre
Cleverly, I never asserted that this would “fix homelessness”, I only asked if anyone was interested in building housing for the homeless.

I see it more as an experiment in radical compassion (where it may only be “radical” because we lack more compassion). Perhaps it’s best to view it as setting an example.

Whatever you call it, I find it absurd that we are as wealthy as we are and yet we don’t build homes for the homeless. You may well be right. We could build homes for the homeless and find ourselves overrun with migrants looking for a cheap place to stay.

But so far, I see little direct work to help these people despite our extreme wealth. It’s disgraceful to me that we have all this wealth and are so unwilling to share it with those who truly need it. I want to find others who care enough to find a way to build a roof for those who would huddle under awnings.

You may be pleased to hear that I am a libertarian, and so I have no desire to force you to contribute. But I am also a socialist, and I believe we can build a better society if those of us born in to wealth help those who are less fortunate.

Surely you like that idea? Or should our society block out those who for one reason or another have no wealth for themselves?
Because then the hash of the password becomes equivalent to a password - a malicious actor that learns the hash of the password can just use that to log in to the service (since they can just choose to send it to the server).
No. Someone much less known.
Treating Autoimmune Disease with Lifestyle Change
It seems like there was a financial aspect to it after all:

https://www.sfchronicle.com/business/article/Dorsey-tweetsto...

From SFChronicle article:

Dorsey estimated that Square could pay an additional $20 million in taxes under Prop. C next year, while Benioff has said Salesforce would pay an additional $10 million, despite its larger size.

“Taxes would grow at rates multiple times our (adjusted) revenue, which no company can sustain,” Dorsey said in a tweet. “Not an issue for Salesforce/Twitter, but unfair to (Square) and (financial) startups.”
BTW: just found a news about it: https://www.forbes.com/sites/thomasbrewster/2017/01/22/whats...
I’ve been in and around the commercial spot industry for most of my employable life. I’ve seen the rise & fall of production work due to the lower cost to entry to professional quality gear and the bottom falling out in ‘08. TV ad sales have never gone away though. The production budgets fell, but not the ad buys. There now exists video productions solely for online, and it will never see TV. From my conversations with these agencies, online ad click through rates are still a drop in the bucket from their TV presence. How they justify this I don’t know, and I know that’s supposed to be a huge selling point of online advertising.

Does that mean video is more effective than text?? Depends on your agency I guess, or maybe depends on the campaign.
Talking gibberish is also one of the first symptoms of stroke, but that's well-known.
> No they don't. This is not true.

That is literally what QALY is.

> Find just one single medication that i) extends life by 5 years ii) costs just £10,000 per year and iii) has been banned.

It seems like you don't understand how coverage works for cancer treatment. The question isn't whether the medication is banned outright - it's whether it will be approved to be used for a specific patient in their treatment plan (paid for by the NHS).