skysight-inc/HackerNews huggingface dataset:
> labor costs, union membership, labor laws, cultural status of subway workers, legal statues, building requirements, vendors and their rates

I find it amusing how Democrats always obsess about fiscally conservative peoples obsession with 'deregulation', so when big news worthy accidents happen they point to conservatives and say 'see this is what you get with deregulation'. As if the only thing we're critical of is the money spent making sure accidents don't happen. Workplace safety and oversight of critical infrastructure is probably the lowest on the list of things I'm concerned with.

There are countless other bureaucratic government organizations that are crippled by incompetence and excess administrative oversight that are failing to accomplish their simple assigned tasks, to the point where it's now standard practice to expect costs to be 2-3x projections and only a fool would expect heads of public workers to roll as a result. Just blame the current leader of x polticial party, right?

I'm not convinced being in support of public infrastructure means I have to support throwing billions more into an organization that consistently fails to perform with the billions they already have.

And this has as much to do with the small group of consultants and big third party companies these people sign extravagant contracts with - under the guise of 'free markets'. So when these projects ultimately fail to be delivered, or end up 3x the cost, the big government liberals can blame capitalism. Because their idea of 'free market competition' is hiring the same 3 companies who managed to have enough lawyers and political connections to navigate their complex administrative systems put in place by these same bureaucrats, who often also end up being employees of these same companies later in their careers.

Lowest bidder government RFPs are just another layer of obscurity sold as a solution to this problem which just further masks responsibility with something that looks like a market on the surface but fails to hold up to even the most basic scrutiny. /rant
You're right. And if anything, you're understating the conflict of interest:
https://en.wikipedia.org/wiki/Kids_for_cash_scandal
Kasparov's philosophy on AI in general is quite interesting. He's also a pretty good speaker with a sense of humor:

https://www.ted.com/talks/garry_kasparov_don_t_fear_intellig...
While I suppose it was off topic from the thread I commented in, I did believe it was relevant to the comment I commented on (in my efforts to keep my comments of a high quality).

Thanks for the mod work! It's a thankless job but appreciated.
> Can you manage a tech company without understanding technology?

I sometimes wonder if show runners would be a better fit for managing IT projects than traditional managers. It would seem someone who has dealt with FX and other creative elements on a budget and timeline might be better qualified since they probably don't have an in depth knowledge of every aspect but are able to ship.
And my Withings scale needs its 4xAA batteries replaced a couple of times a year. Wifi power, I guess.
There is a simple reason for the "cartel": it's called moral hazard.

You have the monopsony that comes from collective buying power on the one hand. (An argument for SINGLE PAYER insurance.)

On the other you have the usual moral hazard which says, if the customer ain't paying, try to charge as much as possible.

So it's this game of bigger and bigger armies. Same as when countries can't make a peace deal where neighborhoods and individuals long ago could have. A single person can torpedo a deal. It's all or nothing.

It's also why some British bureaucrats in the NHS face the choice of dropping coverage for a drug because the company just won't play ball and charge a low enough price. When are you willing to walk away when you represent a lot of people??
Indeed. The best things about Hong Kong are all colonial legacy.
The only country capable to deal with terrorism today is Israel. In the UK and the US there's a generalized state of paranoia. Or maybe finger pointing is just a sign of incompetence? Everybody is suspicious now, yet they failed to act on warnings from Italian security agencies regarding the perpetrators of the London Bridge attack.
If you don't know the domain/range of your function, and you are forced to write tests in advance, then you will end up specifying a domain/range. The worry here is that you pick a domain/range that is really inefficient, and you write 'bad' code to support it, and you can't refactor it out without more overhead later.

Now, this is a minor issue. It's probably more worth it to build inefficient interfaces now and try to fix them later than to never build anything because you don't know what the optimal design is. I can't say if TTD gives a real advantage there, but when designing-while-coding-with-no-tests, you end up playing with the interfaces, changing them regularly, and learning something about why they are the way they are. Which is possibly a better process when you don't have any relevant design experience? I really don't know...
I'd rather not "contribute to society" by having my money taken from me at every conceivable opportunity. I'd rather that everyone in society contribute more or less equally (or, at least, according to their means and nothing else), which is currently not even remotely the case.

> How do you have a coercion-free market when the consequences of not buying in can include "you'll die or be bankrupt"?

This is such a silly argument. Are any changes in your utility function "coercion"? Is the fact that you have to eat food "coercion"?

Coercion-free means that you're free to behave rationally and make decisions that optimize your utility. It doesn't mean that nothing bad will ever happen. I'm really not sure how people get from the former to the latter.

