skysight-inc/HackerNews huggingface dataset:
I think that TCO (and similar optimisations) are a bane to most junior developers. I vividly remember pulling my hair out when trying to single step through optimised C++ code early in my career. But in my experience, all good developers come to this point where they realise -- Hey, I don't need to single step through this code. I can read it and understand what it is supposed to do. These days, with the popularity of techniques like unit testing, debuggers are not really necessary. I've spent the last 4 1/2 years writing ruby and JS code and I don't even know how to use the various debuggers -- never needed to.

So I'm with you. Just give me TCO every single time -- or give it to me never. Optimising it by hand is not that hard, and it's what most non-functional programmers do most of the time anyway. You'll see loops where recursion would be clearer, but then when you look at it hard you'll realise that it's just the TCO optimised version of the same code.
While I agree that the article (and much of the coverage) is sensationalized, I don't agree that the description applies to the entire topic.

I can see reasonable arguments for supporting regulation under either FCC or FTC. The problem at the moment, as I understand it, is that neither agency has any authority over privacy and security practices of the ISPs.
Online gaming in India: Reaching a new pinnacle
Shadowban test
This thread seems to be a series of "well, they had to make this error because previously they had made this other error"... presumably this can go on ad naseum, but isn't the eventual resolution going to be "spend money to install current hardware and software"? They could have done that at any point in the past. Complicated etiologies for broken systems, miss the forest for the trees.
Looks like its getting the current time from the json response. How dare Google distribute the current time?
I find that I will lose and gain focus throughout the day when I have a task when I don't know what to do next. When I do have energy I will try to push past it. After awhile though I start reading HN. The amount time I will read HN depends on an ever decreasing amount of energy. After about 3-5 times of losing focus and not making progress I will spend increasingly longer on the site.

From the website I am practicing mindfulness throughout the day since I have my Apple watch (through the breath app). I think mindfulness would be good for hackers. On physical tasks you could lift weights but on mental tasks your goal is probably reducing anxiety or frustration. Or preserving flow (Podmoro supposedly does this but I could never get into it).

On the other hand if I get a good flow going and I am uninterrupted I will probably forget to check HN and I will continually work until I do get stuck even if that happens.
It also gets interesting when you start optimizing for time as you can get some parallel processing going and it's just a matter of syncing them for the output.

Or if you optimize for number of cells use, you need to figure out how to do multiple things in 10 instructions.
but kungs iwarp machine was 32 bits wide, had a scratch sram (i forgot how big), and 32 registers

it was a lot like programming a 32 bit arm, except there was a mov-to-my-neighbors file instruction .. and maybe full/empty bits?
Potato, potahto.
The government provides the cooks and household staff, but the president is responsible for paying for the food.
I was referring to these two parts.

> Look, my view is that people put too much energy in shaving off microseconds to get to the exchange.

> This has no benefit for the non HFT traders in general.
Es un orgullo vivir en California // Proud to live in Cali
Files visible to other users in Amazon Cloud Drive
AFAIK iOS (and tvOS) devices only support playing formats+codecs with native hardware decoder support; they don't have any pure-CPU decoding implementations.

This, from what I recall, was an intentional choice to disincentivize developers from making the "easy choice" to ship assets in the same format+codec for all devices, where such a format would burn the iOS device's battery doing CPU decoding. Instead, most developers will choose to separately encode their assets for iOS, so that they can use the iOS media frameworks—which coincidentally means that they'll be using the efficient hardware encoding and not burning much battery at all.

However, you can ship custom CPU decoding in your app if you want (e.g. VLC.ipa).

Websites, obviously, aren't (usually) built for single architectures, though, so it's a bit of a pain for them. Larger web video providers (most porn sites, for example) keep iOS-specific encodings on their CDN and try to detect the browser's user agent to decide which version to deliver. Other providers just give up on the concept and build specific iOS-specific apps in order to ensure the correct media is delivered (this being why there are more "video-sharing site" apps for iOS than for Android.)
In german civil and commercial right, that is exacly the case. One can indeed enforce the non compete in which he has to stipulate in the contract the amount it is going to pay you if you are not allowed to work for someone else. If this is not stipulated, the clause cannot be enforced.
I should have mentioned something earlier, but I totally agree, and I'm not sure why these things happen on human timescales. =/. Looks like no one answered with a detailed-enough response to 100% understand it, but maybe that's an opportunity for a good blog post by an expert. (and hackernews karma from me!)

Otherwise, I hope things have been going well, btw =).
Is there a good place to read up more on the "fractal" distribution idea?

