skysight-inc/HackerNews huggingface dataset:
Generally HTTP REST works on the idea of resources and properties.

so:
/lights
/lights/light-id
/lights/light-id/wattage (return wattage of light)

Doing something like:

/lights/light-id/book-janitor-to-replace
which might email and update the janitor's calendar/ToDo list, isn't really following the existing API design.
Now you can send awesome surprise holiday gifts to anyone – 365 days a year
Why does this site cause my iPhone 6 to have a seizure?

Why is this almost on top with no comments?
I live in a condo next to a highway. With trees, some double pane glass, concrete construction and who knows what else, I don't hear highway noise at all. When I open the porch window, it sounds like quiet background white noise.

I actually hear people coming in and out of the condo more than the highway.
Being the Averagest
I look to Stripe's API as the ultimate REST example - https://stripe.com/docs/api.

It's very complicated and follows the pattern very closely.
I don't have a strong opinion on the onboarding process but I completely agree on the word of mouth points.

I actually hadn't used any Atlassian products when I switched jobs and when we were looking for better PM tools I asked my old coworkers and they had recently switched to JIRA so we gave the trial a shot and loved it. Now my company has paid for JIRA, Confluence, Crucible, and Fisheye. We also use HipChat (only one we use in the cloud) but we are currently on the free plan. I love the integration between the tools and they really do make solid products.
Your link gives a number of 33 cents per kWH for consumption above 501 kWH/month.

I was comparing the U.S. with Costa Rica.

The average U.S. home uses 901 kWH/month, which would put you in the 33 cents per kWH bracket (the source I found earlier said 30, which is pretty close).

The "peak" and "off-peak" pricing doesn't really enter into it, since most of the things you'd want to use a lot of electricity for (e.g., air conditioning) are time-dependent, and can't easily be shifted to "off-peak" times.

So, no, the numbers I was using aren't incorrect.

"Multiplying by 5 because incomes are 20% of US wages, doesn't make any sense to me."

I'm not sure why this doesn't make any sense. You spend x% of your income for electricity. Costa Ricans have to spend 5x% of their income to get the same amount of electricity. It seems perfectly straightforward to me.

In actuality, it's even worse than that, since someone in Costa Rica is going to have far less discretionary income to cover things like outrageous power bills.
So many submissions, no discussion at all:

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

Visualization and "audibilization" of
15 Sorting Algorithms
(youtube.com)

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

15 Sorting Algorithms in 6 Minutes
(youtube.com)

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

Sorting algorithms visually explained
(sorting.at)

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

15 Sorting Algorithms in 6 Minutes -
visualized, with sound
(youtube.com)

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

15 Sorting Algorithms in 6 Minutes
(youtube.com)

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

Music and visualization of 15 sorting algorithms
(youtube.com)

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

Visualization of Sorting Algorithms
(digg.com)

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

Visualization with sound of Sorting Algorithms
(youtube.com)

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

A simple guide to sorting algorithms
(nathanepstein.github.io)

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

The sound of 15 sorting algorithms
(youtube.com)

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

Sorting Algorithms
(sorting-algorithms.com)

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

Visualization and "audibilization" of
15 Sorting Algorithms in 6 Minutes
(youtube.com)

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

15 Sorting Algorithms in 6 Minutes
(youtube.com)

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

15 Sorting Algorithms in 6 Min
(youtube.com)

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

15 Sorting Algorithms in 6 mins [video]
(youtube.com)

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

15 Sorting Algorithms in 6 Minutes
(youtube.com)
*all gifts are double-blind & guaranteed for awesomeness
So what does "booting Windows" mean? Did they port some sort of Win32 compat thing or was that supposed to be a general term for their UI?
Any statement, taken to its (il)logical extreme, can be made to seem ridiculous. But no one has accused the food here of being "disgusting". In this case, OP said that he didn't like a wine pairing, and ended his comment with "good riddance". In other words, he was happy to see the livelihood of another human being destroyed because he was unhappy with the specific part of Europe that the wine he was served came from. The Internet exacerbates sociopathic tendencies, and there is no finer example of that than this.
> Midori is dead, so it doesn't push any envelopes. S

