skysight-inc/HackerNews huggingface dataset:
Ask HN: Consulting firm in an offshore country?
I'm a software consultant with clients all over the world, living in not the most stable country.

I'd like to open a company in a more stable country (currently I'm operating as a sole proprietor in my home-country), and Belize/BVG/Panama seem to be both stable and very easy to get started with.

Are there any downsides in having my business registered in one of those countries? Would it put off clients? Which country would you recommend?
We have nothing to hide from a government whose IRS can decide to confiscate your bank account because they claim it looks like you've been trying to skirt reporting regulations? It has happened, enough that the IRS has announced they'll no longer do this. But they decided to do it, they decided to not do it, and they can decide to do it again.

We have nothing to hide from a government whose police forces can stop your car, pressure you to allow a search, and then confiscate any money found?

We have nothing to hide from a government that has been demonstrated willing and eager to take any law and subvert it to allow just about anything they want to do? A government that routes around the Constitution?

We have nothing to hide from a government that can't even keep personnel records, security clearance investigation records, secure from internet hackers? That right there has to be the ultimate argument; they can't be trusted to keep the information they gather, legitimately or not, from criminals, regardless of any bad intent or not.

I do have something to hide from government: the keys to government.
Thanks to all!
>Do you know htree achieves this space efficiency?

This is a new data structure to me too but if I understand it correctly, one aspect of it, if you do it right, is you don't have to store the tree at all. You just store the data in an array, and use the procedure to look up the item in the array. So the tree is virtual. Anyone who gets it, am I right about this?

You would potentially need a sentinel bit or something at each element of the array to tell you whether there is a value there. Or if all your values were non-zero (say you are storing pointers to other structures) then that is already taken care of.
Once you've set up Enigmail with your PGP key, it is as frictionless as sending unencrypted mail.

I use Enigmail to send encrypted email on a daily basis. It couldn't be much easier than it is already.
Well, the reasoning is that we all want to be in the same physical location (because working together remotely is ineffective).

And SF is a nice place to be :)

