skysight-inc/HackerNews huggingface dataset:
> Is it discouraged to use server-side rendering?

No, it's not! But it's discouraged to use it as the only rendering layer.

Server side rendering has its unbeatable advantages - speed. That's why you can view content on https://huu.la within second, similar methods are used by Google, Twitter, etc. A lot of people might say, we have faster networks now. Believe me, even at Bay Area, it takes time to, first, download your powerful client-side library, second, bootstrap your powerful client-side app, and third, call XHRs to fetch your data. Not to mention there are so many mobiles, with even less capable networks.

So from my experience developing Huula, I would recommend using a combined approach. For places where speed is critical, for example your landing page, help page, use server side rendering; for places where a lot of user interactions will happen, use client-side rendering since it gives your more support for componentization if that's a word and user interactions.
Why not just use werc?
>I don't have to work with anything other than my fingers. Life is good.
>Would I, if anything happens, go back to selling toilet paper or digging cannals to survive and strive? Without a doubt.

One thing manual work taught me is how to really work. It also taught me that I don't want to do manual work for my entire life, so it ended up being great motivation.
Ah, that makes sense, thanks. I was kinda wondering how many people they got committing 1,000 crimes in a row. I figured maybe they criminalized "stepping on an ant" or something.
You're right, it probably won't be at first, but it all has to start somewhere, I am hopeful that manufacturers will be smart enough to just contract it out to existing makers like blue coat instead of trying to build a system from scratch themselves.
I can use several things.

Adblockers generally do two things: block specific domains and change the rendering of certain elements.

Browsing with JS disabled handles things like stopping certain kinds of code -- even loaded from the primary domain -- from running.

Layered defense usually works better than a single method, and advertisers, privacy violators, etc have shown a willingness to enter a full on arms race. So I responded in similar measure.

The honest truth is I just don't want to do business with most people trying to run code on my computer, so if that's a sticking point for them on using their product, I just don't use it.
Programmers in general today have significant amounts of freedom to choose the toolchain, languages, libraries, and frameworks they use. That wasn't historically always true, especially because the available choices have been growing exponentially for the past 50 years. Many of us are using that freedom to put our efforts into innovating and pioneering this field to make programming easier, safer, quicker, more reliable, and in general trying to improve every possible aspect of it. I suspect the main motivation is that we just love solving problems, which is why we're still programmers to this day, but another and probably less publicly acceptable motivation is that it helps us get our job done quicker, which in turn theoretically allows us to make more money in the same amount of time, which is a no-brainer.
But the guy in the article was in tech.
For once there was a great discussion about this whole fiasco on reddit (yesterday): https://www.reddit.com/r/worldnews/comments/5j0ahs/us_got_it...

