skysight-inc/HackerNews huggingface dataset:
(From the C99 standard:)

§ 6.5.3.4 The sizeof operator

[…]

Semantics

2 The sizeof operator yields the size (in bytes) of its operand,

[…]

3 When applied to an operand that has type char, unsigned char, or signed char,
(or a qualified version thereof) the result is 1.
If people want twice as many cars as there are, and they want twice as much toilet paper as there are rolls, do you expect rolls of toilet paper to cost as much as a car?

Supply and demand curves are (a) curves, not two points on a line (b) curves as a function of price. You can use them to pick a price, but not to come up with one from amounts of X ex nihilo. Even if we're sticking with the most primitive micro-economic theory here, you've discarded a whole dimension.
There is http://insightdataengineering.com/ program that could be useful. I work as a data engineer as well and I am working on a ebook to cover some technologies and topics. Feel free to PM me if you have any questions. ATB
The domain experts could be cops themselves, in a specialist department of a broader police force. I'm sure a lot of the basic training and equipment required is the same across agencies.

In any case, the current hyper-local US system for both police and other services is disastrous in practice for many groups of people, and has its own gross inefficiencies (economies of scale are smaller, weaker bargaining positions when purchasing things, etc.).
I recently served on a jury in an assault and battery case. The defense offered a psychological defense and called a psychologist as an expert witness. The witness offered a few theories which were credible but not evidentiary. The prosecution, however, did not attempt to contradict the claims, and instead argued that the witness was too expensive and did not have much contact with the defendant.

It was a mistrial due to jury deadlock, as reasonable doubt was present.
If "this approach" is using Java/Spark, instead of something that is a smaller binary, then there are some easy answers to your questions:

- people don't want to write C (or K, or whatever yields a small binary)

- the cost of switching languages is not worth the speed-up

- it's already fast enough

I don't think you're wrong, overall, that, specifically, kdb can be much faster than an equivalently sized Spark cluster, but simply being faster does not invalidate other approaches, which is what you seem to be arguing for.
>these people