"Dead"? how many research OS's aren't "dead"? The project being completed just means the active research has stopped. The whole point of making a research project like this is to find some interesting bits of knowledge that you can incorporate into other projects.

I'm sure this was already useful for .NET native, and will have bits (or at least lessons learned) for every ms. language and OS down the road.

> What "operating systems research" does Windows 10 actually represent?

I'm sure there are some fancy bits buried in it. The new JIT in .NET 4.6 is pretty fancy, for example (even though it isn't strictly OS research it's pretty tightly tied to the OS given how the universal app platform and store works). Win 10 is indeed mostly a polish release from Windows 8.1 (A few years ago it surely would have been called Windows 8.2 or Windows 8.1SP1). I think the naming was just part of the strategy to stop bumping major versions, like OS X.
This exact thing is very popular in Europe, and in New Zealand they're rolling out third-party pick-up locations. Dairies (convenience stores), supermakets and shopping centres (malls) are signing up to get paid on a per-pickup basis.

You can buy something online and ask for it to be delivered to your local dairy where it'll be held for up to 10 days. You're required to show ID when picking it up, but it's so much more convenient than asking for evening or Saturday delivery when you're not sure when the courier will be around to deliver the item (although we're not getting very good estimates from analysing past delivery history for streets, 80% of the time accurate within 30 mins).
A timely post on encouraging the opposite psychological space from depressed, namely "optimizing for fun":

https://perl6advent.wordpress.com/2015/12/20/perl-6-christma...
Can you write tools that help others to write really secure code?

I.e. something like a linter that helps to identify insecure code? Or maybe a design process or set of design restrictions that would help avoid insecure code?

(I'm particularly interested in the state of safety / security for networked embedded sensor systems -- i.e. cameras or other sensors in mobile robotics, security/analytics etc... and I'm trying to produce a set of tools to help make the development of such tools safer and more secure as well as faster and more efficient).
One thing I don't get is why does powershell have to be so shitty as a programming language? It literally doesn't look like anything else on Windows. Also, the handling of _interactive_ command line in powershell is atrocious.
I think you are using different interpretations of "you".

If you do:

update aTable
set loginInfo = loginInfo - 'lastLogin'

where 'loginInfo' is a jsonb column, you, the programmer, need not write out the parts of the data to keep. PostgreSQL still sees this as 'read column, evaluate expression, write result', so it will read and write the entire jsonb value.
C and C++ applications include lots and lots of headers from the systems and third party libraries. Dead code is common in such circumstances, and programmers would drown in a sea of dead code eliminated warnings.
I only bring this up because this is the topic of the article; that may be "REST as people talk about it" but none of that has anything to do with "what RESTful actually means".
Yeah, SATA/AHCI's limitations and bugs have affected filesystem design and defaults, to the detriment of other storage technologies. NVMe for example requires the host to take care of ordering requirements, so basically every command sent to the drive can be queued.
In an unexpected Ninja move, Norway gives Finland Shetland and Falkland Islands as gift. Sources say Oslo has ordered five million barrels of popcorn.
Yes. Their git stuff is a front-end so users can use git, which then funnels it to the back end. Works like Git-TFS or the built-in integration of Git into Visual Studio.

What used to be the central p4 server was renamed Helix, turned into a federated architecture, and there's some sort of data exfiltration protection option that is based on Interset's behavioral analytics stuff.

As far as I can tell from the marketing materials, the idea seems to be that if if a coder starts regularly looking at the sales numbers, file a report. Maybe someone needs a reminder about the consequences of insider trading, but maybe they just want to know if the project's getting traction in the real world, and the false alarm can be resolved with a brief chat. If someone tries to clone an entire corporate monorepo on a salesperson's workstation at 3 in the morning local time, shut it down, because the most likely explanation is that the salesperson's workstation has been compromised.
You're safe either way, but if you have autoloading disabled they still can't track that you've read until you load the images.

The change is that clicking to load images is no longer the default [0]

Do you get enough spam on your Gmail for this to be a worry point? Genuinely curious; I get roughly zero.

[0]http://www.wired.com/2013/12/turn-gmail-auto-image-loading-o...
FWIW, pink noise helped tremendously with my urban-noise-induced tinnitus at night.
MariOCaml: HTML5 Mario, written exclusively in OCaml
I wonder how those poor women deal with RGB displays. It must feel weird to see a difference between red+green and actual yellow.

Although, on second thought, color vision doesn't seem to work perfectly anyway. I never understood how red+blue can be perceived the same as far violet, it just doesn't make sense if you look at those frequency response curves.
Ear-plugs don't help with low-frequency vibrations like that from an elevator. The manager of my last building would disable the elevator from midnight to 6AM which provided some relief.

Noise, vibration, light pollution (e.g., excessively bright white LED street lamps) is something more people will deal with as urbanization increases. Also, when you have a lot of neighbors in close proximity someone will keep you from getting sleep. Whenever I meet a grumpy neighbor I now assume they are sleep deprived.
TL,DR: stop settling and start doing, don't wait for it to happen.
I bought the Monoprice printer: https://www.monoprice.com/product?c_id=107&cp_id=10724&cs_id...

after a modest amount of research and as a complete beginner, I've been very happy with the purchase. Prints PLA, ABS, HIPS (and probably nylon though I haven't cracked open the spool of nylon I bought yet).