I assume at least some work has been done in the last 10 years.
And maybe dim the background, as wel as giving information about the creator of the application and if its codesigned. oh wait, that was too obtrusive and annoying
Allegedly, the "Cadillac tax" on expensive employer provided plans was supposed to phase out employer coverage. That portion of the law purposefully wasn't indexed to inflation so that eventually more and more plans would be subject to the tax.
You raise a very interesting point. Engels said (I can't find the quote at the moment) that the time when the employee is away from work, i.e not selling his labour-power, he is useful to the employer, as the worker repairs himself and maintains himself with the wage given to him, and recharges his faculties by rest and sleep. In this way, the employee is never off the clock, he is always working for that employer in some form, readying himself for more work.

This is evident; the employer pays for the upkeep and maintenance of a machine, and in the same way he pays for the upkeep and maintenance of the worker in the form of a wage. The worker is a self-fixing machine which sells a commodity which is able to not only transfer but create value.
Especially if that tuft of grass is on piece of real estate in the bay area.
Is starving to death really better than signing a shitty contract?

It's not very easy for most people to find a new job.
Unrelated but how accurate is that 70% statistic? I would have expected that number to be much higher.
Are you honestly not concerned in the slightest about a future in which people have to go into debt in order to read textbooks?
Also, what group of people? the World? The US? San Francisco?
Ask HN: How can I add good search to my website?
Hi HN,

I'd like to add good search functionality to an e-commerce website running with PostgreSQL as its database.

I've heard of ElasticSearch, Solr, and PostgreSQL full text search but never dug much farther into the subject.

Which tool would you guys recommend (I'm looking mostly for ease of use and maintainability)? What are the best resources/tutorials to learn how to use these tools? Where/how do you host these search engines (the cheaper the better)?

Thanks!
That's because as soon as we leave, we forget about domestic politics in the old country and stop reading those forums.

We're too busy whining about domestic politics in the new one and talking about how we're going to leave it :).
Thanks.. Searchera is something that I started building as a side project. Been working the past few months on packaging it with proper API and plan on offering it as a hosted & on-premises search service.
Why would legality change the moral aspect?

The law is an imperfect reflection of morals, not the other way around. Most people's sense of morality is not based on the law.

It's possible for perfectly reasonable people to think non-competes are not "absurd", regardless of California employment law.
I always wonder why there is no 0x10c'ish game yet (it was a game prototype set on a space ship where you could program the computer), as there was a lot of hype around it and the idea seemed really nice (https://en.wikipedia.org/wiki/0x10c).

There are some games that explore that direction (e.g. space engineers has some kind of programmable block), but no successful ones in the spirit of the original 0x10c vision (which was pretty vague and maybe the hype and high expectations killed it). I still think that one could build a great game around the main idea, but probably it is hard to balance the game mechanics between "real" programming and actual game play without alienating users that want to get into programming and actual programmers that want to play a game.
Basic Income Is a Dead End
8 Npm Tricks You Can Use to Impress Your Colleagues
As a developer that has made these tests, I hope you do it but understand if you won't. We tried to start paying people to do these but it's too easy to make arguments that this makes people employees so legal wouldn't allow it.

According to research by Google and others, the best correlated metric of a successful software developer is IQ. Unfortunately it's hard to make a test for this that doesn't discriminate against protected classes. So we settle for the two second-best predictors. These are a work sample and structured interview. Together these can predict maybe 50% of job success.

If you've been in a position that involves reviewing others code its apparent that there's an extremely large spectrum of programming skill. We found work samples to be extremely effective for weeding out people that we would need to clean up after (damage quality metrics of our codebase). The upside for you is that if they take work samples seriously you're probably going to be working with more skilled developers.

When we added work samples to our interview process the amount of people we had to retrain or let go for lack of development skills fell to nothing. Before that it was ~30%. Some people are really good at bullshitting you :)
From what I have learned from hiring others to join high profile and high performance teams these coding tests are very valuable and helps the team get a good look at what you do rather than what you say. A good benefit to this is, that it fairly helps include all personality types (quiet, outgoing, shy, etc.) and focuses on if they can perform an actual development project from theory, design, and finally to production.

Once we started adding tests to our interview process the quality of people on our team and time to adjust dropped dramatically along with a decrease in the time between a hire and the individual leaving the company. Normally they only left if they were moving to another location or had a big family change.

The task at hand is very simple, and helps weed out those that copy and paste everything along with those with an engineering title that have not actually been doing development for as along as their resume says they have. For those with actual experience developing projects, launching to production and maintaining them on a regular basis have a large capability to shine for these types of easy entry tests.

I am guessing you are applying for a Senior or Principal level .NET Web Developer role? If so this test, tests your knowledge of taking customer requirements and turning them into a working prototype for review. It also tests your database and web development skills with C#, MSSQL and many of the various methods of developing web apps using standard web technology. The big test will be the way the final product is packaged up along with it's unit tests. If done correctly it proves you know how to conduct good deployments to production and actually tested your work instead of just copying the code to the server without packaging it up the .NET way.