(Yeah, I agree that it's not critical that we spend the summer in SF. But that's where everything is - it's a good place to be, if possible.)
A proper build is hermetic. Sure we have to deal with pre-existing bugs, but nobody outside our org can make intentional changes to our build today without our actively consenting to deploy their updates after first testing them.
They pay them with prepaid cards?
>and in turn, demand for storage is slowed by lack of need for storage.

Are you talking about consumer storage? Because need for enterprise storage (which I sell), is only increasing. What is decreasing is the revenue/profit per TB (naturally).
Historical materialism
Omega tau podcast
It's a title.
What you wrote and the article are spot on to my symptoms. I often pass off my intense excitement as a personality trait and have rarely met anyone similar. I often relate bi polar to uncontrollable changes while my changes are very reasonable and often predictable though prolonged and intense. I appreciate you sharing this information with me
I think this is better understood as a consequence of Bonini's paradox (https://en.wikipedia.org/wiki/Bonini%27s_paradox).
Good old death metal.
I would posit the social signalling theories of Robin Hanson as perhaps a theory of this magnitude.

The problem is, though most of Hanson's theories have plausible explanations and "feel" right, there is very little experimental evidence and very few studies are directed in that area. In fact, you might even say it is a symptom of that type of signalling itself: as homo-hypocritus, we don't want signalling theories to be proven true so we make up reasons for deriding signalling explanations as not rigorous enough to even merit being properly tested or studied. Of course, this too is no better, because then do we just actually have no evidence to believe in signalling explanations, or are we using signalling excuses to suppress the meaning of that evidence? It's somewhat self-defeating.

The next most important theory I would posit is Prospect Theory by Kahneman and Tversky. But there again, many aspects of it have not been successfully replicated, and too often limited experiments are generalized too much.

One set of social theories that I would love to see given more quantitative foundations is the research from the book Moral Mazes. Robert Jackall carried out some lengthy longitudinal studies in which he collected anecdotal narrative and interview data from employees at all seniority levels through a couple different firms. He was able to see people rise up the corporate ladder, people get fired, executives fired and replaced, large layoffs, etc., and conduct informal interviews with employees all up and down the ladder.

Based on his interviews, he put together a series of theories about how morality and ethical identity form within bureaucracy, and particularly how managers develop an understanding of ethical obligations to subordinates, and how certain factions of an organization (notably HR) come to function when there are competing concerns between ethical expectations and bureaucratic mandates.

In every job I've had, it's been a frustrating experience of basically saying, "Yep, I know this chapter from Moral Mazes ..." because companies operate almost as if they've read the book as a field guide.

Yet at the same time, it's still just a qualitative study that is scaffolded by academic sociology. If it were actually possible to collect that kind of data from corporations, I'd love to see some theories from the book explored more quantitatively.
This Will End Well: Our greatest daredevil stares down middle age
No, you just have to practice.

I'm not blind. I listen to all podcasts at 2x speed and I can't stand to go back to "normal" speed because it's so slow. While doing accessibility testing I've found myself turning the voiceover prompts faster and faster because I very quickly get used to it.

If you have an iOS device, set your home button triple click to bring up a shortcut menu and put Voiceover in as one of the options (inverse colors is another good one). Test your own app in Voiceover mode. Close your eyes and navigate around. You'll be surprised at how quickly you figure it out... and what rough edges your app has.
But what if he dilutes it down with water, then dilutes it some more, etc until it merely leaves the imprint of mercury on the water. /s
Not a good place to die suddenly.

I max out at 1min20. (edit: 2min00 woo)
Interactive examples of self-organizing maps
Why We Need a Transhumanism Movement
Sorry but I have typo in the documentation, the " Goroutine Safety." is the headline of following paragraph.

HTree dose not guarantee the goroutine safety:

> "Lock granularity depends on the use case."

The docs page updated.
Also, I tried a wireless keyboard once and there was a perceptible delay between me pressing the key and the keypress showing up on the screen, which is really unacceptable.
At times I'm skeptical of D3 as a wrapper around fundamental JavaScript functions. Sometimes it's simpler just to build your own damn <path> objects than it is to try and finesse D3 into building the object(s) where and how you want.

D3 does provide quite a lot of out of the box. But if you find yourself outside that box it might be worth doing it yourself.
Computer Science VideoLectures
>t would be reasonable to say that CAPM is a mathematical result, and the evidence suggests the mathematical model required for CAPM simply fails to correspond to reality. But many finance folks, especially in academia, won't admit it.

In other words, "Things are more complicated in real markets". I don't see any problem with wanting descriptive theories. Economists are interested in building models whose parameters can be tweaked in ways that correspond in a clear meaningful way to a possible actions (e.g. change government expenditure on X by Y). If you try to just maximize predictive power you're missing the point. Economics can be used to predict the future, but I would say the main goal of the field is to produce theory that will provide valid methods of altering the future.
Choose Java, Go or JavaScript for Your API
Awesome! I tried making something like this a few months ago[1] but never got around to finishing it (tiling is busted and performance is pretty terrible): http://lou.wtf/patturn/

Wallpaper groups are really neat. I especially love the p3 and p6 groups.
Building Web Apps in Go
I love listening to The Books when I'm really trying to focus and concentrate. They are disjointed and most of their "lyrics" are just snippets from old TV / movie / radio shows so there is nothing for my brain to latch onto and follow along. I can just focus on the problem at hand. Might not be for everyone but once I found them I knew I had struck gold. I've been listening to them for about 5 years now.

https://www.youtube.com/watch?v=ZHNArEfBKdc&list=RDEMJl2R73T...

You can also find them on spotify.
Ah, the good old days of the BCE.

That was a major breakdown in Amex's risk management.
From another page about the project:

The Food Computer is a controlled-environment agriculture technology platform that uses robotic systems to control and monitor climate, energy, and plant growth inside of a specialized growing chamber. Climate variables such as carbon dioxide, air temperature, humidity, dissolved oxygen, potential hydrogen, electrical conductivity, and root-zone temperature are among the many conditions that can be controlled and monitored within the growing chamber. Operational energy, water, and mineral consumption are monitored (and adjusted) through electrical meters, flow sensors, and controllable chemical dosers throughout the growth period.

Each specific set of conditions can be thought of as a climate recipe, and each recipe produces unique results in the phenotypes of the plants. Plants grown under different conditions may vary in color, size, texture growth rate, yield, flavor, and nutrient density. Food Computers can even program biotic and abiotic stresses, such as an induced drought, to create desired plant-based expressions.
> In statistical terms, these dismissals are little more than a call for overfitting - if I can arbitrarily add more dimensions to a theory, I can make it fit any data set.

Sure. However, this leads me to believe it is statistics that are the problem, and not nuance. You are in my opinion admitting that nuance invalidates most statistics, or at least allows for heavy manipulation of the statistics to fit any narrative. This is precisely why public policy should not be made using statistics. Society should not be likened to a turing machine. People, history and so many topics of discussion are full of nuance, detail and perspective; and disregarding nuance (or perspectives) is insulting to the truth.
Previous discussion: https://news.ycombinator.com/item?id=11371243
As usual, the entrenched PC manufacturers just don't give a crap. AMI released this press in September 2015 that they're finally supporting bluetooth in UEFI [1]. The necessity for drivers and the apparent lack of compatibility to standard device interfaces, and generally low software quality has made bluetooth a pain on standard PC hardware.

It doesn't have to be that way, for example Apple's systems have supported wireless keyboards and wireless mice in pre-boot forever.

[1] http://news.softpedia.com/news/ami-adds-bluetooth-keyboard-s...
This is possibly the most hacker-news-ish comment I've ever read.
plotly.js
Associated TED talk that turned me onto this project.

https://www.ted.com/talks/caleb_harper_this_computer_will_gr...
That's certainly not a bluetooth problem, but some other hardware/software along the chain. I've been using a mix of bluetooth and wired peripherals for years and never been able to tell the difference.
The page dosen't say words like "faster than a hash table".

The hash table has time complexity O(1) on get/set operations. And this tree has a constant-level time complexity, and should be a bit slower than hash table.

Besides the redundancy of the golang array auto-expanding, this tree is more space-efficient than a hash table, If you implement it in C without the auto-expanding feature, the space utilization can be better.
>>In addition to fraud, credit card companies have to contend with the purchasing power of large companies

For online transactions, credit card companies have -0- liability for fraud. 100% of the costs come from the merchant's pockets.

It's really a shame, because they are the ones with the broad access to data that would enable tools to reduce it. Of course, since there's no incentive on their end, nothing is provided.
Ask HN: Career choice: Boutique consultancy or Big 5
Hi all,

Context: Around 6 months of high intensity (deadline oriented) work at a up and coming consultancy, but haven't learnt a lot technically. A lot of time spent working on technical debt in a bloated frontend framework. Also, salary is on the low side (<$80k) for SF. [Edit: really low salary, but there's promises of frequent promotions and raises: ~$8-10k p.a.)