Do yourself a favor and print one of these: http://www.thingiverse.com/thing:23257

and buy one of these: http://www.harborfreight.com/1-inch-travel-machinists-dial-i...

That will help you level the bed as a beginner. (It gets a little easier with practice, but having numeric references helps.)

While at HF, buy http://www.harborfreight.com/pack-of-3-8-oz-storage-bottles-... as well. That will come in handy when getting ABS prints to stick (one will hold the acetone slurry, one will hold pure acetone and you have one left over)
https://www.psychologytoday.com/blog/the-scientific-fundamen...

"... more intelligent children grow up to be more nocturnal as adults than less intelligent children. "

Night owls are smarter?
Show HN: A Werewolf bot for Slack
One nice hack would be to make the base app free and allow to purchase additional slots for $99.- each. The idea would be to forces user to evaluate whenever the added items is really necessary or not while still giving the impression of choice.
https://www.reddit.com/r/tinnitus/comments/34k8si/does_sleep...

It looks like it's not earplugs, but sensory deprivation that can cause tinnitus. If you're listening to a normal volume of noise for at least a few hours a days, it won't be a problem.
I think you're confusing tales of people on sportsbikes running from cops with those on cruisers. Cruisers can't outrun anyone. Cruisers are the ones with the loud rumbly exhausts that most annoy people. Sportsbikes have higher pitched, tinny, buzzy exhausts. Still loud, but less annoying.
Ask HN: Any Microsoft cloud architects who were non-MS previously?
Curious as to how the environment/culture is inside the Microsoft Azure area and if anyone currently working there was an non-Microsoft person before?

I haven't used a Microsoft product in a couple of years and it's been at least 10+ since I supported anything they sold so I'm looking to see if anyone else was in this boat and made the jump, and if so, how did it turn out?
Mobile Texting: Fuel Your Sales Department
I completely agree. Sounds like this agreement wasn't easy to come to as the article mentioned that the guards' union pushed back against many of the reforms. Hopefully there will be continual improvement in the years to come, rather than stagnation.
No, I was thinking of Representational State Transfer, which is what Fielding's paper talks about. And I was also thinking about how people say RESTful, and how that's a confusing way to say "conforms to how Roy Fielding thinks an API should behave."

