skysight-inc/HackerNews huggingface dataset:
777 is also a number. I understood it sa they received 776 + 1 orders, although yes ironic.
Guys if you haven’t read a study about homelessness you are constitutionally obligated to be delighted by their presence and you can’t be annoyed that you live in the highest taxed area of the United States and no one has fucking fixed the God damned problem or is even trying.

In fact we should all team up and go around the city bronzing all the turds they leave on the fucking sidewalk.
You make an excellent and fair point if it stops at this. The problem starts when the successful business starts to take advantage of loopholes with their wealth(lobbying, offshoring income, jobs) to advance their ability to make profit at the expense of the labor that doesn't have this ability. So although the pact seems equitable in the beginning- it breaks down one side take unfair advantage of their position. German labor is an example of where the workers have managed to gain from the productivity of the companies mostly through organized labor but also because the companies realize its better to share the wealth. Hence- I'm only guessing we don't see super-rich German billionaires.
Where is the link?
Because we're social creatures and we like to belittle out-groups to make ourselves feel special?
I assumed it was a YouTube embed, but it wouldn't load because I don't have flash. I guess I'll never get to see this guy's amazing presentation.
You've missed a few major reasons as to why the industry is like this. Let me explain:

1. We don't re-invent everything, but the hardware keeps getting better and we want to take advantage of it. To do so requires rewriting large portions of code. It is only because the basic hardware capabilities everyone has these days are pretty good, that using an engine not designed for your game has become so much more viable. Previously you'd build the engine to fit the game in order to get the performance you expect.

Shader's for example went through a massive upheaval when we changed from fixed function to custom, and now compute shaders have changed things again. Additionally there are always new algorithms presented each year which produce better results, which we must have!

2. Code that works well in an event based system does not necessarily work well when you are running it 60 times a second. This is why companies sometimes go in and replace standard functionality. We don't want to, but to get the speed everyone expects, we have to.

3. Models, textures, animations, dialog and so on are data, which the computer doesn't really understand. Where we see a person it sees a triangle mesh, or where we see signs of a bloody battle it just sees red pixels. This semantic mismatch is the biggest problem in the industry today, and makes re-usability incredibly hard. Manpower is usually the only way to overcome this, with people spending months on a single character model. Additionally better tools are always welcome but the industry has stalemated a bit in this regard.

Generally animation is still best imported from real life, EA for example have an entire building devoted to just motion capture [1] with over 100 cameras.

4. Many old games are still available on GOG and other websites, so these companies still make money from them which likely influences their decision to not release source code. Console games also are restricted by proprietary console-only APIs.

[1] http://www.capturelab.com/about-us
From the OS point of view it should be pretty obvious when massive number of files are suddenly being re-written.

Maybe the OS could put a dialog up, along the line "Excuse me, I've noticed that a large number of files are being modified/deleted. This could be an active attack going on. Do you know about this, is this something that you are trying to do?"

Of course, malware will fight back by maybe encrypting only the file-system index (like some recent one does), or by slowly encrypting files over a period.

But still, changing large number of user files should be noticeable.
Such tight structures might be difficult to parse when the patterns used are still relatively unknown. However, once applied more widely, read more often and more familiar, you might start to think the longer version (which undoubtedly relies on ambiguous naming) becomes unreadable.

Said in other words: 15 line solutions cannot break into the higher-order pattern-recognition space, since these solutions rely on context specific naming.

Naming is one of the most difficult parts of software engineering, so we should try to rely on contextual patterns in order to minimize naming altogether.
At the moment, nothing in a browser is direct access. Everything is abstracted, which includes the filesystem and geolocation. This provides a layer of security against massive horrible bugs in the OS. With WebUSB there seems to be very little abstracting, all the values you pass to it are then sent on to the device. Small bugs once protected by numerous layers of security usually requiring superuser abilities are now made massive as they are connected to one of the largest fuzzers there is, the internet.
"corals will be devastated, and that means really bad things for us and our children"

What "really bad things" would you or your children suffer, should all the corals suddenly become sentient and beam into outer space? Just curious.
The TextExpander Maelstrom and the Monthly Welfare Stream
I'm having certain difficulties with the use of 'plenty' in relation to Ferraris.
Disagree. The main reason we abandoned a/b testing is it's a major resource drain. Getting better at a/b testing would be another resource drain. Time is finite & how you use it determines where you end up.

The point of the article isn't to say a/b testing doesn't work or shoudn't be done. It's simply to say many companies are mis-using their resources by following the standard thinking on a/b testing.