Should I look to move to one of the Big 5? Are the learning opportunities there any better, or is it more of the same work?

I am capable of putting hard work, and have the energy to learn new technologies outside my work. Alternatively, is a high potential startup a better choice, since I am young-ish (26)?
Sweatshops: Why Exploitation May Be an Economic Bliss
Would love to hear more about how he interacts with his computer day to day and what sort of software he uses to get through the mess that is web 2.0.
STL Algorithms in Action
And the github project is https://github.com/hit9/htree
Farmers would call this a "greenhouse". Here's one commercial greenhouse control system.[1] There are lots of greenhouse control systems. The fancier ones control water, fertilizer, temperature, humidity, oxygen content, CO2 content, lighting, etc. Some vegetables, such as lettuce, can be overclocked, with a short day/night cycle.

This stuff isn't new, although the controllers are getting smaller.

[1] http://www.climatecontrol.com/
This doesn't make a lot of sense in this example with CAPM. The economic theory provides something that is abjectly wrong. It is literally claiming there is a positive relationship between two quantities when the evidence suggests the relationship is negative.

The theory is grossly qualitatively wrong, not merely just on the edge of being quantitatively wrong in a few cases or something.
Silicon Valley Is Obsessed with First World Problems
I assume simple theories are very good for advancing the science itself. But I don't think they are as actionable as complex ones, because reality is complex, and you need to account for that when creating policy.
Same. I actually clicked hoping to read a rant against my least favorite speech company and their bad habit of buying up competition for the patents and then sitting on the technology. They own the rights to the speech synthesizer I use every day, Eloquence, which is no longer developed and will probably never improve, but is easily the most intelligible synthesizer at high speed.
That's why I said "good hash table". Even a simple open-addressing hash table with quadratic probing can easily go to load factor 0.8 with reasonable performance. With cuckoo-hashing you can get much higher and still guarantee worst-case constant-time lookups and amortized constant-time insertions.
Are there a lot of reports on the use of these phones?

Also, why should it be illegal to have an anonymous phone?
And once you've captured your photos using clever prism setups, why not display them using prisms?

You only need a standard blackbody radiating light (incandescents) and another clever prism setup to get full color projection.

https://www.cs.dartmouth.edu/~wjarosz/publications/hostettle...
Except that he's not - Buffet's corporation is taxed, and then it gives money to him in the form of dividends and then he's taxed. He's paying taxes twice, once at the corporate rate and again at the personal rate
Also each of the reactions shown is the intended reaction only, it doesn't show all the side products, side reactions, impurities, and what happens when things break.
1 - please cite peer reviewed papers by legitimate economists (not rent-seeking lobbyists or nutbags, everyone knows who they are)

2 - it's a retirement plan when it's convenient to view it that way, a tax when it's not. Government views it as a tax when including it as tax revenue when calculating e.g. budget deficits. Right-wing pundits view it as a tax when talking about the size of big government. In terms of economic impact and incentive to work for wages I believe it acts mostly as a tax, just as you think incentives to invest are impacted by capital gains taxes etc.

3 - building a factory is not rent-seeking, saying your income from it should not be taxed is very transparently so