What I was responding to was advocacy that human language should behave the way we expect RFCs to work.
But that sign has a relatively stagnant base of possible drinkers compared to the demographics of website visitation.
I agree with that. I've recently been going through my archived blog posts while revamping my blog design, and so much has just flat out disappeared. And so much of what has disappeared have been things I would have guessed would stay...
"You can't outrun a radio" is pretty common refrain among sportsbike riders upon hearing a tale of someone running from police.
no, i refuse to edit PHP for free. it's not even that i don't enjoy writing in it, i just enjoy writing in other languages much more by comparison.

no problem whatsoever using websites written in PHP. very glad to be able to recommend others to wordpress in lieu of duplicating effort.
> It's strongly typed, with a bewildering variety of types to keep straight. More errors.

Odd complaint, especially to be levied against C.
Night is the other half of life, and the better half - Goethe
It does work in gmail. Jetstar, an Australian air travel company, uses this technique (IIRC) and it works fine in gmail.
The layout of this article is ridiculous. Two-thirds if the page is mostly white screen, the rest is text. Try reading that on an iPhone!
My recent favorite: The Planet Remade: How Geoengineering Could Change the World by Oliver Morton. Engagingly written -- I could hardly put it down! -- comprehensive, thorough, and optimistic without being credulous, this book contains a wealth of information about the "earthsystem" (as Morton likes to call it) and the effects we're already having on it as well as those we could potentially create intentionally. The book makes an excellent case for expanding research into geoengineering, and I hope it gets widely read.
REST is one of those things were if you don't implement all of it, you won't really reap the benefits of all those architectural constraints combined. In your Dropbox example, any client will be bound to the Dropbox API. Consequently, Dropbox are now bound to each and everyone of those clients; they cannot make changes on the server side without breaking every client. This is what REST aims to provide - a safe way for the server to change as needed without breaking clients.

Imagine if Dropbox registered a set of mime-types for each of the different resource representations. Those mime-type RFCs would describe how clients interpret the representations whilst simutainiously giving Dropbox the ability to change the server as they need without fear of breaking clients.

This would be because clients would be foxing on how to process the media-types, not the API. The various interactions a client can make with a representation (regardless of the URL it came from) would be bound to the media-type e.g. rel-types for edit, upload, create etc which the RFC would describe the appropriate HTTP interactions e.g. POST a media-type of x to the url at rel-type "edit".

However, I think the real reason that REST hasn't been adopted fully is that service providers like Dropbox have found that there advantages to binding client developers to their hardcoded APIs; the last thing Dropbox wants (and what REST would provide) is a standardised set of media-types and RFCs describing the interactions for a standardised way of interacting with an external cloud-based storage provider.

