skysight-inc/HackerNews huggingface dataset:
My favorite elegant and trivial algorithm has always been merge sort as it looks in Lisp/Scheme. My favorite messy algorithm is simulated annealing for its intuitive sledge-hammer approach. In graphics I like some off-screen rendering methods which are elegantly simple in applying brute-force to use the whole frame buffer as a lookup table.

For object picking (determining what the user clicked on) in a complex visualization, it is often easiest to draw all objects with a simple color-mapping renderer which follows the same occlusion rules as your visualization but renders each object as a solid blob in a distinct color. You draw the scene, look at the pixel color under the mouse, and use the color as an index into the table of objects.

For ray-cast volume rendering, you have a problem somewhat like object picking but you have to solve it simultaneously for all pixels in the rendered scene. You have to determine the ray intersections of each pixel's perspective through your volumetric data grid, so you can run a sampling loop to integrate the 3D scalar field values along that ray. When your grid has a simple cube/box shape, you can render a polygonized box with the viewing perspective and trivially color-map it so each surface of the box has an RGB value encoding its XYZ volume coordinates. Your volumetric pixel shader, running on the GPU, can then independently lookup these XYZ positions out of screen-sized buffers to determine the start and end positions for each screen pixel's ray integration loops as 3D texture coordinates.
http://archive.is/MYLmJ
I think this is the biggest problem. If there are a lot of bad actors, you drag down the whole system, but if you try to prevent bad actors you run into a lot of issues.

A hard problem, and I don't envy anyone trying to solve it.
Outline – Read Without Clutter
4 hours of sleep doesn't do anyone any good.
I think it's the former; you can't host any site that is supposed to be accessed by the general public, only something like a control panel for your NAS or security system or such.