Wow, at least you did them the generosity of using a noun that describes fellow humans, since you're talking about an entire culture like animals.
US Eases Sanctions Against Russia
Windows Hello is the new platform for authentication. I imagine that all authentication APIs are grouped into Windows Hello, including traditional passphrases.
Eliminating (or reducing the number of) peremptory challenges might go along way to achieving this, domain expertise itself usually will not support a dismissal for cause. (Though it might be an earlier link in a chain of questioning that reveals a cause for dismissal, but that's perfectly legitimate.)
> some boys less excited about making a dress light up

you're using gender stereotypes ("girls like dresses", and implied its corollary, "boys like machines") in an argument against gender exclusion.
Exactly. I often think of the famous Ralph Waldo Emerson saying, "Build a better mousetrap and the world will beat a path to your door."

And I think Ralph Waldo Emerson obviously never built any mousetraps and has no idea what he's talking about.

Nonetheless, the saying does seem to apply well if you replace "Mousetrap" with "Donut" and "World" with "Portland".
Against Willpower
Show HN: Measuring Karma Inflation on HN
Roadmap

Be 100% pass compatible
Storing binary files in gopass (almost done)
Storing structured files and templates (credit cards, DBs, websites...)
UX improvements and more wizards
Tackle the information disclosure issue
Build a great workflow for requesting and granting access
Better and more fine grained ACL
Be nicely usable by semi- and non-technical users
Libpng source code (submited for its documentation)
That's the conclusion of what you said. If you don't like it, then maybe you should rethink your position.
It gives protection against eavesdropping of messages in transit, so it's better than nothing (Even SSL+SMTP allows email relays to see the email in the clear). However it does not protect against an attacker who gets into your GMail, does not protect against warrents/NSLs/subpoenas against Google, does not protect against your domain admin accessing your message.
This is a thorny issue because say you could make the argument that if I spend 5 years writing and rewriting code from 0.1 to 0.8 at company A to understand a domain, then I move to company B and write 0.9 and 1.0 in the same domain and make a pile of $$$, then company A should somehow be compensated even if the code itself is not exactly the same (which it wouldn't be since you learned from mistakes made).

On the other hand if you take, for example, an engineer who learns to build bridges and builds a lot of bridges in one company, and then moves to a different company still building bridges, one would not think that just because they build a great bridge at company B, company A should be compensated.

Where do you draw the line between 'improving your craft / becoming a better software developer' to 'taking a company's IP'?
If the "created" field in your profile is of any significance, I've been here for much longer than you. Stop bossing around other people just to feel morally superior.
Hi, I am the guy behind the project (I just created an account now, a friend posted it). Thanks for the interest! It would be very cool to have a scraper! If you decide to go with it, tell me if I can help in any way from my side :)
FTA: “I do not believe our students were involved in the vandalism and the violent behavior that occurred,” the university's police chief, Margo Bennet, told reporters. “This was a group of agitators who were masked up, throwing rocks, commercial-grade fireworks and Molotov cocktails at officers. Those were not our students. That's not our students' behavior.”

At this point I'm far more curious about the behavior of the so-called police force last night.
That is a good idea, I will implement it, thanks!
echo ideas >> .gitignore

touch ideas
Show HN: Posters of Your GitHub Contributions
GitLab Data Loss: A Discussion
I'm not sure I totally agree with the idea to cut funds, but there is certainly a problem where protesters have forgotten how to be peaceable.

This is kind of a natural out growth of the "ends justify the means" philosophy.

Since people replying can't seem to read critically let me clarify. I didn't say ALL or most protests haven't been peaceable. Because you can cite peaceful ones does not mean that there is not a problem because we are clearly having non-peaceful ones too!
And yet, I think a lot of the reason we've gotten here is congressional deadlock, with EOs and rules filling legislative voids. There was a decent chunk of the Obama presidency where Congress was incapable of passing anything more complicated than naming a day of recognition, and openly fluted with government shutdown repeatedly.

We've got a failed legislative system, and are now working ourselves toward a completely failed system of government.
I believe the "non-literal copying" thing simply refers to the insight gained from the R&D time he spent on Occulus while still an employee of Zenimax. 90% of HN members know that this deep understanding is FAR, FAR, FAR more valuable than blindly copying over code.

It was this deep understanding that made Occulus valuable and it was seemingly funded on Zenimax's time and dime.
I didn't interpret his post the same way as you did. I think he was suggesting that we, as programmers, tend to act in ways that are not necessarily conducive to maintaining our own job security. We often advocate (strongly even) for importing labor, making CS education and tools cheap/free etc. all of which while certainly making knowledge more accessible also increases the supply of coders.

And it's true, you definitely don't see doctors, lawyers, accountants etc. acting in the same way. I'm not suggesting a grand conspiracy on their part, but the certifications (difficult to obtain), years of schooling etc do have the effect (intended or not) of limiting competition.

It's hard to argue for better wages and treatment from employers on one hand, while simultaneously propagating the view that "anyone can do this". Well, if anyone can, then why should you get paid $150k/yr or more?
Maybe this is a good thing. After Trump's EPA guts clean air regulations, we'll all develop Alzheimer's, and we can forget that he was ever elected.
Look, I don't like the flat-UI trend any more than you, but there's two simple facts here:

1) It's not just MS pushing the flat-UI trend. Apple and Google are too, along with every other Web/UI designer out there. Everyone's doing it. MS's version does seem to be the ugliest though, mainly because of the horrible color picks.

2) The users you seem concerned about like this stuff. They're all buying and using Windows, along with Macs, iOS, Android, etc. devices. There's simply no serious effort being put into any UI alternatives. There's some stuff going on in Linux-land that has a minuscule marketshare, but that's about it; even there, the most popular desktop is Gnome3, which is on the same bandwagon in many ways.
I may be wrong but don't both sides get to choose the jury? If that's in fact the case, then the jury is made up of a group of people that both sides want making the decision.
Why not compile directly to BEAM bytecode?
If they're not curious, then I am :)
It's about protecting the minority from the tyranny of the majority (https://en.wikipedia.org/wiki/Tyranny_of_the_majority)
How much testing is enough testing?
Most of the cost of housing is in labor, not building materials. And, as you said, there's always the trailer. It'll be cold in the winter, though.

