skysight-inc/HackerNews huggingface dataset:
I think sidecars accomplish similar goals by moving the LB logic closer to the application. So now the question is: Why would you want to move this kind of thing closer to the application?

Control.

Client-side load balancing enables you to adopt application specific LB logic. For example, when using a RPC framework like gRPC your application MAY prefer reconnecting to the same backend when a temporary failure occurs while streaming between two endpoints.

Client-side load balancing MAY give you more flexibility in terms of adopting a different LB strategy per application. I know some centralized LBs support this, but that often requires configuration changes and MAY impact other applications sharing the centralized LB. A new LB configuration may require more memory or trigger some obscure bug. This all or nothing approach usually means most applications standardize on a one-size fits all solution.

For some people client-side load balancing is much easier to understand. While many platforms hide internal proxies, DNS lookups, etc, those things MUST be understood to fully support any application that pushes data through them. Everything is fine until something goes wrong or when performance does not met your business requirements.

Client-side load balancing does not solve every problem, but it's a tradeoff that MAY yield improved performance and reduce total complexity.
It's a lovey, romantic notion, but I want to note that SF Muni has put buses into service running the F line due to difficulty with keeping running stock, erm, running.
Ask HN: How to tell if a home is unoccupied?
Premise: a city wants to know how many homes are unoccupied. How can they reliably measure this?

Sending city staff door to door to see if anyone is home is probably expensive, disruptive, invasive, and inaccurate if residents keep irregular hours. Sending snail-mail surveys is probably also expensive and would get a lot of false negatives. Can utilities services help? Does electricity use imply occupation? Does this give false negatives for households with low electricity use and false positives for empty houses with a few token appliances plugged in? What about natural gas and/or water usage? What about more indirect measurements like traffic/transit data or tax status (for rental housing at least)? Could telephone-pole mounted cameras measure foot and motor traffic?

(Disclaimer: this question isn't about whether unoccupied homes are a problem for a city, it's just a thought experiment about how this question could be answered with technology. I admit this question is inspired by speculation that empty homes in places like Vancouver, BC and SF are affecting rents and availability.)
"In Spain .... you have an ID card"

As a citizen of Spain you may not be aware of the political realities of the US. In many states in the US it is considered racist voter suppression to require any form of ID. In the US we're told that some citizens are too poor to maintain any form of photo ID even when government issued IDs are free. We're told that expecting a voter to present an ID is a form of racist intimidation.

So while your proposal probably has merit anywhere that racial grievance mongers can't veto anything they don't like, it is DOA in the US.
Speakers use inflection to emphasize the important things in the message. In a single method, there might be a few lines of assignments and setup, a few lines to actually do what needs to be done, and then some formatting of a return value in the correct structure.

Maybe what we want to do is emphasize the few lines that matter the most. Right now, we try to break the methods down into smaller and smaller pieces, resulting in the “In Smalltalk, everything happens somewhere else” syndrome.
Of course it is. It's clear they started shopping the company immediately after the collapse. Also, you never say "Hey, you want to buy us?", because that reeks of desperation and scares off all potential buyers.

Out of curiosity, how did you think business deals happen?
Ok, i have no idea what you wanted to say.
Knowing little about this stuff, would it not be possible, and preferable, to eject them? Also, how realistic would it be to turn off liquid boosters, as they seem to usually fail with an immediate explosion?
We did not have support or family close by, I deeply regretted this, doing it all our selves has been really hard, and our kids don't know their grandparents, aunts uncles cousins. It's sad really.
How is this a vulnerability?

1) Email addresses added to the 'send from' list in Gmail are used to send emails with an alternative From: address, but they always contain a correct envelope-from header, so the emails will typically show up as 'Google (sent by: SuperHacker@gmail.com)', or something along those lines.

2) gmail.com doesn't have a forced-fail SPF record, so one could just send emails From: google@gmail.com using /any/ mail server, as long as the receiving mail server doesn't interpret softfail as fail -- and it shouldn't.
Liquid oxygen would just get pushed out of the space by the increasing pressure. The solid oxygen exploded because it couldn't 'get out of the way'.
This can be seen as good news, I suspect. Now we have identified a substantial source of the gasses it gives us an opportunity to look at how we can fix it. Oygenation? Stirring?
Whether you freelance or work a more traditional job, in my experience, your future work will come from your network. Is it possible to create a good network remotely? Certainly. But it's probably harder.

I think if you're in your 20s, you might want to base your decision on other factors more than career building. It's OK to think slightly shorter term--where would you get the most enjoyment out of working?
Slack is falling into a tough cycle every hot startup goes through
But pgz specifically said that the votes could be kept anonymous.
What I don't understand is that people want to highlight keywords. Bold is a very strong highlight compared to coloring it. However, keywords (if, while, return) can probably be guessed from the indentation alone. There is little need to guide my focus to them even more.
The question assumes your ISP is unable to provide service, perhaps through coercion.
> On that note, I also consider `git add -A` to be horrible practice. Adding files manually makes you tons more aware of what changes you actually made, and also prevents you from accidentally adding extra files you don't want.