This serves to protect them technically (residential systems are not designed to withstand a large number of inbound requests), legally (you can't sue them for failing to serve your site) and of course to promote their more expensive business lines.
Honestly, I would rather see it as a paid add-on to something like a synology or qnap..
There also is Armpit Scheme that is targeting single board computers

http://armpit.sourceforge.net/
Your personal experience is not the only correct one. I assure you that the people coming before you, making their own computers out of chips and resistors with a soldering iron, would say the same thing about you. And people who grew up with Windows 98 say the same thing about people only exposed to iOS and Android, and so on.
Im american, talking about american politics and american companies on an american website based in my home area of silicon valley... i dont think i should be required to think "i wonder how non americans will take this comment" especially given that my expectation of those on HN as being a bit more sophisticated than pedestrian, so im not going to prefilter in that regard.
That's interesting, I went to Canada with my Mom and sister one time when they were visiting. My sister had a felony from when she was under 18 and it was also expunged or whatever the term.

We had to sit for about an hour and she had to go through a bunch of questioning but eventually they let us all through.

Every time tho I've had my car searched, it's too much of a hassle really to bother with going up there anymore for me personally.
Better yet, have the Federal Government exit the student loans business completely. I don't want my tax dollars used in this way.
> as long as that person has the means to do so without any loans

Which is true for very, very few of the people actually going to college. Which means your advice is essentially "no" for the vast majority of people who would ask.
Sounds to me like we should ban sharing outright.

If you can't deal with "the SF public", then you have no place living in SF.
Would also throw https://www.carbondesignsystem.com/ into the mix! We're the design system for IBM :)
You seem to be conflating "private" and "for-profit." Most private schools that are considered respectable are non-profits (at least on paper). When someone says "for-profit college," they mean diploma mills.
Are we sure that "jobs created" is something to be proud of? Fewer jobs is generally better.

I'd rather see how many jobs they've eliminated, but that's probably hard to calculate.

Or maybe value per employee. The fewer employees, the higher the number.
I really feel like the underlying problem is we expect people to be adverse to purchases that will be a net loss. Unfortunately, "shopping" for higher education is extremely confusing and to make matters worse your lender is guaranteed to be paid. So we have created an environment where people who are the most vulnerable are being taken advantage of. We need to find a way to better protect people from making terrible six-figure investments, whether that is through legislation or education something has to change. Even if there was a website that scraped data from LinkedIn to show where people from higher education institutions get hired and what positions they get would massively help consumers not make bad investments. I would have never paid the money for my degree knowing what I know now.
From that EU URL (thanks):
"The Commission decision concludes that Google is dominant in the markets for general internet search services, licensable smart mobile operating systems and app stores for the Android mobile operating system."

Then the rest of the document disappoints me, bitterly, for this reason: If I want to sell devices that host Android under Linux (or just offer both) can I do that? No. Not even under Google's new rules so far as I can tell.
This is from 2017 and it didn't work.
Not only remote work but also just working less in general. I don’t see why we as a sosciety can’t go to working 4 or even 3 days a week and still maintain the same standards of living. Or even improving those standards.
Elementary OS Juno Review
My cynical side thinks of this as the Guardian teeing up page views for yet another round of arguing about Coulter.

IMO the Guardian is making moderate 'liberals' look like idiots a lot of the time with their endless parade of absurd articles. They occupy an important space in the media world and they are not making good use of it at all, they could do a lot better at raising the quality of their articles.

'The audience explodes, clapping wildly, shrieking in laughter, heads thrown back like hyenas at the site of a kill'

Seriously?!
Further, this fact sheet should be accessible through an API, rolled up per company, person, and family, and exposed through easy to use applications so anyone could easily know the environmental footprint of any entity.

Awareness is the first step to solving any problem, and measurement and reporting would facilitate this. Perhaps we need more draconian laws that would force this on all corporations and individuals, considering the dire consequences.
Tailwheel Landings, Lore and Lies
It's a shame what happened to the circus. Is anyone here affiliated with one? I'd love to hear some personal anecdotes.
That sounds well and good, but I am afraid will just lead to extending bureaucracy of K-12 education (on average horrible quality, outrageously expensive to the taxpayer) to universities.

US has generally good universities (expensive, but good) precisely because public schools have to compete with private ones on quality and private ones must compete with public ones on cost. Take that competition away (and this proposal will wipe out private universities) and the quality will quickly suffer.

I would much rather gov't required uniform transparency for all accredited public and private schools: acceptance rates; total sticker price, median actuals after scholarchips (so you can compare your "20k scholarship/65k tuition" package to averages); graduation rates; average debt at graduation; first and expected 10-year earnings; etc.

Inform, not restrict. My 2c.
HTTPie is a great tool for testing API and stuff.
I love it, I've also started using an Electron GUI app similar to HTTPie that works pretty well as well.

- https://insomnia.rest/
This doesn't fix the problem because it only works for a small number of people who understand how to do this. The OP is about the difficulty for the provider to have a system that is secure but that doesn't confuse users.

In many cases, asking a user, "do you want to disable all password resets ever on this account?" you might as well ask, "blah, blah, blah" because a load of people won't know what it means and the semi-technical folk will not understand it well enough - basically goodbye registrations.
Will the United Kingdom Officially Exit the European Union by March 29?
What is a site reliability engineer and why you should consider this career path
I need all negative reports about it :)

Was kratom causing craving and crippled life ? (basically searching for drug and then high, {loop}). If 2000$ kratom gives you a normal life it "may" be worth the price.
wouldn't that be postfix and a caldav server?
> The API was abandoned months or years ago but they were still taking people's money for it.