We could spend another month figuring out how to get better at a/b testing or we could spend our time on another activity that produces a higher return on time spent. It turns out that's what we did and the return has been much better.
Nitrous oxide and Methane both break down in the atmosphere. If we where starting from zero then sure they would both have a large impact but they are both in sufficient quantities that lot's of them are breaking down making the future contribution have a negotiable net effect.
Most people will never in their life spend a year on fixing homelessness.
Agree completely. :)
The term "politically correct" means following and believing a view that is in the majority of your area. I disagree with political dogma from both ends of the spectrum, and people hold various beliefs without ever really thinking of why they have them.

In relation to the article, I agree that America is capitalist, and I don't have any issue with gentrification and forcing out poor people from an area that becomes expensive. What drives me nuts is that people accept that they need to move to SF, NYC, Boston, etc. in order to get the job they want, but you are morally obligated to feel bad about doing it, and pay lip service to the people you forced out. If you really agreed with this, you wouldn't have moved in! I think it's the hypocrisy that drives me bananas.
I.be seen studies, and found it works well for me, that the ideal is to only eat once a day, at diner time of your destination. I don't always manage to do it during travel but do it for 2 or 3 days once I've arrived.
You might find this interesting, Mozilla is working on an ambient light sensor API. https://developer.mozilla.org/en-US/docs/Web/API/DeviceLight...
It could also encourage more people to have offline backup solutions. Ransomware is a minor inconvenience when you can just restore from a clean backup in a few minutes.
Nothing says "I love you" more than malware persistently embedded in your USB devices.

Here's how hardware teams work (in my experience)

----

Manager: "Hmmm... we need firmware. Hey, who can update the USB stack for the next version of our USB toaster?"

Team: shrug

Manager: "Figby! Don't you do Arduino stuff on the weekends? You do it. Be done next Friday."

Figby: "Meep?"

USB is hard enough to get working properly, now you need to add "resistance to attack from the host" to the feature set. Figby is in trouble because he's being crushed under four rocks now:

1. USB is hard to get working. The standard is pretty complicated, and speaking frankly here, the device class standards are pretty badly fucked up. Camel-by-committee class bad. You spend a lot of time getting edge cases to work. (Don't get me started on DFU, OMFG).

2. Figby probably has a bunch of legacy to deal with. If the USB stack he's working with started from a fine commercial framework, he's better off. But he's likely working with something horrible hatched by a former semi-hardware guy a while ago, who was fired because six months into the prior version of the project, management finally realized he could barely spell 'C'. Oh, and the code makes liberal use of #define, and the source doesn't use curly braces, but DO..OD and WHILE..ELIHW, and there is deep, deep misunderstanding of what 'volatile' actually does.

3. Figby also has to work with the host driver team. If they are not actively hiding from the hardware team they are either on the wrong side of the planet, or have absolutely no time to devote to USB issues. The new driver will arrive about three days after Fibgy's "golden master" date.

4. Figby has no time. Everything is feature work. If there are security bugs in the code (... and there are) they have been ignored or deferred as "won't fix" for several product versions. If there are security reviews, they are cursory check-off meetings where people who don't know anything about security make collective shrugs around bugs that are embedded in the product at the level of DNA. The code is swiss-cheese and would take months to make a dent in. Besides, this is a hardware company; isn't the OS supposed to keep us safe?

... now this WebUSB thing lands on Figby's plate. "Marketing really really wants this feature so they can add another checkbox to the package." What are the chances that Figby's going to fix security issues in the product before just turning the thing on for the whole internet to see? Because Friday.

Figby adds command handlers and descriptors for WebUSB. He'll get to the security stuff later, when the rest of everything else works.

Yeah.

This is a horrible idea.
Not affiliated, but I subscribed to Stephen Grider's courses on Udemy and I'm quite happy with those.
I was thinking of a small amount to protect supercritical components; navigation computers, comms, life support (if applicable); not necessarily the entire spacecraft.
Fertilisers and fuel did not come from the air. There are hundreds of millions of cows (and other livestock) that did not exist before. Landscapes have been sterilised to support them with a massive resulting freeing of previously captured carbon, or carbon trapped in a slow cycle. Methane from ruminants are a significant source of CO2 and are not easily recaptured, not to mention a potent greenhouse gas.
I want a Trump presidency, because to hell with your feelings
I think many may take your response as a bit off-the-cuff, but I share this sentiment. You could even go so far as to write the longest C program you could dream of to solve it, then simply feed it into

tr -d '\n'

and call it one line! Again, many will find this pedantic and unsatisfactory but programmers should really be more precise in what they mean by lines of code.

What I think most people are really referring to is information content. To achieve the same program in shorter length, the rest of the information has to lie somewhere else (in the scala implementation or nqeensolver.h). We can increase the density of the information needed to specify a program, but not decrease it.

I actually just wrote something about this concept yesterday:

https://aconz2.github.io/programming/2016/04/09/power_of_pl....
I think though that this makes a difference from the criminal's point of view. Performing the operation without threatening the driver makes it theft instead of robbery (?), which is significantly less serious from a legal point of view.
I couldn't continue reading this article after the third popup on mobile. Idiotic site design.
How to Bring Prosperity to Iran
If you want to get serious about solving queens fast here's an x86 assembly implementation from 1995 - https://github.com/dblock/reines :)
It's no secret that Guido has a little bit of a distaste for functional paradigms. From the man himself:

"About 12 years ago, Python aquired lambda, reduce(), filter() and map(), courtesy of (I believe) a Lisp hacker who missed them and submitted working patches. But, despite of the PR value, I think these features should be cut from Python 3000."

http://www.artima.com/weblogs/viewpost.jsp?thread=98196
£26 for Domino's. Sounds like he got bent over pretty hard. I can't imagine spending ~$37 on fantastic pizza, much less Domino's.
At some stage, people may welcome a man-made catastrophe, such as a nuclear holocaust that removes a percentage of humanity such that the remaining percentage may survive.

(I live in the southern hemisphere, so for selfish reasons I'd prefer this apocalypse to take place in the northern hemisphere).
Sure, but in the article (and your metaphor as I understand it), "heating" and "cooling" refer to the rate of change of the rate of change, i.e. whether the year-on-year increase in rental price is increasing or decreasing. "Hot" (and presumably "cold") would then refer to the YOY increase itself.

I'm wondering whether the clearer metaphor isn't to use "heating" and "cooling" to refer to positive/negative YOY increases, respectively, and "hot" and "cold" to describe the average prices.

I guess "Market still heating up, just not as fast" makes for a less compelling headline.
I completely agree with you regarding the simplicity of Scheme! But that’s exactly why I don’t think Scheme should be people’s first introduction to programming. You need to give them friendly abstractions[1] that make them realize what is possible with computing, and only once they get those abstractions, break them down, and show them how the magic is actually implemented.

My opinion isn’t pie-in-the-sky theorizing: I know plenty of intelligent people whose first exposure to programming was Scheme, which scared them off into thinking that “they’re not smart enough for programming” or some bullshit like that. When they later tried a language like Python, they weren’t scared off—they were hooked.

The whole argument in favor of using Scheme as an introduction to programming seems highly ideological, and not at all informed by how people actually learn how to program. The fact that so many online resources successfully (Codecademy, Coursera, etc.) introduce people to programming using high-level languages is evidence that it works.

[1]: I know that all abstractions are leaky, but in the context of an introductory class, they’re not leaky enough.
Yeah, yeah, we know, graphene can cure all the world's problems.
There's always Clojure. Best of both worlds, i.e. Scheme-ish with Java host. We had a SICP Clojure group here in London last year and I think someone has written an adaptation of SICP in Clojure. If it was any other text I'd have nothing to say but SICP without the Scheme/Lisp doesn't make sense. If universities choosing Python or Java as their teaching language they should also switch to texts based on OOP.
It's really just a general trend of removing and/or hiding things that might be useful for the user to make a decision of what to do:

https://news.ycombinator.com/item?id=7677898

https://news.ycombinator.com/item?id=5968237

You're right that they're (ostensibly) placing emphasis on permissions at the moment, but I don't see that staying the same if websites start adopting and using these features in any quantity.
You could see it in the very first diagram, with "AES-CTR" and no other blocks. And, sure enough...

At this point, the term "CTR" has become a design smell.
I can only recommend two:
- The official Facebook React tutorial. It might be unsexy, but hell it's good. In fact, it's the best official documentation I've ever seen: https://facebook.github.io/react/docs/tutorial.html
- React for Beginners. The only screencast that didn't make me want to fall asleep – worth every dollar: http://reactforbeginners.com
I meant to say: "horrible" from a value perspective. You can often get >= "OEM quality" parts from 3rd-party vendors at a much lower price than OEM.
A true Scotsman always pays his taxes!
The rationale for having a for-profit organization that helps people is that it is not economically sustainable, it wouldn't depend on continuous outside finding.

Re cars, consider that the homeless person mentioned in the article had his rent increases to 4200$ - it seems in San Francisco lower middle class can become homeless. And even lower class people have cars. In San Francisco, you don't have to be on poverty to become homeless, although it will probably make you poor once you are.
How Do You Change Voters' Minds? Have a Conversation
No, you are missing nothing. But I can relate to the sentiment and point I think he is trying to make which is it's not worth it burning yourself out working on code all day, be it games or otherwise. Life seems much better when you start living it rather than just letting it pass you by while you are at work.

Regardless, I find the writing and style to be dreadful. I was hoping for something about the drawbacks of Unity the company or Unity itself as an engine. All I can find here is what amounts to a drunken urinal conversation.
If this works, then why does jet lag often persist for days after arriving at your destination? The light is obviously in sync with local time there, but it still takes a few days for your body to adjust.
Ironically, the article linked, "Writing good code: how to reduce the cognitive load of your code", itself has a high cognitive load. It's grammatically irksome. The opening sentence has no verb, "Low bug count, good performance, easy modification." Further it uses poor non-examples of the points the author is trying to make. For example, Yoda conditionals are quirky, but do not increase cognitive load. They were also called out as a good habit in Code Complete, the very book the author sites as the long form of what he's writing about.

OTOH, the gist has a low cognitive load provided one understands funtional notation. I can look at his four lines of code and see that this is a correct solution, because each atom of the function can be reasoned about separately and then composed into the whole. The same is much more difficult with the looping solutions that have been presented as peers to this comment. These solutions have a higher cognitive load because proving correctness requires a full trace of the algorithm, while keeping all of the variables in working memory as you go.

tl;dr; The OP presented a clear and clever solution. I'll allow it. ;)
I can recommend this course!!
Personally, I love this simple, readable, short implementation in the EcliPse solver: http://www.hakank.org/minizinc/queens_viz.mzn
Lambdas are anonymous functions so an inner def is not the same thing. The fact that you have to "adapt" Python to get non-crippled lambdas suggests it should have been the last choice for teaching a text like SICP.
It would be nice if this spec would be implemented in major browsers allowing access from JavaScript to USB crypto tokens.

In my country (and, AFAIK, in many other places) those tokens are used to provide some government services which require digital signature. Few years ago Java applets were widely used to provide that functionality. There's no other way for JavaScript to access crypto token. It wasn't that smooth, but it worked. Now, when Java applets started to disappear in major browsers, websites require you to download a program which must be run, it listens at local port and website uses websocket to communicate with that program. This process becomes much more complicated for user, especially for non-Windows OS.

If JavaScript would be able to access USB crypto device, the whole user experience improvement would be huge.
As of yet, it is only an idea.
It's unfortunate to dismiss another view point as you're frustrated or inexperienced while ignoring the actual points made.

The biggest point being #1:
Resources are finite. Time spent on A/B testing cannot be spent elsewhere. How you use your time determines your growth trajectory. A/B testing is a growth tactic, but it's not always the best use of your resources.

There is absolutely no way to solve this problem. You'll always have a trade off to make when it comes to how you spend your resources and time. You shouldn't neglect that cost when deciding if a/b testing is necessary for your organization.

Btw, keep in mind, I admit we still do some a/b testing. It's just not an key component of our growth strategy.
That is what all cryptography is based on?

And I don't know what subpolynomial time nonsense you're talking about.
> What could a daring entrepreneur start doing to change the world into a place where society, and work, is better aligned with basic human needs?

IIRC, Zen and the Art of Motorcycle Maintenance had a few things to say about work and motivation.

Reading a book certainly is actionable ;) and I think some business owners/managers could benefit from reading this one, at least in terms of employee retention rate. Or maybe they wouldn't, I've never been a business manager, actually :) But this story isn't terribly long to read and I found it interesting on its own right.
Most of the science from Cowspiracy is still on point. A percentage was exaggerated but the main point remains persuasive: https://m.youtube.com/watch?v=KpmTiHjUEBU