If you're worried about having a heart attack, you should be able to buy an insurance vehicle that charges you commensurately with the risk of that happening. (Unfortunately, you can't; you also have to pay for other people's quadruple-bypasses, geriatric medicine, and 8th child.)
Most RC cars are about as hackable as it gets already. You can drop an Arduino in between the receiver and the motor controller/servos and drive them however you want with simple PWM signals. 3x3 feet is enormous, though -- you could try looking for sites that sell BattleBots starter frames, depending on the terrain you want to tackle. Here's one: http://www.battlekits.com/
People all around the country receive similar C&D letters every day. Many of them actually are clear cut cases of fair use. All I'm saying is that they could have picked any of those cases to spend their time on.
> Web Assembly is not meant to be a replacement for JavaScript.

This seems like a very short sighted view. It's meant to offer options other than JavaScript. For many of us who dislike JS, this is exactly what webassembly represents, a way to deploy applications without JavaScript to the browser, in effect finally achieving the full dream of the JVM.

And yes, DOM integration isn't there right now, but it will be. It makes sense to me that this is initially being limited for a number of reasons. It definitely means people won't immediately glob onto it, reducing the potential of accidentally locking in implementation bugs/features.

Some people think the DOM is unnecessary even in a webassembly world, but I think CSS and the DOM are generally good, what I've always wanted is a better language option.

I'm practically giddy with the potential for all of this finally happening!
I was a lobbyist for more than 6 years
But are those people programmers? I mean if you show a 'real' programmer those people doing their job, will they really think they are doing programming or software engineers?

Are you sure that things like graphical ETL such as SSIS, graphical or automated reporting, and more generally database-oriented RAD tools are not actually fairly common?
The protests themselves are not "spying" per se but rather a tactic used to promote pro-Chinese government propaganda. According to the linked article, members of the student group have been accused of spying.

Straight out of that article:

Li Fengzhi, a longtime employee of the Chinese Ministry of State Security who came to the United States in 2003 as a graduate student at the University of Denver, said that the Chinese government did not see the group so much as a spying operation, but rather as a propaganda and “information collection organization.” Mr. Li eventually defected and was debriefed by F.B.I. counterintelligence agents about the group’s activities.
that first example is jaw dropping. its just like what good musicians do when they are noodling. damn. well done! probably the best results i've ever heard for this type of effort.
Probably true, it moves someone from 1-in-15m to 1-in-14.5m chances of being a terrorist.
I'd say quite the contrary:

If I had been given a zip with a basic pom file and the correct main and test directories I think I'd had a much simpler start.
But I bet they're all very eloquent.
Hong Kong is a port city conveniently located (politically and physically) between China and the rest of the world.

To compare a uniquely positioned city like that to the entire US population (which, for example, includes Detroit) is not particularly meaningful.
It's like asking "is there JavaScript API to JavaScript".

WebAssembly is a portable instruction set, a simplified CPU.

The main use case for WebAssembly is compiling C/C++ code to that instruction set using emsscripten, which is a clang-based C/C++ compiler that emits WebAssembly modules.

Depending on how you look at it, the answer to "is there C API to assembly?" is:

a) yes, that's the first API there ever was and it's the main API

b) the question doesn't make sense. C/C++ is compiled to WebAssembly, there's no API to it. You could imagine a system that would allow using WebAssembly modules from native C/C++ code, where you would need a C/C++ bridge to executing WebAssembly functions (similar to JavaScript bridge for calling WebAssembly functions), but this is not really why WebAssembly exists
> I long suspected that much of the interest in in-place, O(n ln(n)), stable sorting was due to some unspoken but strong goal of finding some fundamental conservation law of a trade off of processor time and memory space. Well, that didn't really happen. But heap sort is darned clever; I like it.

It did happen, it's called block sort, but it's not used because of the complexity of implementing it, the constants of its runtime, it's not easy to parallelize, and its best case complexity is still O(n ln n).
I don't know all that much about compilers, but I'm slightly surprised that Go doesn't automatically optimize the first into being the same as the second.
Sounds like an explicit version of https://en.wikipedia.org/wiki/Return_value_optimization .
When you say "we've historically benefitted", what do you mean? Surely you can't be referring to me, because I wasn't around "historically".

> We pay the same health insurance rates as everyone else.

Did you miss everything I said? If it's a flat rate, it's not insurance. It's a mandatory subsidy pool.

And yes, it is an insult and a waste; certain groups are systematically forced to give up the results of their labor for the benefit of other groups. Besides obviously subverting useful market-based societal optimization mechanisms, it's also very similar to certain social institutions we sought to eliminate a while back...
Gradle may not claim to be a "Groovy DSL" anymore, but they certainly used to.

From the overview page at the time of the 1.0 release

At the heart of Gradle lies a rich extensible Domain Specific Language (DSL) based on Groovy.
https://web.archive.org/web/20120724040152/http://www.gradle...