So, you put months of work into a project, using an API that you knew was abandoned? And it's anybody's fault other than you own?
Rocket Internet is a Berlin-based incubator that has given birth to Zalando, valued at $4.5 billion.
Here's a crazy idea: the environmental fact sheet should be the price tag. Price the environmental impact of a product into the product.
Agreed. I don't see how this is any different from a regular email server, with a local client that pulls emails over IMAP and deletes them remotely.
SSS is one of my favorites because it takes concepts I learned from basic algebra, transliterates then to finite fields, and turns them directly into industrial-grade crypto.
College is very inexpensive but you must major in a degree that teaches you strong technical skills or at a school that signals that you are highly intelligent and socially adept.
Racking up debt with out of state tuition at some unprestigious state school is a horrific idea. Loans should be priced according to the true risk presented by the loan recipient. Majoring in CS at Stanford should be very low risk, majoring in Sociology at Iowa State should be high risk. Free tuition just provides a job subsidy to professors in unscientific fields of dubious value. Liberal artists are royally screwed unless they graduate from Princeton or a similarly notable school.

Most schools should probably just close.
What, you expect me to live without a $1,500 iPhone!?
Look carefully at the number of jobs created. Some companies have less than 100 employees with >100 million valuation. I believe that Heroku had just 40. It’s amazing how small these teams are and what they are able to achieve.
The gradual decline of the fade-out in popular music (2014)
Fisher-Yates shuffle. An elegant and surprisingly intuitive O(n) algorithm that doesn't take up extra memory.
If it was my kid, I'd use any single board computer or an old laptop (pro: integrated keyboard and screen, e.g. Dell D630), and install a Linux that boots straight into QB64: https://www.qb64.org/

I didn't test if it runs in pure Linux text mode, but if possible that's what I'd use.
You cannot proceed through life without making some people unhappy.

Even in the most charitable interpretation, assuming that everyone you encounter is benevolent, intelligent and knowledgeable - views will differ and upset will occur.

That's the limiting case. The real world is quite a bit worse than that.

Ignore distraction.
We're not disagreeing here, except I'd argue most people DO in fact still think (incorrectly) that fat makes you fat.

Have you measured blood sugar after ingesting bread, and compared it to ingesting pure sugar? It might surprise you to know that a typical serving of bread will cause your blood sugar to spike MORE than even a very large amount of sugar.
YC usually takes 7% for $150k in funding. You can read more about the Y Combinator Deal here https://www.ycombinator.com/deal
My company offers 'scholarships' to devry. Most of our work force is earning just barely above minimum wage and I shake my head everytime HR promotes the scholarships and discounts to devry as a benefit.
The main problem is that if you are thinking of getting a job in the U.S., many employers don't have the experience in rating non-U.S. degrees, so will view them with suspicion at best. My wife had this experience when she tried to get jobs based on her Eastern-European degree (from a very reputable University there).

That being said, we definitely are keeping that in mind for our kids (though we are financially planning for school here).
When I went to https://privacy.apple.com/, I could only correct the info tied to my Apple ID, or access my purchase history. No option to download anything. Maybe that's not the right link?
> Obviously, the general public doesn't want to fly with pilots that are high in more than one way.

To hear my uncle tell it, I've got some _really_ bad news for Canadians about the prevalence of alcoholism amongst pilots.

According to him, something like 1/8th of them are some level of drunk while flying.
I worked at Google for close to 10 years. I resigned when I had made enough money to retire comfortably (for the next 40 years) in a European city.

The first two years were enjoyable but then it started going downhill, fast. Some close friends and co-workers had major implosions on the job and I was burned out. Once I realized that Google would suck me dry if I let it and that reality was completely different to the expectations I had going in, I found ways to drastically reduce the number of hours I actually worked and spent the rest (company time) doing things that contributed to my self-development (side projects and reading books, mostly).

I spent the last ~5 years doing no more than two hours of actual work per day. Needless to say, these were some of the best, most carefree years of my life. My mind rebounded and it felt great knowing that I was screwing the company that only viewed me as a commodity whilst getting paid top dollar.
I am pretty sure I wasn't the only one doing it, either.
Sigh..another one of these "X is about to get worse/is a crisis" type articles

The media has been predicting this since 2012 and yet it refuses to pop. So maybe it's not a bubble, or if it is, the media really sucks at trying to time these things and should stop trying.

https://www.google.com/search?q=student+loan+crisis+bubble&s...