Especially as China and other countries continue eating more meat at higher and higher rates.
After 1.5 million lifetime miles, much of it intercontinental, it boils down to 2 rules for me:

- Flying East to Europe: Get out in the sun after landing and don't fall asleep until at least 8:00 PM local time.

- Flying West to Asia: Stay on US time. Go to sleep at 6:00 PM local time, get up at 2:00 AM. Obviously, avoid evening appointments. If that isn't possible, at least schedule them after you've been in country a couple of days.
https://w3c.github.io/ambient-light/#dom-ambientlightsensorr...

Unfortunately, it looks like their definition of brightness is a floating point number, and that's the only thing their API exposes. Hopefully future versions of the standard will be updated to better match the real world.

What we perceive as brightness is (a) the number of photons of each wavelength that (b) intersect a given point in space and (c) are exiting in a given direction. Obviously, all of this information can't be encoded in digital form. There's simply too much data to encode, let alone measure accurately. But reducing the data to a simple 1D number renders the data almost useless.

No website will be able to achieve good results if the dynamic color scheme is based on a single number.

That's also why the WebUSB spec is exciting. I don't have to wait for this spec to be drafted, or for browsers to support it, or to live with any shortcomings it ships with. I'm free to create.
Sorry, you seem to have misread my statement. Everything you just listed are devices that the OS already natively binds. I'm not aware of anyone considering WebUSB implementations that would unbind native devices and expose them to the Web. Rather, the device-level risks for WebUSB primarily center around devices/interfaces that are not in well-known classes or otherwise are not natively bound and may expose dangerous interfaces (e.g. security credentials, unsigned firmware flashing, etc.).
For the average user the two concepts are not so different. Most people wouldn't think twice about downloading an executable, just like they wouldn't think twice about clicking a link.