I use `git commit -a` a lot, but only after checking `git status` (or `git diff`), which is probably my most-used git command.
I get a lot of (good-natured) crap from other developers because I always use a graphical tool to view my git diffs and make commits. I realize that there are console tools like git interactive staging that provide similar functionality, but honestly I just like having a dedicated windowed application always running that is always the gateway for my code.
I fired off an application too :). I know so many people have been ripped off by scummy letting agents.
And there has been much progress made in reducing the gap. Check out the polymath project and work done in collaboration with terry tao
Ah, thanks (I assumed it was in the article...)
Very neat! This matches up closely with what we have evolved for my group's legacy codebase to simplify handling AJAX requests. I suspect we're not alone in arriving at this sort of declarative abstraction.

Unfortunately, our implementation is rather scatter-brained and non-uniform. That's partly due to its gradual evolution and partly due to lack of free employee time to clean up bit-rot. I'm going to investigate this a bit more and mock out some examples for our product. I definitely think it'd help us organize our unruly mass of code. Good job!
Why people online don’t read to the end. TLDR?
There was an article shared here on HN some time back about the guy who got one Dutch town to remove the warning signs on its traffic circles.

Accident rates dropped sharply.
I worked for years with SimpleText/TextEdit on the Mac (Classic/OS X) and Pico on the server.

I felt syntax highlighting was a gimmick that distracted me from my Monaco 10 with no anti-alias perfection.
If I needed to do some repetitive editing beyond a simple find/replace, I'd write a small shell script. I was kind of proud of my minimalism. You can do a lot with native Carbon/Cocoa key bindings alone. Life was good.

Then someday I saw a video of someone doing crazy work in Vim. Flying. I had to learn that.
I forced my self to use Vim exclusively for one job, from beginning to end.
I kept watching similar videos to get over the nightmarish frustration that is anyone's first week or so in Vim.
But after that, I was completly hooked.

However, I still have warm feelings when I open some code in TextEdit. Black, 10px Monaco text over a 90 by 30 white background. Ah.
Apparently you can't imagine any other kind of internet access beyond the consumer variety. Other people had some more practical suggestions. Next time I post a question like this I'll be sure to make it as tightly defined as possible.
Mistakes I made (as a developer)
Not that I condone it but you could get the public to report unoccupied homes using their phones. Especially neighbors who could established a history of vacancy.
This is sort of a meta thing, but I'm curious how many hits/stars you got on the github page from hn
> Why add a bunch of unnecessary complexity?

1. By adding an additional lower gear to an electric truck/4x4, it could provide even more torque at low gears to allow it to carry more load and go up steeper inclines.

2. By adding an additional higher gear to a car, it could go faster and accelerate faster at the top RPM end(s). For example, see how the acceleration drops quickly. That wouldn't happen if you were to keep switching to higher gears:

http://static4.consumerreportscdn.org/content/dam/cro/news_a...

The reason they didn't do this in the Tesla was a technical problem, but that could be remedied:

https://forums.tesla.com/forum/forums/adding-second-gear-spe...

"The roadster originally was developed using a two speed gear box. However, they had problems getting it to handle the massive instantaneous torque that the motor could produce, so they went for a single speed."
Comments and literals (numbers, strings, NULL, etc) here. http://imgur.com/a/kRbhG

I tried no-syntax-highlighting for a while, but found that a little bit is nice.
The original poster may eventually want to experiment with server side rendering or splitting their single page app into multiple apps, and hash URLs pretty much trap you into a single page app with client side routing.

That said, I didn't mean to cast a negative light on them. Using hash URLs makes it easy to build an app that can be reverse proxied to different hostnames and paths without content rewriting (to change the base tag's url for example), and it works well with legacy browsers.
$1.8M per employee for Apple

http://uk.businessinsider.com/top-tech-companies-revenue-per...
Yup, I've been taught the result in first year calculus and the resulting corollaries, which was over 2 years ago now.
As a long time Nvidia user, I grew tired of Nvidia not releasing open drivers. At the same time, amdgpu + radeonsi + radv are constantly improving, so my next GPU is going to be AMD Vega.
Salesforce was absolutely in the mix.

This also motivates Salesforce's Quip acquisition. Why do you think anyone would pay for a super crappy google doc clone who's only selling point is "We're not Google, and you are afraid of Google."
Show HN: Bash Script to generate static responsive image web galleries
Commands for compile and shell in C# with Emacs?
I don't know what the commands are to compile C# code (turn the .cs file into a .exe) and shell (run the .exe). I've been able to use terminal and using "mcs" and "mono" respectively but I want to run that completely inside Emacs. I have the packages OmniSharp and csharpmode installed for reference. I don't want to have to ever leave Emacs. Any suggestions? Thanks.
> because you commit a state of the repo that (probably) never existed