A lot of the debt is secured by the fed govt. Only 8% student loan debt is private.

Second, despite all the doom and gloom over student loan debt and grads not finding good jobs and , a college degree still has a good ROI in terms of higher wages, lower unemployment, and higher lifetimes wealth, versus having no degree. In spite of all the anti-college rhetoric in recent years promoted by the likes of James Altucher and others, this gap has only widened since 2009 in the aftermath of the recession and shows no signs of narrowing.

https://qph.fs.quoracdn.net/main-qimg-c093e2248a8c4bc6902d9b...

https://img.huffingtonpost.com/asset/5772d5ea1800001a00fa2e5...

http://greyenlightenment.com/advice-that-you-should-ignore/

Real wages for non-graduates have plunged since 2008
Sorry, I have usernames for these, but not links to where they were.

"Play stupid games, win stupid prizes." - Nicholas_C

"We're all on mushrooms, you've just been drinking tequila all night - that means you get to fix the flamethrower..." - bigiaian

"You've got to be a twit to believe Twitter." - hardworkforyou

"Nothing is as dumb as being too smart." - bonesss

"Advice is free, until you take it." - em0ney

"Any sufficiently advanced incompetence is indistinguishable from malice." - philipov
It might be fixable, just too subtle and deep to fix itself on its own. The mind is vast.
I have no issue with Elementary OS, but whoever wants to try EOS should try Arco Linux as well (and I have to say that I'm not using Arco Linux). Arco Linux is a rolling distro based on Arch Linux, uses Arch Linux repositories and AUR (not like Manjaro using its own repositories).
They are weaseling: they mean more choice than Apple-thats-it, which was briefly the case. Having to refer to so ancient and obsolete a virtue is damning in itself, I agree.
Decorator is a powerful design pattern when applied to Object Thinking.
The real problem is both main stream political parties don't represent around 45% of the country.

First Past The Post Voting- https://www.youtube.com/watch?v=s7tWHJfhiyo

Range Voting- https://www.youtube.com/watch?v=e3GFG0sXIig

Single Transferable Vote - https://www.youtube.com/watch?v=l8XOZJkozfI

Alternative Vote - https://www.youtube.com/watch?v=3Y3jE3B8HsE

Mixed-Member Proportional Representation -https://www.youtube.com/watch?v=QT0I-sdoSXU
That's an absurd claim. It doesn't have to be incentivized through block rewards, but rather through multiple governments passing laws that they submit a certain amount of mining power. The hash rate could be orders of magnitude less than the current Bitcoin hash rate and still be secure against transactional fraud.

In fact it doesn't even need to be proof of work based, as long as all entities permitted to operate on the chain are known.
Until the SEC strips his supervoting rights as part of the settlement for some scandal.
Not because it's near SFO, but because it's near the Pacific Ocean. They consider that a border. https://www.citylab.com/equity/2018/05/who-lives-in-border-p...
For those of us who grew up in the 8-bit era, this has a lot of appeal since that's how we got engaged. But for most kids today, is this sort of ab initio approach really the right way to go about it? Based on my experience with a few different types of kids/personalities, I'm skeptical.

Dropping them into the command line / IDE of any language / environment is likely to leave them both unimpressed and lost. Neither the Raspberry Pi (more software oriented) or Arduino (more hardware oriented) is going to be terribly impressive from a standalone point of view compared to the PC/iPhone/XBox they're used to. But the thing they've got going for them are a lot of cool projects other people have done with them, step-by-step tutorials, and pre-built stuff that's relatively easy to re-create and/or integrate. Will the 8-bit recreation you have in mind have any of that?
I get this feeling sometimes too. But I realize that lots of people are living a spartan existence and still not making a dent in their loans.

I think we have to consider what's best for society. Having so many people living the first half of their working lives buried under tens of thousands of dollars in debt is going to hurt all of us, even those who were "responsible" with their loans. Too many important jobs in society require lots of education but don't pay well enough to actually cover living expenses and loans. Think counselors, educators, even nursing is moving in this direction.

We need to bite the bullet and help these people, otherwise, we will all suffer the consequences. These jobs will go unfilled, people will be homeless or living in poor conditions, and it will be future generations that bear the costs from this.
Another aspect that's troubling is the new, revisionist notion that nobody could have known that so many degrees would be worthless (in market terms) and that kids were tricked into studying worthless (in market terms) subjects without realizing they'd be worthless (in market terms).

This is maddening nonsense.

I started college in 1999. Jokes about English majors asking if you want fries with that were mainstream when I was in grade school. There isn't a single person who has attended college in the last 40 years who didn't have enough information available to make better decisions (in market terms) about what to study. Kids will be kids and they'll make bad decisions. Fine. But there's nothing new here (except that, obviously, the consequences of those bad decisions get larger as costs rise).
I have strong mixed feelings about the student loan situation.

First I don't think you should have to incur a huge amount of debt to go to school, it's terrible.

At the same time I worked with a lot of students at a past job where we did internships and gave them experience and I was kind of shocked by their attitude about them, mostly by how much a victim they were of it all... while incurring more and more debt.

There was very much what I interpreted as a sort of "I was told I'd make a ton of money if I did X, and so I had to take out all these loans, and this sucks.". The level of victimization they felt was immense, like they had no choice but to sign on the dotted line.... and yet here were many of them seemingly choosing to keep at it incurring debt, not really curious about any other options / didn't want to do anything else. Many straight up didn't even have a job / many never had one ... this was kinda surprising to me as I never stopped working during school (to be clear I'm not saying anyone has to do it my way).

There was another attitude that they felt life was like "If I push button X" (that would be go to school) "Then I get Y" (job, money, etc) and if it didn't work that easily then it was just terrible.

Something needs to be done about the situation over all but it strikes me that many students perspective is way off as far as how the world works career wise (it's not push button get thing for most of us) and while they seem to feel they are victims... they also dive head long into the situation / debt and many don't acknowledge their own participation .... I worry that if participants aren't "participating" (with finances and even career) not much will change.
So, this is a bit of a shameless plug, but also relevant. My wife won an award for her fictionalized/fantasy account of the writing of TMaM, and it illuminates the context for the work. You might enjoy it.

http://centerforfiction.org/awards/the-first-novel-prize/201...
Not far from the truth. Recently started working with a former Googler, and almost every sentence starts with, "well at Google, we..." Well that's great, but you realize we're in an entirely different market and business model, right?
Wow, basically all of the valuation is generated by the top 10 companies. 81% from the top 5, 95% from the top 10. I guess this explains VC strategy somewhat: if you're not trying to become a unicorn, you're worthless to the VC.

I wish there was more data supporting the idea of making small, long-term businesses, but it really seems like the big money is all in going for unicorn status. Which is a shame, because I think this drives some of the problem behaviors you see in SV.
Someone else referenced wikipedia on methane in the thread somewhere. Surprised me, too.

For cattle, got the numbers from the industry, which doesn't seem to have a particular agenda in this link... http://beef2live.com/story-world-cattle-inventory-year-0-111...
Why?

I don't disagree, but if you're saying a change needs to be made I think the onus on you is to propose what the change should be and why it would be beneficial overall.
Ask HN: Magnesium L-Threonate – what has been your experience?
Has anyone here been taking Magnesium L-Threonate as a supplement? What has been your experience? How long have you been taking it for and how much? What was it like before you started taking it, while you were on it, and after you stopped taking it if you did?
It's easier to convince someone that it's securely 'theirs' with hardware than if it seems like just another cloud email service?
What do you feel are the gaps in your education? Do you think taking an online course would help with them?

I suggest learning a little about data structures and algorithms, each are typically one semester courses in undergrad. You might supplement it with operating systems and distributed computing, though data structures should be a primary focus.