You are basically being asked to use the regular full cycle of developing and deploying a .NET web application. Many web developers do not know how to do this and just copy their code to a web server without packaging, changing the release types, unit tests, etc. I would recommend using this as a good way to actually set yourself above other candidates that want the job by going through the entire SDLC with a high quality MVP.

When you get to the good jobs (higher quality engineering standards in place) normally the interview process is longer than your first job back when you first started as they just needed programmers not people that could conduct all parts of the SDLC and maintain large applications. Sounds like they want you to be able to do the latter and not just a small piece of applications.

For my opinion on what to do, I always recommend doing these code challenges, as they are normally a pretty good mental engineering stimulant and honestly they have all been pretty easy and did not take 4 hours to complete unless I was trying to add extra shine awww to it. Normal outcome was a call back a few hours after they reviewed it with a really nice job offer wondering when the earliest I could start with a signing bonus to seal the deal.
Relevant: Nick Middleton - An Atlas of Countries That Don't Exist: A Compendium of Fifty Unrecognized and Largely Unnoticed States
Zuboff's surveillance capitalism is instructive:

https://en.wikipedia.org/wiki/Surveillance_capitalism

video: https://youtube.com/watch?v=0QwPHinDdOc
What's the Byzantine Generals solution he's talking about? I thought most BC implementations can't recover from worst case BG problems?

That said, I know a lot of people using the tech and they're making money with it, solving real technical problems. I suspect maybe Bray doesn't know about it because it's easier to assume that it isn't than to verify it so.

There are specific industries where block chain limitations don't matter, and its guarantees do.
The parent comment isn't talking about the payload being returned, it's about what domain Google is hosting user content on.
It is somewhat fake. Digging a hole and filling it shows up on GDP statistics even though it is pointless and adds no real wealth to the population. Chinese growth is a lot like this. A lot of production for the sake of production. They tend to have overproduction in many sectors. So they their GDP growth is made up of a lot of stuff nobody is demanding. Of course this kills profits, but since China had capital controls investors can't move their money elsewhere.

This is why Chinese growth is considered unbalanced. Also a great example of the stupidity of obsessing about GDP numbers.
On Windows NT you had to press Ctrl-Alt-Delete at the login prompt
because that was a key combination that no other application could
intercept. Nowadays you work as a non-privileged user but then you have
to enter your admin password in various dialog boxes with no way of
knowing if its legit (sometimes ubuntu shows you an ugly-looking
(i.e. wrong styled) gtk input dialog during updates. But only
sometimes. Thats very confusing.).

On the other hand, each desktop application should be able to request
root access. And if you trust these applications (e.g. handbrake on
macos) you wouldn't bother to press Ctrl-Alt-Delete or do whatever else
it takes.

Any good solution for that?
How does ClickHouse compare to Redshift? I'm sure CloudFlare doesn't want to use AWS products, but I am curious if anyone's used both.
Hmm, type in "Knowledge" in search, no results. Quickly close tab.. Moving on...
The point is that it's an arbitrary user submitted script. In this case it was just the time, but it could have easily been a botnet command and control message or some other malicious content.

It's standard security practice to serve user submitted content on a separate domain, so I'm a little surprised that Google isn't following it.
In other words, as long as you are unaware of the surveillance, you are happy to pretend it doesn't exist? So where's the problem? Just don't click on links like the OP.
Nice find, I commented on your blog a method you can use to extend this vulnerability into RCE without admin interactivity.
Exactly. This is a classic case of a confounding variable. The happiest nations are also the richest ones. The richest ones have lower growth than developing nations precisely because they are the richest: developing nations can achieve growth by increasing their literacy rates, building infrastructure, and making other capital expenditures (e.g. farming equipment, high-tech machines for factories). The richest ones already have all of that, so their growth needs to come from elsewhere.
Top SpaceX employee throws shade at just about all of his competitors
What use is power if it doesn't make you or your descendants happy?

How is being a world power a gain, if, by doing it, you sacrifice the very tenets that your country was founded on?

What use is power if it begins the process of curtailing freedoms and privacy for the minorities and majority (respectively), all the while aggravating the problem by funding problematic groups (causing a feedback loop)?
Having discovered some of these techniques through trial and error, it is helpful to see some research backing up and expanding on keeping the creativity flowing. Positive constructive daydreaming (PCD), exercise, taking a shower, napping, and more are helpful for getting access to more inspiration than just your conscious thinking can give you.

Others have studied this, including John Cleese, as detailed in his lecture on Creativity: https://www.youtube.com/watch?v=9EMj_CFPHYc
You absolutely should have knowledge of your target platform and whether it does TCO (and whether it kicks in for your code).