The state doesn't exist in the repository until the code has been committed - so your statement is a little backwards. Sure the code might never have only had that edit in it, but the repository has no changes until a commit is made.
I have built a small Bash Script to generate static web galleries. Feedback and pull request welcome.
You're overestimating the attractiveness of the USA to other cultures ^^
Are you really going to go with "Because 16GB oughta be enough for anybody"?
I do somewhat agree with you from a playing standpoint. I often gravitated to combo or control because I didn't want to deal with doing the math on attacking / blocking as it could lead to some awfully complicated interactions. But there were definitely difficult decisions to be made when playing combo or control, since you'd often be facing aggressive decks that put you on a clock. But mainly, I found the deck building and meta game more interesting when combo, control, and creature based decks were all available to players. Personally, I just always thought it was really interesting when a deck would try to do something like generate infinite (or near-infinite) mana in order to "go off". That is an aspect of Magic that I found unique, since most games are so tightly controlled that there isn't possibility of finding an interaction that is "broken", as we used to call it, and can be exploited to create scenarios that are outside of what the game designers possibly intended.
Yeah, it just evolved out of a jQuery-based set of tools. I've looked into breaking the jQuery dependency and it hasn't bubbled up high enough for me to get motivated.

Always happy to take pull requests though...
I'm a huge fan of intercooler.js because most of web dev today is going to monumental lengths to hide the progress bar overtop of what used to be simple client/server RPCs (in other words, the vast majority of it is a waste of all of our time).

I really feel that the web is moving towards a components/modularized system where every tag is built from subtags, a bit like how iframes used to work but without the security implications. For example, I was shocked when I learned back in the 90s that server-side includes where generally disabled on servers, which led to the proliferation of cgi-bin, php, ruby, node.js, etc etc which may not have been necessary otherwise.

To get to my question - is adding websocket/socket.io on the horizon? If intercooler.js can get to a truly push-based method of state synchronization, it would be huge.
There's more to time zones than just recorded time. We still need a way to coordinate synchronous human action around the globe. People are still going to wake, work, and sleep roughly with the sun. Time zones are one way of accomplishing this. What do you propose as an alternative?

As an aside, please don't conflate the issues of leap seconds (or leap days, or daylight savings time) with time zones. They're at least three distinct topics. Interesting, yes, but distinct from time zones.

I agree that management of temporal data across the globe is a challenging process. That's why some domains agree to operate in UTC all the time. And some of our common tooling (JavaScript in the browser comes immediately to mind) doesn't do a very good job in providing good methods for handing time zones. I think the answer to that is to improve our tooling. While removing time zones might make this recorded time issue go away, it seems problematic that we'd make a societal change to compensate for computer deficiencies.

What do you think? In particular, how would society work without time zones? What do you see as the trade offs?
You can always mail in the ballot, then go to a polling place and vote there. IIRC, that overrides your mail-in vote.
BBC Future AMA: brain-controlled devices and neural implants
the best part is the examples, there are so many practical cases.
Proportional fonts + elastic tab stops [0]. I would love to have this working. Unfortunately, if you really depend on elastic tab stops you break the formatting for everybody who does not use it.

[0] http://nickgravgaard.com/elastic-tabstops/
Most of the versions rely more heavily on the GPU. The fluid simulation runs on the CPU and is actually quite intensive (no surprise there). The most recent version uses the CPU to generate voxels, although it is also the least "stable" version and most people probably won't use it, but it is also the most flexible version (no GPU shader instruction limit, easier to run offline, etc).
You're assuming they're rational actors. They aren't - at some places (big defense) it's easier to get tens of thousands of dollars of software and compute resources than it is to get OSS approved.
For the jury it is. For the prosecutor it's called prosecutorial discretion.

Being formally acquitted means you can't be charged later; this is not true of just not being prosecuted in the first place.
When Crowds Try to Flee for Their Lives
It is never too late to get started on building relationships with grandparents, even if your kids are now a little older. My wife and I have resolved to devote a month of vacation every year to making sure that our kids get to see their grandparents for an extended period of time.

The time spent doing this not only builds inter-generational ties but also seems to build up our parents' health: we have found that they perk up and snap out of old age haze when their grandchildren are around. In the long run, this can only be a good thing.
Yeah but the people corrupting you, would ask you for your sha as confirmation.

Here in Italy for example it's forbidden to bring your smartphone into the voting cabin, because the Mafia was asking for photo proofs.