My parents do part-time homesteading (My father works - he will retire in a few years) - and they only need to go into town once a month for staples - supplemental chicken feed, milk, fertilizer, etc. Fuel economy isn't that big a deal.

The ACA tax is based on your income. If you have no income, the tax is tiny.

No, of course you can't start all that having nothing. However, most of the posters on HN are more then able to save up to afford this life.
> What matters is TURNOUT. Always has.

That is important, but it's turnout in states that have swing counties. Turnout in California is less important.

> Whether due to disappointment that Bernie Sanders wasn't nominated, or belief that voting wasn't important since Trump wasn't projected to win, or "OMG Russian hacker!!" conspiracy theories, etc. The bottom line is that Democratic turnout has dropped 15% over the past couple of cycles.

Your explanation is curiously devoid of what I see many people here omit: the repeal of the VRA. We saw changes to requirements and last minute eligability changes in many states that would have been illegal and challengable under the VRA.

While I certainly think there is a contingent of "bernie or bust" people, the turnout in blue states was NOT substantially depressed and HRC didn't lose votes. The vote totals were similar to their 2012 counterparts (in some cases higher) in blue states with absentee/mail voting making a huge appearance. If the BoB people were a significant factor for the blue vote we would ahve seen it reflected.

It's a weird myth that blue turnout was down in blue states. When I look at the vote counts post January, I just don't see it.

What we do see is a conspicuous and large gap of blue votes in red states, and when you overlay that with voter law changes enabled by the VRA the correspondence is quite high.

It's really tempting to lean on the "well they just didn't vote" argument, because it's very pat and not contentious. We should be suspicious of that though.
I was one of those 256k early adopters. I found that there just wasn't that much demand for a site listing my contact info. Everybody just added me to their address book after calling or emailing me.
That's explicitly called out in the article: they will make sure libraries written in new versions of C# can be used easily in new versions of VB.
Not sure what you mean. Trouble with opening the document, or multi-screen issues?
Distilled's Optimization Delivery Network: our first year in numbers
In internet you can’t see your customers – behavioral data fixes that
Ah, I see it now. Thanks!
Building an automated website publishing pipeline using CircleCI
Two suggestions.

Tip your mailman. Not 20 or 50 but 100 or more.

Put a deck box for parcels by your mailbox.[1]

1 https://www.amazon.com/gp/aw/d/B0030GG2GC/ref=mp_s_a_1_8?ie=...

Letter carriers can tell you the amount each patron gave each year. Year after year.

Edit: also your phone number is in the Amazon shipping label. With friendly customers I text if there is a delivery problem.
John Romero was largely responsible for the stories and designs of the old school iD games from back in the day. Carmack brought the tech brilliance to make it happen.
Fortunately, there's a JavaScript package for that!

https://www.npmjs.com/package/timemachine

:)
This is good, but you do still want the multiple returns as well, because then you can breakpoint one case or the other without any performance degradation when the breakpoint is on the rarer case.

(Also, at least for C/C++, you generally want condition and each case on separate lines, so that you can actually put breakpoints on each thing separately - tool support for multiple independent breakpoints on a single line is still an utter shambles, and you're best off just assuming nothing supports it.)

Unconditional breakpoints that aren't being hit are a lot cheaper (if they even cost anything at all - which usually they don't) than conditional breakpoints that are always being hit...
Gene Kim's 7 secrets of DevOps success
The worry isn't the last order, it's the next one. The US set a precedent that they're willing to suddenly, indiscriminately cancel thousands of visas by executive order.

And at NO notice, which means that your worst case isn't just having nothing to show for the thousands of dollars and possibly years of your life you invested in your travel and visa, it's that plus being detained indefinitely with no rights at the US border.
Browsers (like Chrome throttle) the JS execution of background tabs drastically which would probably make the MPEG decode impossible.