Otherwise, you may decide to just use recursion everywhere and then your stack overflows when your N is bigger than expected.

When in doubt, don't use recursion and don't expect that you get TCO.
In addition to collecting rogue broadcasts you can create a new virtual wifi interface in Managed mode with an ESSID like "linksys", "attwifi", or "xfinitywifi" (or all three?) and start collecting frames. This will bring out the people who don't broadcast.
Bit pedantic but it's 'toe the line' [1]

[1] https://en.wikipedia.org/wiki/Toe_the_line
It has given the general public very convenient access to a "gold-like" asset.

Immutability causes bitcoin to have no counter party risk, just like gold. It has limited supply, similar to gold. Along with all the other money-like properties of gold.

Yet it is far more portable and accessible.
Interesting​. I never even considered those as ethnicities. Just places you live and what your demonym is.
You don't. Assume you don't get it. Right now, chances are you don't get it anyway.
Just develop it anonymously and make information on how to flash it yourself either on an .onion page or on a server in a jurisdiction that does not care (so much) about US American intellectual property.
Quoting Herb Cohen's "You can negotiate anything" about signing leases under unfavorable terms:

"In rare cases where a person still hesitated to sign his or her name, I might add 'The legal people won't approve of any changes'. Keep in mind that the legal people didn't even know they wouldn't approve of any changes. Nevertheless, the phrase worked like a charm, since 'legal people' projects, on a wide screen, a powerful image of legitimacy. One theoretically doesn't fool around with the legal people."

Part of the magic of contracts is that everyone seems to believe they are magic. But a contract is simply an agreement between two parts. You are more than welcome to suggest changes to it.

As for the PDF, just because the company makes it harder for you to change its terms it doesn't mean that you can't still do it. For an extreme case, this guy[1] scanned a credit card contract, modified its terms, and send the modified application back. He then sued the bank, and won (they settled during a later appeal).

[1] http://www.telegraph.co.uk/finance/personalfinance/borrowing...
The response from script.google.com is a 302 redirect to script.googleusercontent.com. IOW, google.com itself does not serve that user content.
"Being full time employed means just that."

"Full time" is just shorthand for "40 hours per week." Don't read things into it that aren't there.
Do you have any evidence of that disclosure mechanism actually working in the employee's interest? I always read these clauses as 'notify us when you start new side projects so we can decide if we like them and take them off you for some reason or other'.
We need a right click > verify, then user pastes in the hash. It could also be added to the browser.
Can anyone from New Zealand comment on whether the same problems exist there? It's even more geographically isolated so I'd expect that to be the case, but who knows.
In finance, companies will pay you your salary to not work if they decide to enforce a non-compete. It's written into the contract. I have friends who get to take year-long paid vacations when they switch jobs just because they work in HFT.

I'm surprised that this isn't law. I guess financial companies care about their employees more and/or their employees are more astute about contracts.

Companies shouldn't be allowed to prevent their ex-employees from earning a living. If it's that important for them to prevent the transfer of their proprietary information, they should be happy to pay for it.
The wikileaks hysteria is ridiculous, it's on par with lunatics believing Jews control the world. Since when spreading conspiracy theories became normal? The stupid American elections have ruined everything, everything is fake news, everything is fascism, everything is Kremlin.
A lot of times it's the hardware interface that's the issue. Old stuff uses serial and parallel ports, motherboard slots,or even abuses PS2 for other purposes.

Good luck finding a windows 10 compatible PC that has ISA slots for example. A lot of old custom hardware hooked right into the ISA bus
The science behind "ego depletion" is at very least controversial, namely because the effect has not been reproduced in subsequent experiments.

* Wikipedia provides a good summary of replication attempts: https://en.wikipedia.org/wiki/Ego_depletion#Reproducibility_...

* Slate covered the topic here: http://www.slate.com/articles/health_and_science/cover_story...

* And here is a recent, large replication study: http://journals.sagepub.com/doi/full/10.1177/174569161665287...

As a result, I would hesitate before using "ego depletion" as an excuse for rationalizing a lack of self-control (eg. giving into "cheat foods" or being irritable/impulsive). Whether or not "ego depletion" is real, science has not yet adequately validated the theory.

Moreover, there is a risk to accepting the theory as true: because one believes in "ego depletion," one can rationalize a lower degree of self-control, which may have been higher otherwise. This creates a self-fulfilling prophecy.

I think it is fair to assume that, given the current research, "ego depletion" is no more than a reasonable hypothesis. It is possible that willpower may not fit the "finite resource" model at all.
>Upload a .py file to the untrusted directory that has the same name of one of the imports used in the Python script. It will be executed the next time Python is called by the script, so you don't need to wait for interactivity on the admins part

I have a feeling that only works on python2 because of absolute imports on python3.