So esrauch found a great counter to my idea.
Start with a pendrive / USB boot and try different distro. Try both older and newer debian-based distros like mint or ubuntu which usually have better laptop support than vanilla debian to see if you can narrow down the problem.
Touch and Plug, the Outlet Cover Plug Guide
I started today w/ 1400 stars
Eh. At least they won't do anything actively harmful.
Same for me, I try not to fear my black dog, my good 'ol friend. Instead I try and take it as a sign that I might have some growing to do, or some grieving to finish, or that some change is needed and that I should start thinking of possibilities for that. I become introspective.

My life, and most other peoples' lives, have seasons, and those seasons can add meaning in very strange ways that are difficult to replicate without enduring a dark storm every now and then. (Sorry for the metaphors, I'm not a great writer.)
> But. I have no idea what I just read.

You are not alone my friend. Thanks for the excerpt.
You definitely can't skip the step of getting managerial and legal signoff (and no sensible open source project wants a patch that the developer doesn't have the right and authorisation from the employer to contribute). But in better companies it is possible to make that case and get the agreement.
Talk them out of renewing and be sure to let the salesperson know that you don't appreciate their ethics. With all the alternatives it's not like you'll be left high and dry.
Students do get kicked out and if they don't graduate have to leave even if they could afford the 'rent'
There is no account hijacking vulnerability here. The researcher was able to send email as a non-existed Gmail account, they could have just as easily registered that Gmail account. The only place this becomes a vulnerability is if the account doesn't exists and you aren't allowed to register it (like google@gmail.com), or if there is a temporary bounce from a legitimate account.

Either way, it isn't a hijack, you can just send email from the "hijacked" account through Google's servers, you can't receive email sent to the account.
Let's not use headlights anymore too... This will force the us to drive more carefully and reduce speed to avoid a potential disaster.
I really wish it had a maven plugin.
Agree with this 100%. If you can do everything you want on the CLI then more power to you, but in my experience people using the CLI for diffs/staging include unrelated code in their commits at a much higher rate. I checkout/branch/pull/push in the CLI, and use Git Tower to diff and stage.
Western Union tried something similar in 1952, called "Telecar". They had fax machines in small trucks, which would drive around and deliver telegrams.

This was an extension of Western Union's DeskFax service. Western Union offered this from the 1940s to the 1960s. They had a little desktop machine which could both scan and print on small pieces of paper. But it transmitted only to a Western Union office, where the message was manually retyped and sent through Western Union's Teletype-based message switching system.[2] At the receiving end, the Teletype output might be scanned and delivered to the end user's DeskFax.

Some people still have and restore these machines. The end-user machines won't talk peer to peer without a conversion unit in the middle, but it's not that hard to build one.

(How Western Union blew it as a business is an sad story. They were a nationwide digital communications company long before anybody else. But their management was very attached to their structure of vast numbers of retail offices and message delivery at a high price point.

Today's Western Union is just a name, bought by First Data for their money transfer service.)

[1] http://blog.modernmechanix.com/telecar/
[2] https://www.youtube.com/watch?v=JAJQVStZYDk
Polling stations in the UK always provide pencils, and this caused a panic during the EU referendum amongst some Leave supporters, who were worried about their votes being changed. Those people brought their own pens, but that kind of paranoia was widely mocked.

cf. Black Mirror writer Charlie Brooker: https://twitter.com/charltonbrooker/status/74592155647647334...
Right, but realistically they'd just crash more and then what's been achieved? Some of us get to feel smug about how the daft plebs aren't hard-core enough to navigate without colored traffic lights?
Improper votes being cast is the norm. Roughly half the voters will do it intentionally!
I just had dinner with someone two days ago who had this idea. "Who owns a fax machine any more? Sometimes you have to fax a document, so someone should create a service where you send your document to them and they fax it for you."

I reminded him that the local convenience store had printing, photocopying and faxing service at 10 cents a page for such a need.
Why is there not a single work of fiction or poetry in that list? Surely Mr. Buffett think you should read more than just business books.
This is true, it's kind of easy to forget how E2E works sometimes, thanks!
Don't you always have commits chains like "add debug printfs" "fix bug" "remove debug printfs"?
Force yourself to pick one. It won't be the perfect course, but that's fine. As long as it is decent, it will be time well spent. Especially since doing so will help you overcome analysis paralysis for future situations.

You could even try putting your top few choices in a hat, and letting chance decide. Perhaps your visceral reaction after randomly picking one will help reveal what you actually want.

Also, this may be completely off base, if so disregard this paragraph, but have you considered looking into mindfulness? Over time, it can help with getting past these brain blocks. It's personally been very helpful for me.
Moore’s Law Debate Continues
Huh, no wonder it's obscure. If someone wants to see this become popular, there needs to be a clear statement that you can link to. (It should make a clear distinction between the rule and the commentary/justification for the rule.)
My place did suck then. And I did get hurt..