They probably stop the video as a workaround.
That wasn't a protest. That was a riot. Let's call a spade a spade for once. I dont't expect much from Jeff Bezos's personal blog, but here on HN standards should be higher.
Why does everyone think that hacking the DNC amounted to "hacking the election".

Did anyone complain when Iceland PM resigned as a result of the Panama Papers leak and the large-scale protests that ensued? You wouldn't say that that somebody hacked Iceland's democracy. The truth came out and whatever happened was a natural result of that.
This begs the question, which codec is optimal in terms of "cpu-cycles-to-decode per second" for a given image quality ( for some subjective measure of quality)?
Here's what I do:

* keep my notes in a flat, plain-text "reference" file

* key items/entries prefaced/abbreviated with leading double underscores; e.g.

__bash

__grep

__birthdays

+ anything else you want

* bash script ("ref.sh"):

#!/bin/bash

# https://stackoverflow.com/questions/7131670/make-bash-alias-that-takes-parameter

grep -i -A10000 --color=always __$1 /home/victoria/projects/shortcuts/reference | more

* ~/.bashrc alias:

# ----------------------------------------------------------------------------
# SEARCH MY 'REFERENCE' FILE:

# search my Reference file for argument, tagged (prepended) with two leading underscores (e.g.: 'ref wget' finds '__wget'):
alias ref='/mnt/Vancouver/Programming/scripts/ref.sh'
alias ?='/mnt/Vancouver/Programming/scripts/ref.sh'

# "free" (unlimited) grep search of my '/mnt/Vancouver/ .reference' file (e.g. 'ref rename' : i.e., not limited by double-underscore tag):
alias refgrep='/mnt/Vancouver/Programming/scripts/refgrep.sh'

* Now, when I want to find a note quickly, I launch a terminal, search, then exit out (alias "qq") ;-)

* E.g.: $ ref grep

* Image (screenshot): http://imgur.com/a/7WPtD
This. I think it's actually an important issue that's not being talked about - to actually create the automated future of surplus, we need to significantly reduce the effort that goes into maintaining things. We need to start creating self-maintaining systems.
No good will come of this. Certainly no one walks away holding the moral high ground.
> I'd say there are very few people who are doing things so out there that they cannot explain what they are doing.

So, those very few people out there are basically fucked up with no recourse? How few are they?

Anyway, yep, we are normal people. Normal people that spent a decade or four learning something very specialized. Now, why should we take for granted that people that never learned anything in our specialty can understand anything we know in a week?
Anybody want to sue The Guardian? I know where you can get financial backing.
I'm launching a file manager for programmers [1]. What helped immensely was to get it featured on BetaList [2]. This brought about 1000 new users. I'd definitely do that again.

[1]: https://fman.io

[2]: https://www.betalist.com
> It gets a major update every year?

Yeah, so where is OpenGL 4.5?
Style guideline for Go packages
The Patriot Missile Failure
In my hand-crafted artisan shed that has hand-crafted (from rare wood) tool boxes!

Jokes aside, but I think this idea applied like many centuries ago. I think I might read it in some philosophical text. So today you would not be able to do that obviously, since you need to purchase land etc. and the whole society is based on purchasing to satisfy your needs.
Wouldn't a combination of both balance that issue?
Makes sense now. Thanks
A little birdie on a certain American anime imageboard once told me that Zero Hedge receives financial support from the Chinese government as a way to destabilize American markets. The idea is that they get disenchanted Wall Street types to buy into bogus gloom and doom stories posted there, and then they proceed to make irrational buys and sells.

I didn't believe them at the time but it occurs to me now that Russia funding a project like Zero Hedge is well within the realm of plausibility.
Yep that's right. They've predicted 1,000,000 of the last 0 recessions
With which desirable features?
Hi - the above is very obvious satire: I am showcasing how insane European VC's are.

You can see another take from me on this same theme by reading this comment:

https://news.ycombinator.com/item?id=12198883

You can read that and then read my reply (scroll down to about the third comment), part of which I'll quote "you've given a lot of hard data but fail to draw the obvious correct conclusions, that the reason you haven't raised financing is because you're not located in Silicon Valley and don't have an office there."