In particular - this comment [https://www.reddit.com/r/worldnews/comments/5j0ahs/us_got_it...]. I for one was young at the time, but simply didn't know about the office of special plans, for example.
How lasers map the world for self-driving cars
He doesn't consider that he made a mistake re fax machines. Essentially, he says he was taken out of context [0].

[0] http://www.businessinsider.com/paul-krugman-responds-to-inte...
A letter from flyover country
I just came across skip lists as part of a sliding-window aggregator in Apache Samza's metrics system[0]. So cool! Being able to work with a range of values in somewhere between O(1)and O(log n) time, while still providing ordered key/value mappings, is great. Dug through java.util.concurrent looking for more structures, but this seems to be the most interesting of the bunch.

[0] https://github.com/apache/samza/blob/master/samza-api/src/ma...
It does, but unless you know it is on top of a distributed KV store and design your schema and queries around that you will suffer horrible performance issues. Also, F1, similar to FDBs implementation, forces you to model your databases differently than you would in a "normal" oltp relational database.
I lost it when the guy said don't use an IDE. What's the point of having a static type system when I can't use an IDE to see where a specific method is called.
Be careful with this. It's usually a sign of a political double-talker. The manager hasn't forgotten who he works for, even if he wishes you would.
While this article is probably wrong (I don't know what the economic impact of the fax machine was, but I suspect a lot smaller than the Internet), we should probably all be asking ourselves whether the economic impact of our industry is really all that big.

Looking at the profit of companies like Google and Facebook overstates the impact for them. They are making tons of money, but a lot of that is just a shift in the location of advertising dollars. Amazon has lowered prices, and there's real economic impact there, but what is the actual percentage?

In my current line of work, transportation management software, we're giving companies tools to be more efficient and reduce their freight expenditure, but the reductions are really very modest--good enough to keep customers happy, but nothing revolutionary. That seems to be the pattern for an awful lot of software: if you can beat an established industry by a little bit, that's enough for a business, but that's not the kind of revolution that you'd think there is listening to people hyping startups.

And if you think I'm wrong, ask yourself why GDP growth has been so anemic in the age of the Internet.
Website/webapp would probably be easiest. Airbnb started as a website.
We've asked you several times not to post like this here, so we've banned the account.
The Boring Company by Elon Musk
Honestly I feel like the big interoperability pitch that was put on NodeJS / javascript was just smoke and mirrors to sell various educational, PaaS, SaaS, consulting, etc. products. I see much the same for Swift.
No one is disputing that it's possible to add too much vanilla to your ice cream recipe.

Please just try this experiment: take a scoop of chocolate and a scoop of vanilla ice creams and mix them together and eat it. Is it unpalatably overly vanilla? No, of course not, it tastes like mildly chocolatey ice cream. Which is to say, it's pretty good.

I'll admit that I'm interested in what contortions you can come up with next to keep justifying this. I'm greatly amused by this conversation.
What are the 4 possible outcomes of specialized AI on US jobs?
> If you actually had problems involving trees, you'd know that besides the usual data-structures we all know and love, problems involving trees and graphs rarely have prepackaged solutions...

You seem to argue that having deep understandings of these types of issues makes you a better employee in the long term because eventually you will come across a hard problem that requires these skills. I would argue that an engineer who doesn't have a great grasp on the internals of fundamental CS data structures, but knows how to priotize time, will work on somebody else's mess or deal with corporate BS without complaining is more valuable both in the short and long term.

These types of engineers are just simply better and more productive to work with.
Weird thing is, I am in fact using it...

But their server should also redirect normal users.

EDIT: ah no, different computers. On my personal computers I have it, not on my workplace computer. (and my point remains, they should redirect traffic)
I was saddened to read the release notes that state:

"OpenSSH is a 100% complete SSH protocol 2.0 implementation..."

This bug[0] calling out the fact that OpenSSH doesn't implement section 6.9 of RFC 4254 (which allows you to send signals to remote processes) has been open since 2008, complete with community submitted patches that implement that part of the protocol.

My recent pet Golang project[1] is a parallel remote command executor that uses OpenSSH, and I would really love the ability to better manage remote processes I execute via SSH.

[0]: https://bugzilla.mindrot.org/show_bug.cgi?id=1424

[1]: https://github.com/spudlyo/metassh
Building Jarvis
>It's kind of unfair to point and laugh at the person who didn't predict the future correctly.

If you're going to put your predictions out there in the public sphere as an influencer, then I think it's fair (in fact necessary) to judge people on those predictions and their record.

However, I doubt many of us would do better if held to the same level of scrutiny. Two examples from these boards: Dropbox ("it sucks!") and Theranos ("game-changing!") would embarass at least a few of us.
It really depends on the corporate structure. The unfortunate fact of the matter is that, at least in some dosage, middle management is a practical necessity. Many organizations implement far more than they need for the sake of empire building and ego stroking.
>> "What the fuck where you thinking?"

In the context of any job I've ever worked this is unacceptable language and if a senior colleague, in particular, talked to me like that he'd be taking his arse home in a paper bag.
This one also sets the body to `overflow: hidden` and has a scroll event listener that tries to prevent scrolling the document. At which point I bounced.
He seems to be a pretty happy iOS developer. He likes Swift as a language (and I must say having used it in frontend dev it does have some very nice things many other languages often used for server-side development don't come with), and he loves XCode as an IDE. If for their personal use-case it does the job and isn't missing major libraries or so, I don't think why such an endeavour shouldn't be supported?

I don't think it's so much about sharing libraries - consuming and creating data is quite different, and backend and frontend work probably shouldn't be duplicated.

NB: Some of those 'features' I mean are:
- Strongly typed (compared to JS, Python, Ruby..)
- Compiles to binary which could bring benefits depending on your needs (compared to JS, Java, Scala..)
- Being very new, there's little 'legacy sillyness' in Swift 3. Comparing some PHP sites to Swift projects (Frontend, we don't use it in any backend applications yet) I can tell you which one I'd rather work with.
You are correct. 1998 is the year of Pets.com and many other internet bubble ventures. Which led to a surge in CS enrollment from ~1999-2005 which really, really sucked for those of us that actually wanted to study CS and weren't in it "for the money". The professional/academic feedback loop also managed to catch me when I tried going to graduate school (again, actually interested in it) and found myself surrounded by people who were in grad school to ride out the (then) downturn in the internet-based business sector (circa 2006). Enrollment numbers were sky high in grad programs so competition for advisors and TA positions was much harder than normal. Very frustrating times.
Ive also found that US Aldi is also carrying some Trader Joes products. I was quite thankful, given we do make a trek to the Trader Joes about 1:20 away. Our Aldi is 10 minutes away.

I've also found fresh foods, cheeses, some wines to be of really good quality. And if something's bad, they have a "replace+money back" guarantee - as in, 'were sorry you had to come back, here's your money and the goods for your hassle'.
Or a website I was trying to fix: the source in view source, and thr stuff on dev tools, never matched each other, even with JS disabled. in the end after days I gave up and the page is in production, crazy bugs and all, because I can't figure why on both chrome and Firefox the webpage end with lots of random "strong" and "span" tags that don't exist anywhere in the original source. The tags aren't even closed properly, some are never closed, some are closed multiple times.
last time i tested this was a couple years ago.

i could not find a reliable way to make the 304 requests disappear using any available cache-related headers :/
It's not censorship because people still have access to it. The supreme court has already held it's okay to put small reasonable restrictions on certain types of speech so long as you don't forbid it altogether. Putting a small fee on obscenity to prevent access by minors and fund human trafficking is well within the bounds of the first amendment.

Free speech is not some pure beautiful ideal concept. It exists solely as a creation of the constitution as interpreted by the Supreme court. And there is strong precedent from the Supreme court that these types of restrictions are perfectly compatible with the first amendment.
I would speculate that the decrease in "good ideas" is at least correlated with, and probably causally related to, the decrease in government spending on research (2% of GDP in the 1970's to 0.78% of GDP in 2014[1]). Considering that the entire US technology industry was originally supported and sparked by government research, I would imagine that a large part of the problem is that corporate R&D is a poor substitute for the longer-term, non-profit-driven perspective of government research. Further, I wonder if, in general, lack of government-funded research leads to less competitive markets that are more amenable to established monopolists, since in that scenario, research is emerging primarily from corporate R&D departments and emerging players in markets can't compete. I don't have any empirical evidence, but I think interesting to consider.

[1] http://www.bu.edu/research/articles/funding-for-scientific-r...
You Need to Rethink That “Jump Server.”
Thanks for the review! I didn't mean the article as a marketing post, but I wanted to share my (long) thought process.

Nothing in the article is new in the concept, but maybe™ the time is now right. Frankly, what the part I'm concerned about isn't the semantics sharing at runtime, but it's the de-coupled, declarative approach in writing the clients.

With hypermedia, we've failed at the gates of client development. The devs tend to tight-couple their code with APIs, ignoring the consequences. If there won't be an incentive on client's side, then nothing from the article will matter.
The essential Marc Andreessen summer reading list (2016)
Kaas eten om je gezondheid te verbeteren and Recepten met kaas
Krugman today wrote an article saying that America is at risk because some politicians are prioritizing their own power over the good of the country [0]. GOP politicians in the new cabinet and the White House are named.

Why was the OP posted to Hacker News today? Is it in response to Krugman's dire warning about American democracy and how the GOP is putting us all at risk?

Be careful about politics on Hacker News. The tech industry has an important role to play in media, and we know that the GOP has spent substantial sums to create bias in the media. [1] There is a strong incentive for the GOP to astroturf Hacker News and we should all be careful.

It's true that "reality often has a liberal bias" - and that's because the leaders of the GOP -- politicians and their big donors -- are trying to create their own reality, where they can cut taxes to keep more money in the pockets of the 0.01%. Use your own head when you see links like this.

[0] http://www.nytimes.com/2016/12/19/opinion/how-republics-end....
[1] http://www.salon.com/2008/09/24/mccain_letters/

edit: I expect the vocal right-leaning minority here to vote heavily; if you agree with the above and you're not a frequent voter please upvote posts here you agree with.
Where are the personalidade attacks? You thrown the accusation around, the ball is on your court to prove it. Stop beating around the bush and answer the question.
At Home with Mark Zuckerberg and Jarvis
You. I like you.
Cancellation can be implemented with another promise passed into cancelable function as an argument. This way it is easier to see that asynchronous function is cancellable. And Promise implementation would become simpler.
The lady doth protest too much, methinks.

-- Hamlet, Act 3, Scene 2

How often have we seen politicians champion an issue only to find out that it's over-compensation for the presence of that issue in their personal life... cough Foley cough
Russian ambassador killed in Turkey
Are these grocery stores you're comparing to also in Manhattan? If so, there may be other pressures at work to keep prices in most all stores high, with perhaps the boutique store (Whole Foods) being able to have slightly lower prices for strategic reasons. I've worked in a store that never, ever pulled a profit, but felt like more advertisement for another location that certainly did. I mean, you did mention the store by name, here.

The most expensive food I've ever bought were in small bodega stores (unhealthy food), or like the pantry of a camping place (where else am I going to?)

Your post piqued my interest with your price of 2 dozen eggss: $4-$6 seems on the steep end. Lots of prior HN discussion on chicken egg economics ;)
Boto: A Python Interface to Amazon Web Services
What will happen when someone decides that a controversial political belief you have, or activity you participate in, is something they "would prefer not to see"?
Meaningful VC Exits
... Rude and insulting? Crap is crap. Don't pretend to polish a turd.

I seriously do not understand why you think it's insulting. Because a swear word was used for emphasis?

And they weren't a friend. A colleague. In a professional review of their conduct.

What would be lost is this: standards.

Linus shouldn't have had to deal with the issue, and that was immediately acknowledged by the correspondents, who truly did not seem offended, "my bad".
It's more than that. If you have any regular exposure to the right side of the political spectrum in the US, porn basically came out of nowhere as a political issue fairly recently. It's always been there, but it was sort of a fringey thing to get upset about (compared to, say, think-of-the-fetuses, or hating on teh gheys for wanting to get married, etc.). Plus it had a certain whiff of feminism about it, which probably scared off some of the hard-right who can't decide if Andrea Dworkin should be venerated as a conservative or burned as a witch.

But, for reasons that are opaque to me, the intellectual tarpit of the hard right seems to have coughed up pornography as their newest social wedge issue.

And now we're seeing the next phase in the playbook, which is to push various degrees of insane legislation at the state or sometimes even local level, while at the same time they have an army of pundits working the media, beating the drum about "porn addiction" and generally trying to frame it as the latest "public health crisis".

I would not write it off as simply some greedy politicians. That's probably how it was sold to a particular group of self-interested politicians, in this particular instance. But there's a greater strategy at work (whether directed or as a sort of emergent behavior), and it fits together very neatly with other socially-conservative/authoritarian issues.
I wrote everything from scratch. I started with TASM on DOS in 1993 and wrote my own compiler in 2004. It is a unique language.

A nigger doesn't seem to understand that a white man can invent a language when he makes a compiler.

A lot of people think that the INtel chip runs C. They don't understand what a compiler does. They think you cannot make a compiler.
I am sympathetic to the author. I know a few people who are very strong in the Humanities, are well-read, and have a mastery of the English language, but can't find a Humanities related job due to market saturation. My wife falls into this category. She would be hopeless at learning a "marketable" skill like HTML and JavaScript. Asking these people to serve as a cashier is a waste of literary talent. I don't have any great ideas on what to tell them. There needs to be a better solution than go work as a cashier or go learn JavaScript.
Inspiring Great Gifts Ideas on Pinterest for Businesses to Market This Christmas
Perhaps he's wasting time in some sense, but then in another, that's how quite a lot of people end up getting a job. They apply for hundreds of them, and that get lucky with one or two offers afterwards. Yeah, it's unlikely they'll get any particular one (because hey, competition is high), but jobs, interviews, auditions, etc usually kind of work on the expectation that 99% of attempts will be fruitless.
Das trumpenfuhrer and realistic are not congruent.
>I used that as motivation.

This. I worked overnight stocking shelves in a grocery store for awhile. It sucked, but I did a good job while I looked for different work. Then I waited tables for awhile after that. All the jobs I have had have taught me various things, but the main one was motivation to not have to do those jobs.
I see I also missed you comment on internalizing concepts. I think that is absolutely true. Also at the language level. There are a lot of things "internalized" by higher level languages.

To the point of android, though. I am getting my kids a Kano computer. Hoping that line will get them interested in the nuts and bolts, as it were. I need to be better and build things with them. :(
Per this news report he was injured, but Reuters flashed a breaking update that he was dead as I was about to post.
http://www.reuters.com/article/us-turkey-russia-diplomacy-id...

For some reason HN won't let me delete the headline, but I imagine the BBC will update their story in the next few minutes.

This is a big deal because Turkey is a member of NATO and the two countries have had several skirmishes in the last year. The death of an ambassador is often a casus belli.
I'm shocked that this story seems to be upvoted less than the Gimli Glider story which has been on the front page for more than a day.

One would think that the recent allegations of Russian hacking [0], as well as these allegations, would be of interest to the HN community. Whether either of the allegations is well-founded or not, they need to be investigated and understood by the public.

It's worth noting that the President spent a great deal of his final press conference discussing the Russian hacking issue [1].

Why is this not bigger news, especially here?

[0] http://www.cnn.com/2016/12/19/politics/russian-election-hack...

[1] https://www.emptywheel.net/2016/12/18/obamas-response-to-rus...
I think the OP of this thread means performance is obscured and as a result requires tuning which can be finicky and difficult
That's a bit like Alien vs. Tintin vs. Predator.
> I made some money but it seemed most things tagged JavaScript or PHP were either design work or WordPress plugins.

Indeed. Most work has to do with something pre-built, e.g CMS wordpress, joomla, etc. What projects do you work on?
Hideo Kojima's Latest Trailer Fascinates Fans
The problem is he/she might be right in a vacuum. Denormalizing the data might be "100x faster!", but they're naive to every other technical non-technical burden that comes along with that decision. Part of our interview process is selecting for people who can come up with the most efficient answer, but efficiency is a squishy thing when you're a member of a team.
Presto implements the SQL standard, so the syntax is identical: https://prestodb.io/docs/current/functions/window.html
- "Things like user on boarding should be done in person or over the phone, not in electronic communications."

This sentence really bugs me...