It's just another form of lock-in, and reminded the cynic in me of the bad old days of MS Office document lock-in.
Seems unlikely that Microsoft would try to slip such a backdoor in, given that this special governmental release would be under additional scrutiny from the Chinese state.
Our Perfect Wedding Groom Jailed
Is it possible she has synesthesia (https://en.wikipedia.org/wiki/Synesthesia)?
My experience mirrors yours. I'd like to also stress that it's not just 30:1 ratios that are worthwhile.

Most recently, I just rewrote a decently written ~8 kloc C program in to a ~4 kloc Go program that does 5 times as much, 10 times faster. If I had more time, I could probably shrink the new Go program to about half its size. This new program includes the old, as well as a new simplified interface, both HTTP.

Moving clients to the new interface has had cascading C#/Scala code reduction of ~1 kloc each. This is the most important point! Simplicity breads more simplicity.
If this is you major complaint, I'm not sure you can call it "not a fairy tale". There is a vast body of research (e.g. [1]) that points out the public health benefits of this alcohol policy. Scandinavians also have a very different drinking culture than their southern neighbours; as the article you link to notes, more than 65% of the population drink 0 units from Monday through Thursday, and then drink a lot during the weekend. When the drinking habits are so different from continental Europe, why should public policy be the same?

[1] http://www.dldocs.stir.ac.uk/documents/nad42.pdf
Whenever I hear again of that Stallman essay I run this thought experiment - what if e-books came first? Would Stallman have then written an essay about the inherent problems of paper books when compared to e-books? (They are more difficult to transport, they can be lost, stolen or burned, they can't be encrypted or transmitted instantaneously across the planet, negative environmental impact, etc.)
Where am I proposing that "all the benefits should remain with the creator"? I simply choose the format that I want to read. The cost to produce this format compared to other formats simply does not impact my decision.

I enjoy reading an ebook on my eink screen. It would be foolish of me to choose a paperback copy simply because the publisher and distributor made less of a profit on it.
This is still (AFAIK) the recommended way to get higher IOPS out of Azure SSDs.
The battery startup that promised GM a 200-mile electric car (2013)
The propeller was invented 200 years ago. I think the aerodynamics for silent ones have been known for 70 years (laminar flow).

The rest is just politics - those who pay for the conditioning system are not the ones who suffer from the noise - and even if they were, they have no competence to differentiate.

Maybe if apartments had noise ratings, and they could charge neighboring buildings for the measurable loss of worth from noise. Maybe there are precedents from airfield politics.
indeed, i don't write a lot of ruby, either, but i've given it a spin, and i like it alright.

if this were written in ruby, i would be motivated to learn more ruby to edit it.
One thing about the middle of the night - you're not liable to be interrupted. No jackhammers tearing up street gravel, no buzz saws, no lawn blowers, no phone calls, no interruptions, just uninterrupted time. Where you can concentrate intently on figuring out a program, if you want. The middle of the night is the time you can really get work done.
What do you mean "following the existing API design"?

A good API imo would hide the janitor's calendar/ToDo list unless it was absolutely necessary for the client to access it directly. Then an argument could be made in favor of the booking janitor endpoint on a light - and the API is no less RESTful.

Edit: I don't like it when people over-emphasize resources when talking about REST. I blame this practice on Rails being many people's first introduction to REST. But Rails isn't actually RESTful per Fielding. I prefer to use the term resourceful API to describe the kind of API Rails prescribes. REST is generally in favor of custom endpoints that hide complexity from the client, even at the expense of having a clear cut decision on eg. POST vs PUT/PATCH for a given endpoint.
#2 is a very important principle that spreads across all kinds of areas and domains. The top of the pyramid almost by definition tends to monopolize domain-specific talent, therefore the only revolutions that ever work are those that convince the elite rather than those that purge them.

Luckily elites are just human beings, not shape-shifting reptiles from space, and can be convinced with rational arguments and/or human empathy in the same way and to the same extent anyone else can.
The $10,000-a-year college education has arrived (1981)
Do you use a single classifier for your entire feed, or do you categorize the feeds and maintain a classifier for each topic? (Or, as always, secret option #3: neither.)
Not odd at all - that was a great book about a great man. The most profound theme from the book, for me, was his quest for knowledge and self-education. And his commitment to live life as a reflection of his knowledge and beliefs, even when that meant complete and utter rejection of his previous life.
Hence, my comment about sarcasm.

Just what do you think was the intended meaning when someone calls a city perfect?
there's number of tables and then there's number of people working there and how much they can handle.

there can be too many customers with half the tables empty.
Forth is completely untyped. Traditionally, all values are machine words.
Michael Wolf comes to mind; a photographer that started down the same line of skyscraper photography but ended up with his own vision [1] through gradual innovation.

[1] http://photomichaelwolf.com/#night/11
Terrafugia's flying car model has been approved for tests in US airspace
I'm an adjunct, and I wrote about a somewhat similar article here: http://jakeseliger.com/2015/04/03/why-do-people-including-ot....

WRT this one, I'm distressed to not see the words "supply" or "demand" appear. The more people are willing to be adjuncts, the worse the pay / conditions will be for adjuncts. I'm part of the problem!

But my primary income also comes from being a consultant; I just like students and teaching.
I wrote something about this some years ago, and in particular, connected it to the question/problem of clashes when generating (hopefully) UIDs.

http://www.solipsys.co.uk/new/TheBirthdayParadox.html?HN_201...

This submitted wikipedia link is more complete, but I hope mine is more readable as an introduction to the question.