Regarding the comment you just responded to: I purposefully made my comment extremely over the top (and insane), as satire. But I hoped the parent poster would reply by saying "if this is satire you are correct - this is exactly the reception we got. The last valuation we were offered is 1 million - and they wanted two thirds of the company." (Which would both be insulting, and kill the company.)

Anyway I am within my edit window but don't feel a need to edit my obviously satirical (by no means troll) comment.

Email me at the address I have listed (which likely on archive.org or elsewhere you can see has not changed in a long time), and I will confirm for you. I cannot emphasize enough that it is extremely obviously satirical - it makes fun of closed-minded European VC's. It was meant to evoke a sense of injustice. As clear and obvious satire - you can tell it's satire due to the facts it chooses to draw attention to, which are stellar. The "punchline", the second paragraph, is a total non sequitur. Given how - genuinely, really - amazing everything mentioned is, why would any VC want to rudely shut themselves out? Oh right - because they're a European VC, which was my satirical point.

Finally, even if for some reason you didn't get right away that it's satire, there is no other explanation because the parent poster didn't ask for anything, and even if they had this would not be the place to post a reply.

In case I have to spell it out, I'm obviously not a European VC and the post I replied to obviously did not try to contact me. I'd appreciate it if you made your comment less accusing.
If you're on an iPhone use 'request desktop site'
Using a bash script I wrote and running as root calling rsync to backup to /mnt/backup/blah which was supposed to be an nfs mount.

At some point [turned out to be 5 months prior to attempting the restore] the nfs became un-mounted and I was backing up to a dir in the same drive in /mnt

Yes the hard drive had died.
> I wished I could be judged by my academic peers. It was my belief that they would be more receptive to logical argument, understanding in their analysis, and more committed to fundamental principles.

Have you met any academics?
Even if people would prefer macs and perceive them to be superior (regardless of whether this is true), most aren't willing to shell out the cash for one.
Can you explain the Partnering for Community Care effort a bit more? That bullet point was general enough that I don't quite get what you were doing / trying to do.
One question: are there police offices dedicated to particular agencies, or do the agencies rely on "general police" with no special experience with the laws and issues of the agency? If the equivalent of a National Park Service employee finds evidence of poaching, does she call in an officer with experience arresting poachers?

And do the majority of cities not enforce parking tickets?
Remember when e-cards were the hot new internet thing? I was an intern working on such a system and, while debugging an issue ran the dreaded "DELETE FROM Cards" without that all-so-important WHERE. Lost the whole table, 10,000s of cards.

Of course I was operating directly on production data (dev server? what dev server?).
Of course there were no backups.

Since this was a website catering mainly toward children, I threw up a quick error page on the website explaining away the problem and inviting users to create a new card. Nobody ever complained...
Because developers want to make more money. This is why the app store format is so incredibly popular amongst the developer crowd - it forces people to keep paying you to upgrade app to follow breaking Apple/Google changes just to keep the functionality of the app the same and it appearing for users of new phones. 15 year old software that works well and you buy once does not bring a steady income.
I cannot install Windows 7 on my Macbook Air via a dual-boot because Apple stopped supporting drivers, so I had to default to Windows 10.

However, I averted all of the oft-complained about issues of Windows 10 by specifically installing the Win. 10 LTSB (N) version.

Some perks to note of:

* No bloatware

* Updates every 60-90 days (as opposed to the oppressive every 5-7 days); choice to reboot auto or not.

* No Windows Media Player

* No MSFT Edge; Only Windows Explorer classic

* Classic calculator

* No Windows App Store

* No background apps

* No upselling shenanigans annoying my experience

* No MSFT cloud

* Cortana is removed completely not disabled

* Mission-critical updates only...avoids needless flair in favor of stable security.

All in all, I would highly recommend it.
Voters Are Pestering Reps with a Newfangled Alternative: Fax
I find the argument about municipal broadband the most compelling. I see no competitive reason that municipalities should be prevented from building out their own internet infrastructure if their constituents demand it.