Now they just call it a "DSL" but also say that a build script is also a Groovy script
https://docs.gradle.org/4.0/dsl/
Did I miss something or an edited post? Where does the parent mention anything about politics or their views on this?
Ask HN: Ensuring backup integrity in the face of ransomware
Good day fellow HNers,

Without this turning into a discussion about backup vs redundancy (and best practices), I was curious:

How do you ensure that your backup system does not get compromised by ransomware?

I know a fair few people who have external drives as 'backups', and have them connected to their computers on and off. At least one such instance resulted in most of my friend's external drive being encrypted by ransomware.

Related, but how do you prevent a connected NAS (via shared drives, for instance) from getting encrypted? In some instances, I expect a cloud storage solution might be subject to the same problem (if there is no version tracking present).

None of the above are ideal or perfect backup scenarios, but a LOT of people view this as viable, and it's absolutely better than nothing, especially for personal or SME use.

As always, thank you!
I think this is a likely counter-example to your premise. Cuomo has had a ‘shelf-life’ of a lot more than 4 years...

I think the underlying problem is more a lack of accountability and the very low give-a-crap factor for politicians.
I like the design of this page!
What I’ve learned about neural network quantization
For u32, the easy solution is to mmap enough space to hold a bitvector (4 billion/8b) then let sparse files do the rest for large (>32k entries) gaps. You'd then sum in wordlength blocks at k offset and popcnt. I'd be surprised if this wasn't the best behavior you could get trivially today. Depending on the processor you might win with SIMD or multithreading but you'd have to make the trade between them well unless you were really low on memory.
You are confusing peak power with average power. The law of reciprocity says that nothing is to be gained if the base transmitter is more powerful than the mobile TX.

However because the base has multiple (hundreds) of low-power transmitters, it must cater for a very large instantaneous peak power when they momentarily add up.

And more importantly, excess Transmit power reduces the re-use ability of that frequency in nearby cells.
Or you could return a pointer...
Palm Oil Obsolete as Biofuel
> you wind up with groups too small for insurance to work.

This is quite simply not true, and I can't help but think that this statement comes from a very fractured rule-of-thumb understanding about how insurance works.

Insurance works by charging you around (naively slightly more than, but actually usually slightly less than) your expected cost to the insurance pool. It doesn't matter if different pool members have different costs; as long as you charge them appropriately, insurance continues to work fine. Why do you think that charging different amounts to different customers would require splitting the pool?
Now compare GDP/km^2:

USA: 1,773,047 USD/km^2
HONG KONG: 63,633,823 USD/km^2.

Huh. Hong kong has almost 36x the GDP density... With comparable GDP per capita. Is that significant?
How an India Govt. Ministry exposed half a million records with PIIs
It can already connect (read-only) to SQLite databases. Use `-f sqlite`. It would not be too hard to implement UPDATE/DELETE queries. Let me know if you're interested in helping and we can make this happen!
Directivity (eg gain) makes no difference. An increase of X, is still an increase of X.
Smart Endpoints, Dumb Pipes
How do you get so much Postmates credit?
See this comment: https://news.ycombinator.com/item?id=14668163

Long term wise, there is more energy that we can collect store and extract from CSP technologies compared to oil (and lng/coal/etc on the grid/plant level), without all the exposure to market risks being exposed to oil (ie. volatility [0]).

http://www.macrotrends.net/1369/crude-oil-price-history-char...
WebAssembly is in a large part about re-using vast quantities of existing C/C++ code in the browser.

C++ will dominate in that space over Rust for the same reason it'll dominate in all other spaces: the amount of existing C++ code and the number of existing C++ programmers will always dwarf the amount of Rust code and Rust programmers.

Even if Rust was uniformly 10-20% better than Rust, economics dictate that for most people it'll make most sense to continue with C++ than rewrite thousands or millions lines of code in C++ or embark on months-long retraining of large number of programmers, some of which will not be happy about going from being proficient C++ programmers to beginner Rust programmer.

And that's why we don't need to mention Rust when writing about WebAssembly. At this point in time it's immaterial to the subject.
Channel-specific CPAs become very fuzzy and downright misleading the higher up the intent funnel you get.

Things like display, TV, etc. are notoriously difficult to measure the exact impact of. Thus, looking at all marketing expenses rolled up is really the only safe way to capture all that value for this sort of math.
That feeling is called socialism.
I normally hate it when people immediately trot out the old "premature optimization" quote, but it really applies here.

Please don't go around naming all your returns just because today's compiler happens to generate better code with them. This is a compiler issue that I'm confident will be fixed one day, especially if you do the right thing and file an issue.

But by all means, if you're profiling and your inner loops are actually slowed down by this, then make the change. And add a comment so that someone might be able to change it back some day when the compiler's improved.
TemplateToaster: WordPress Theme and Joomla Template Builder
I was going to post "But JS has this:

return { named_var_1, named_var_2 }

const { named_var_1, named_var_2 } = f()

But then I read the article.

I don't know really what is going on in this article on a quick reading, but it builds by existing sense that go is a really cool language that I ought to get into.

I have no idea if anyone wants to help me understand, but in the last part where he changes to use a named return parameter, he says, you may also "enjoy the cleaner look of the source code, too". To me the only difference I see is the return name, to the right of the existing function signature. What was I missing that makes this actually cleaner?
What Vue needs next
I dunno if you find this worthwhile, but I have shipped code in about a dozen languages in my career, with languages like CL among them.

For me, I really don't regret learning any of them, and they all had something to teach me that I've carried forward.

For example, learning Common Lisp really let me internalize the concept of programming a meta-language to make my actual job easier (I later went on at that same job to write a very large, sophisticated code generator for a lot of humdrum deserializers). Learning Erlang helped me realize what a distributed system really is. Learning Java helped me understand what good concurrent threaded programs based around semaphores and queues could really god. Learning C# helped me realize there was a whole another level than that. Learning Clojure helped me realize we could use STM in the real world.

I could go on. But all of these things are things I carry with me to this day. I don't do it for "nerd cred." I do it to grow as a software engineer.
>The most patriotic thing is to believe your country's form of government is better than others, or at least as good as others.

No, that'd potentially be a delusion of patriotism. Or nationalism. Patriotic would be to make your countries government better than others. Not merely believing it is.
You already get free services.
My tangential comment to your comment would be: Which creates more jobs, 1,000 millionaires, or 1 billionaire. I would say 1000 millionaires would have a much greater chance of creating many more jobs.
What did they mess up? I have one and all I noticed is that the iPhone app got an update that imparts a cleaner UI design, reminiscent of Nokia's golden age (i.e. Marko-Ahtisaari-esque).
The CCP can't formally acknowledge Taiwan's independence from the mainland because that would set a dangerous precedent for the conquered peoples living in Tibet and Xinjiang. Similarly, the party can't formally recognize and respect Taiwan's right to self-governance short of formal independence because the CCP believes (and is probably correct in believing) that any centers of power within China that are not explicitly subordinate to the party are an existential threat.

The party really has only two options - the status quo, or the subjugation of the island.
Replace the US with San Francisco or NYC and the list still applies.
From the article, I understand what delegation is but I don't get why it is useful.

Anyone understand the concept?
Who says there are different variable names used inside Google? This is a single-function code snippet that is entirely public.
Uber: Discovery shows Waymo has “zero evidence”
If I were China I would point out the HK's entire existence is because Britain needed a staging area from which to wage war upon China so that Britain would have a market to sell all the opium it was producing in the Raj, which set the conditions for the Taiping Rebellion, which killed over 20 million people.
I absolutely agree that the voting system is the tip of the iceburg, but Australia is actually progressing towards getting deeper into the bottomless hole of broken incentives.

The US, due to its founding documents, is permanently stuck on the surface, where at best people see the iceburg and can't even fathom the depths beneath - hence the near willful ignorance.

But isn't your example just demonstrating the incentives problem? Instead of it being at the level where, in the US, politicians are incentivized to preserve the status quo because that is what elected them, and to enable better representation would be to use power only they wield against their own self interest, you are just a graduated level lower - you start to enable more democratic elections, but then have the problem about educating anyone about it.

It is truly a hydra, because the education example plays out the same way - those that set the policy agenda of what is taught in schools, where civics and voting and taxes and budgeting should be taught but are not (at least stateside) were put in power by the ignorant, and thus it is in their own self interest and continued viability in politics to keep their voters ignorant. And it really does not matter who is elected or when - any person elected is always in a position to minimize the degree to which their electorate is educated, because emotional appeals are much simpler, and much more useful for personal ends, than rational and factual ones. You can't say one thing and do another and still get reelected when being scrutinized by an engaged, logical electorate who operate in a system that enables them to actually pick who they want to rule.
This clouds up your godoc with unnecessary names though. Why not just initialize a default value at the top of your function? You don't get the bare returns but it's a lot cleaner.
This IPO is getting absolutely torched, and for good reason. However, there is a TON of money in foodie culture and food fandom. There's a reason half of your relatives watch the Food Network non-stop.

Perhaps once this IPO brings in much needed capital, Blue Apron can start bringing aboard celebrity chefs in promotional deals. Get Gordon Ramsay or Bobby Flay to contribute a recipe, ingredients and a couple YouTube videos and you might have something people will pay for. I'm sure they've thought of this already.
The demo looks really cool. Do any of the major navigation apps utilize these algorithms?