and productivity growth increases surplus, it does not determine which factor of production the surplus accrues to. capital investment does not directly increase wages. labor supply and demand does. increasing productivity should usually shift labor demand higher, however trends in labor supply or structural factors that impact labor's bargaining position can sever the connection between productivity and labor demand (monopolies and monopsonies, import substitution, labor regs, labor's ability to organize etc.).
That in of itself isn't true.

If you make GPUs like NVidia, AMD, and Intel do, you may be sued.

However, nothing stops you from just spamming extremely simple cores attached to a standardized bus architecture that talks to a singular extremely wide and fast memory controller.

Largely, this is slowly what GPUs are turning into.
Pressure is the wrong term to use because life doesn't have a difficulty level. For lack of a better term.. it's nonlinear.

Thought experiment: you're working at a charity for a cause you absolutely love. You're putting in 12 hour days, but you love it, you're happy to make the sacrifice. Everything is going well, your health is good, you're completely devoted to the cause.

Then, you make a discovery. Perhaps the CEO is embezzling company funds. Something like that, that you can't change and have no control over.

In an instant your motivation can disappear and you find yourself depleting willpower, forcing yourself to continue.

I personally think that ultimately it's a matter of people sticking on the wrong path for too long. If you find yourself losing faith, it probably is time to shake things up.

But the world makes this hard. We're not castles. Marriages, leases, etc, other people exist.

And so it goes.
Dispersion-Based Color Projection Using Masked Prisms
The problem is actual getting those games preserved? Systems fade out and vanish, the hardware went extinct, and the graphics drivers- basically lets plays is all that will remain from the most video games. Its sad, but backwards compatibility is bad for business.
The trick is figuring out what you don't know to ask the question in the first place. Often not trivial.

It helps to try to tackle a project that you don't already know how to accomplish. Then the Q&A can work like a reverse dictionary. You know the answer, and work backwards to find the question. Every stumbling block is a question to ask.
What do you mean by constant-level time complexity? That the number of levels is constant? That's just because you bound the total number of keys to 2^32. With that constraint, anything is constant-time, even linear search.

This is basically a trie built on the chinese-reminder decompositions of the keys. I'm not an expert in Go, but I'm sure you can use fixed-size arrays, and thus implement any open-addressing hash table with no space overhead.
My German bank does the same, my UK bank just asks for details that are written on the card. Seems a bit ... weak and prone to attacks.
How Clinton’s email scandal took root
My god, could you imagine such a thing taking place?! It would be the end of all things.
I thought of the map-territory jawn, as well.
You could always just pipe it through gpg or the like. Just encrypt using the public key, and you can't decrypt unless you have the private.
You Are What You Eat – Are You Stressed?
Emphatically agree. Programmers are code artists practicing self-expression in the same vein as the architect of a building. And when they get too clever for their own good, it just as quickly devolves into creating a space that's hostile to its inhabitants.
What you are describing in economics - while perhaps a failure mode - is the exact opposite of what this article discusses. The critique of this article is that valid abstractions and theories are rejected due to a lack of "nuance", rather than a failure to explain and predict reality:

Second is the ever more extensive expansion of some theoretical system in a way that effectively closes it o from rebuttal or disconrmation by anything in the world...It is an evasion of the demand that a theory be refutable.

Your critique of some economic theories is a totally different one - that they make specific predictions which don't come true.
>>No, card fraud rates are in the 5-20 basis point range (0.05%-0.2%).

Depends on the "total pool" you're drawing from, and whether you're counting money, or transactions. The 5-20 basis points fits if you include, for example, all ATM withdrawals.

You get close to the 1% claimed in the parent if you count just "online card transactions", and count revenue instead of number of transactions.
Read 1k Words per Minute
Gross negligence or fraud cannot be disclaimed?
Being blind is just the most efficient way to improve focus. You are back against the wall, no other alternative to pursue. I don't say it loud but I somehow envy them. The see more than me.
> you encounter to this page [1]

I love the extended errors. Note that you can just use `rustc --explain <error code>` without opening a web page, but of course it won't be formatted then.

> But it takes time if you're coming from a non C/C++ language!

Ultimately there's little substitute to learning the concepts behind the language :) Error-driven-development is fun, and quite useful once you know the language, but if used as the only way to learn the language it can be problematic. That said, I enjoy using errors to explain Rust concepts -- as long as you explain them. If a new user is hit with a steaming pile of errors you can't really expect them to understand it directly.

I have talked with a lot of folks coming from a non-systemsy background, and sort of have an idea of the things that get confusing (I once had similar problems when learning C++). I'm planning a blog post series (no ETA, pretty swamped with other work :/ ) that teaches both Rust (specifically, the safety bits like the borrow checker) and what's going on under the hood (regarding memory, the stack/heap, etc) using each as a crutch to explain the other in a leapfrog way, to introduce the language and low-level programming to folks coming from languages like JS.