skysight-inc/HackerNews huggingface dataset:
Quote worthy of discussion:

Thompson: I view Linux as something that's not Microsoft—a backlash against Microsoft, no more and no less. I don't think it will be very successful in the long run. I've looked at the source and there are pieces that are good and pieces that are not. A whole bunch of random people have contributed to this source, and the quality varies drastically.

My experience and some of my friends' experience is that Linux is quite unreliable. Microsoft is really unreliable but Linux is worse. In a non-PC environment, it just won't hold up. If you're using it on a single box, that's one thing. But if you want to use Linux in firewalls, gateways, embedded systems, and so on, it has a long way to go.

I would be curious how he feels about Linux sixteen years later.
You can totally scroll the month view in OS X Calendar in Yosemite and center it on whatever week you want (might require a trackpad / magic mouse).
Yes, some of us argue, that CloudFlare is the biggest MITM on the net. Now with added DNS interception feature.

Some: https://blog.paymium.com/2014/02/19/the-cloudflare-mitm/

of: https://stirling.co/blog/cloudflare-mitm/

us: https://news.ycombinator.com/item?id=8377029
Was object-oriented programming a failure?
But isn't "use strict/strong" required to get some/many of the optimizations?
Legendary Celeron 300A overclocked to 721 MHz with dry ice cooling
Yeah, but we're not comparing apples and oranges here.

The Go team have already adapted GCC to their language, for example. They could have also adapted the JVM. For instance the Java guys are adding value types at the moment, but most of the reason it's hard/slow for them is backwards compatibility with existing code. Go doesn't interop with anything except C anyway, so they could just throw that requirement out and have a customised GoVM that supports value types and so on, whilst reusing all the other technology in there.
Orms are not about syntax, they're about things you can't natively "think about" in SQL, like inheritance, composition, references and graph navigation
Terminator Cop in GTA 5
The main short-term issue with inbreeding is the emergence of recessive traits. If there are few deleterious recessive traits in the genome of a species, then inbreeding will not be a major problem.

In the long term, inbreeding is also a problem because it limits genetic diversity, which means anything with an adverse effect on one individual will adversely affect all individuals (the same problem as "monoculture" in software).
> People ought to keep dying, by the billions, if that is required to keep the organism of humanity alive and healthy.

Until we have a widely available means of curing mortality, such statements are idle speculation (though it does detract from efforts to come up with such a cure). Once we do, however, attempting to suppress that cure would be nothing less than mass murder. So if that is a problem we end up needing to solve, let's find a better solution that doesn't involve mass murder. And let's not stop efforts to find such a cure because we're afraid of such a problem.

I think you have a more reasonable outlook on this than most; it's good to approach this as a problem that legitimately needs evaluation, rather than being completely dismissive of it.

> I hope that's not the case because I, personally, would like to live a few hundred extra years.

That'd be a good start, especially if it gets us to the point where further fixes become available. A few billion would be better, though. :)
Yeah but this document is talking about making GC faster and more predictable by increasing memory usage (same tradeoff as the JVM makes).
At Tilt we use the NY Times Objective-C styleguide. https://github.com/NYTimes/objective-c-style-guide
You are less likely to suffer from SQL injection if you use at least some kind of wrapper

Pretty much all of our coding guidelines on my team are just guidelines. The one absolute law is that all data going to the DB must be paramaterized, nothing goes in as string substitutions.

But virtually all of our DB access (like, at least 99%) is by stored proc anyway. We're just barely able to keep up with performance requirements by tuning things just right, and in my experience, EF isn't able to generate queries that are as efficient as we can by hand with some fiddling. I know that sounds like "I write in assembler, 'cause no compiler is as good as me", but that is what the reality seems like.
Clinton Tries to Quell Email Controversy
No offense, but you probably are a code monkey, and that's not necessarily a bad thing. You may just need to reorient your world view.

Consider a homeless person. If they had your job and your paycheck, they would be excited for the opportunity to afford shelter, food, and the stability that comes from a salary job. Looking back at living on the street, hobbling soaked wet through intersections begging for change, your job is a veritable dream come true.

What's the difference between you and the homeless person? Perspective.

Now consider the CEO of your company. He probably makes tens of millions a year. But do you think his first gig at a corporation was a starting salary with seven figures? Heck no; he probably had a boring job with a crappy boss. Yet it seems that his situation changed along with his fortunes.

What's the difference between you and the CEO? Time.

Now, i'm not saying you should just suck it up and deal with your lot in life. What I am saying is that the depression you feel now is a by-product of your perspective being locked at looking at your situation as a disadvantage, and the lack of vision of a better future. It's possible to reorient the way you look at your situation to be happier with where you are, and be happy about how much better it can get with time.

Part of this improved mental state requires introspection, mindful awareness, and emotional growth. You can read various books or take workshops to help with this. It's also useful to find outlets for your restless mind and body, such as exercise, art, music, reading, etc. There's also growth to be had by being active with your family members [though I don't have any useful examples as i'm single].

Finally, therapy works, and I highly recommend talking to someone, both about your job and personal life. Personal growth in general will help you understand why you feel the way you do and how to work towards a better situation.

Best of luck to you!
isn't it like why you would remove asserts? the only thing an assert will do is fail (or do nothing) - why do you want to fail for users? (when you could not fail, or at least not on that line) - so they can see that you messed up?

It's kind of like protocols: be strict in what you send out but lenient in what you accept. be strict in the javascript you write but then lenient when your users are actually running it.
The most important TLDs are controlled by world governments. COM and NET are essentially USG properties. What's the most popular TLD outside the original TLDs? IO. Guess who controls IO? GCHQ, the world's most unhinged signals intelligence agency.

Moreover, how can it possibly be sane for us to deploy a security system that protects end-users from NSA only if Google is willing to move Gmail off of COM?

If NSA subverts a CA today and uses it to MITM Gmail, a substantial fraction of all browsers on the Internet will detect that and alert Google, because of key pinning. When that happens, Google will nuke that CA from orbit. If NSA is dumb enough to subvert a CA that's hard to nuke, Google will start a process of employing code-level restrictions on that CA that will for a substantial portion of all Internet users make that CA asymptotically approach "useless" for NSA's purposes.

If NSA does a QUANTUM INSERT-type attack to selectively poison .COM lookups in order to use TLSA to get a target to eat a fake certificate, what does Google do? Nuke COM from orbit?

DNSSEC is a terrible, terrible idea.
But the 160-170 "trash" channels need to be included to have any chance of ever being seen. To the point they are willing to be included for free and in fact some will even pay to be included.

The economics of a la carte just don't make any sense at all.
yes, by all means upgrade yourself to the latest release of Rails before attempting to go "off the rails" :)
Unless you're spending more than 7ms rendering each frame; then you'll be late.
Cert scanning projects and Certificate Transparency (edit: and pinning) may reverse this calculus or may already have reversed it, but of course the TLS certificates are commonly being issued on the strength of what unauthenticated DNS records said at the time of issuance. Adversaries that could tamper with a CA's view of a zone (or a route) at some point could cause cert misissuance, whether or not they could modify the underlying zone contents. The DNS is the underlying evidentiary basis for a substantial number of DV cert issuance events.
"Why is everyone going toward open offices?
I ask myself this question a lot. My main answers come down to cost and flexibility."

Cost. Flexibility is a very, very distant second.
Just go in every day and do it really half-assed. That's the American Way.
Fruits and Vegetables Poison More Americans Than Beef and Chicken
How Skyrocketing Gun Sales Are Helping to Conserve Butterflies
How long will you be on the L1 visa?

Make a plan for what you'll do when you are no longer on that visa and free to get a job elsewhere, then start planning and preparing for that future.

It will change the color of your days to know you're doing it with an end-goal in mind and you're not "stuck here forever".
The second paragraph of "Against DNSSEC" addresses this.
Ask HN: Is anyone still following SCO v. IBM?
Many of us assume that SCO v. IBM is a foregone conclusion, with SCO losing and being destroyed. Nevertheless, it is still an ongoing case, with activity at least as recent as December 2014.

I haven't seen any good sources of coverage since Groklaw shut down. Is anyone still reporting on the case? Or, is anyone here keeping an eye on it?
Neither have I. Anyone know how to use this in Lightroom on my own wide-angle photos?
Can you quantify "got less done" in the non-open plan? Fewer projects?

My anecdotal data is that people in an open plan sling more code, but better architectural decisions that don't require as much rework down the line (and as a result smaller 'output') come from private offices.
I love outbursts like these :D I am miserable in general and and this made my evening, thanks
People eat more veggies when they eat out
If you've got a rat infestation in your building, it won't take long to figure it out even if you never see them. They have a tendency to cause a lot of damage and leave their shit all over the place.
Awesome work, just lost an hour! Might be worth adding a hover hint to the abbreviations on the drum machine. Took me a while to notice there was more to play with there.
As mentioned earlier, FPGA's do not fit this 3-part distinction.

In addition, CPU microcode doesn't fit this distinction, as the microcode is software (not hardware) that is hidden behind the ISA's interface.

Also, I can think of computers that only have hardware and data input (without any programs or instruction set). Basically number crunchers that run a fixed program (e.g. DSP's or non-general GPU's that perfom a specific function), with only the data input that can change.

You bring up a good point by acknowledging "The Interface". But I would reclassify into a different set of parts, something along the lines of: "Interface" - "Implementation". I/O can be programs and/or data that interface with the implementation which can be hardware and/or software, or another whole computer. (This is potentially recursive classification, so it can include virtual machines.)
They're at least not as scary as spiders (which isn't saying much.) I'd say they somewhat resemble extremely large ants.

The article doesn't say much about their feeding behavior, but if they're anything like other walking sticks, they're herbivores with no defence mechanisms other than camouflage. Think butterflies, but without the wings.

I think the main reason I don't feel particularly creeped out by them, though, is that they have the sort of cartoonish physiology that I'd expect of a mostly-harmless Mario-game enemy.
Countries Where You’re Always Surrounded by Tourists
unfortunately, where_values is also a private / unofficial API with no stability guarantees, so it can change at any time =/
I hereby coin IANAA (I am not an attorney).
If you get big cans instead of little bitty earbuds you can keep the volume down lower, not to mention noise cancellers.

(I'm partial to sennheiser, but just get something nice)
Internet connection speeds by country
> screaming like a small child" perhaps is better.

Why is that better?

Have you never heard a little girl scream? It's not the same as the sound of a little boy.

Let's not let political correctness wash away every difference that makes individuals special.
You misunderstand. Object.assign is as available today as is `typeof foo.bar === 'undefined'` or `_.defaults(...)`. Yet I doubt even the majority of modern code always uses them consistently because `if (foo.bar)` or `foo.bar = foo.bar || 1234` is much simpler and much faster.
I'm still early in my career, but my impression is that you can't code forever. At some point, you have to move into the business side of things in order to advance. I've heard rumors that there is a programmer making $3 million at Google, but the rest of us have to move into management to advance our careers.
Agree. I wok with FoxPro (like Acces, but better and powerfull) and I miss it. I enjoy python, but the DBase family is missing.

I dream in build a moder relational language, but then I don't have the resources for doing it... However I still do some code/meditation about it each week...
cool I have got a ultra sonic sensor and a few ardunios I wonder if I could get this to work using that
It's exactly that sort of insensitivity that makes the Open Source culture so toxic. You don't even preemptively apologize for comments that might be offensive in a way that you didn't intend because of your innate privilege. Take yourself down a few pegs and try to imagine what the world is like for everyone else who didn't have the world handed to them.

Oh wait, that was an ill reasoned, assumptive, and unhelpful response made without basis or provocation. Besides not being a part of your conversation, I had no right to scold you, especially not for any of my personal beliefs, and I won't be dismissive, sarcastic, dig my heels in, or behave like a demagogue just to bolster my platform if you respond.

Totes my mistake, carry on.
But what if you feel entitled to go?
Javascript isn't bytecode. It's a language that people do actually write and have to deal with on its own terms.

Transpiling to javascript is a hack to make up for percieved deficiencies in the language itself - but as with any other language, javascript can still be improved upon and evolve.

Requiring that anyone who wants to write javascript for the web do so through a Java or C compiler is actually the worst option.
> delegate security to higher layers so that there's not much point in bothering to poison it. Literally, my answer is DO NOTHING NEW.

That would not help my server - the DNS poisoning is acting like a DDOS. Sure the random victims know they are on the wrong page, but it doesn't help my server for them to know that.
The following things are proven to make you happier (and smarter!). I try to do all of them.

1) Exercise for at least 60 minutes/day. I recommend getting a pedometer and walking 12,000 steps/day, plus working out with weights 2-4 times/week
2) Gratitude -- try to spend time every day thinking about the things you are grateful for
3) Meditation -- 10 minutes/day. It works. Studies prove it!
4) Relationship with the sun -- try to get outside at noon every day
5) Eat an anti inflammatory diet. Inflammation is heavily correlated with depression.
6) Try to do something nice for at least one person every day.
7) Research sleep quality and follow all the best practices.
8) Take a Vitamin D supplement, just in case :)

If you do all those things, you'll probably find yourself a lot happier at your job!
await* is awesome too:

let arr = [/* an array of promises *]
await* arr;

Essentially the same as Promise.all

let arr = [/* an array of promises *]
await Promise.all(arr)
I can relate. I did fair amount of coding on Openmoko Neo Freerunner, Qi Hardware's Ben Nanonote and Nokia N900 in my life :) Mostly in Python or Bash, but occasionally in some other languages as well.
Netflix engineers got House of Cards to play on the original NES
That ends up being very inefficient as the optimizer will come up with one mediocre plan that works for all those criteria.
There's an internal representation which ensure than IO actions are evaluated in the correct order.
John F Kennedy: The 60 Minutes Interview (Parody)
Show HN: Snapcard Wallet for Bitcoin, with instant buying/selling
I'll say I agree with this corollary: the schema is the interface.
You work for liberty, like me. Others took the work visa to Microsoft land. It's a well monied but shitty place.
They are also much much larger than most insects, that's helps too.

And strong enough to defeat surface tension.
I know that diet is important, but could you specify about "anti-inflammatory"? Just interested, thanks!
Mindful meditation will do wonders for you. So will smoking weed (waits for inevitable downvotes by puritans, conservatives, and charlatans of the highest order).

Weed will give you the emotive catharsis you desire, in a healthy and positive manner.
Why the Apple Watch could spark a wave of Silicon Valley startups
Mad Men, Breaking Bad, Better Call Saul, The Americans, Justified, Walking Dead, Daily Show, Broadchurch, Downton Abbey (not sure which of these you're able to view)?

I'll cut you some slack on not getting any of the major networks since the cheap digital antennas can work very well.

In San Francisco we get 180 channels + HBO + DVR + 50mbps internet for $100 month. That includes being able to watch TV/DVR/OnDemand on pretty much any device, from anywhere.
0ms is a good goal for calling lyft or uber.

It's probably not a great goal for coherently querying data in a flexible and powerful way.

Having very little friction when your user has attained some fluency is a great goal however.
> Or are there some advanced Postgres features that I'm not aware of that would allow all these combinations in some kind of prepared statement?

I can't speak specifically to Postgres, but, in my experience, there is nearly always a way to do what you want with bound parameters. No advanced features are required. It often results in poor performance and redundant code that is hard on the eyes. You will get what you deserve, but sometimes you don't have a choice.

Here is an example of the horror:

WHERE (:1 IS NULL OR :1 = item_id)
AND item_num BETWEEN NVL(:2,0) AND NVL(:2,9999999999)
AND item_date BETWEEN NVL(:3,'01-jan-1900') AND NVL(:3,'31-dec-4712')
AND item_name LIKE NVL(:4,'%')
ORDER BY
CASE :5 WHEN 'NUM' THEN item_num WHEN 'DATE' THEN item_date ELSE item_name END,
CASE :6 WHEN 'NUM' THEN item_num WHEN 'DATE' THEN item_date ELSE item_name END

Edit: I suppose you could also parameterize the ascending vs. descending sort, although I have never tried. My first thought is to duplicate each line in the ORDER BY clause: one bind parameter for ASC and another for DESC. Have each CASE return a constant if the bound value is NULL, and then bind NULL for the direction you do not want. Yuck.

I am not advocating any of this but am pointing out that bind parameters can be abused in surprising ways if you are backed into a corner.
To expand on immutability and GC, this article explains why it's a big win for GHC: https://wiki.haskell.org/GHC/Memory_Management

Additionally, Erlang can also make "soft real-time" guarantees because each actor has its own heap, and consequently each actor is GC'd separately.
I'm from Australia (no tipping) and have been living in North America for 9 years (always tipping) so this issue is close to my heart.

I've come to see tipping as a form of slavery, the only twist being it's paid - albeit very lowly.

It's a way for people with money to say "Hey peasant: If you do what I want, and if I'm happy about it, and if I feel like it, I might give you a little of my money. Or not".

Sort of like a work contract where the employer has ultimate power and absolutely no rules to govern if they even have to pay their employees at all. Of course, there are labor laws against that sort of thing in developed countries, so tipping is just a way to circumvent those labor laws.

It would be much better if those people were simply paid what they should be paid by their employer in the first place, and the terms of that were bound by labor laws.

I personally feel dirty every time I tip - it almost feels like being at a strip bar or something similar.

(To be clear, I always tip, because the people in those jobs rely on it. It's not their fault I don't like the system.)
I wonder how aggressively they mine the tracking information in real time. It would not be hard to recognize both "child separated from parents" and "parent movement matches search-like behavior", for example.

How did they spend a billion dollars on this system, though?
Open source tool for DDoS attack detection with sFLOW
React v0.13 released
POOR,CHRISTIANS AND DISABLED Not WANTED ON THIS EARTH?
Generally I'll go with something like this for these conditional search based queries

select id, blah, boo
from products
where 1
and (title like :title} or if(:title = '', false, true))
and (price <= :price_range or if(:price_range = -1, false, true)
limit :limit
offset :offset

Its a trade off, bit of extra complexity in the query for simpler code logic. Really, I avoid using sql for these types of "search" / find methods, they're probably going to be slow as hell as soon as you get a sizable data set.

I really despise orm's its essentially taking a black box (sql/database) and throwing it inside a much less tested, less optimized, less documented black box.

For what reason, I have no idea, nobody has ever been able to convince me there is a problem that needs solving. Almost every argument i've heard amounts to problems sql already solved a decade ago. I can only speculate but I'll hazard a guess it comes down to lack of enthusiasm to really learn sql properly (even though the person uses it / debugs it daily)
The post on executable memory is a hundred times more interesting than this: http://www.tedunangst.com/flak/post/now-or-never-exec
tl;dr: No, but it is common to find people doing it so badly that the net result may be even worse than if OOP had failed.
This open office obsession is essentially panopticon programming.
I work in MS land. Still pretty easy relatively speaking. I always feel slightly guilty when I think of my brothers who work in construction and hospitality respectively, for low-pay and long hours.
The biggest challenge is to understand and find the simplest case and deal with the hard cases when they happen. I had to learn this over time.
I'm guessing their "cart" is really a Raspberry Pi like device that is using the NES only for video out and controller in.

There is no way in hell a 1.79Mhz 6502 can play streaming video.

It's a fun party trick though.
The goal isn't teaching everyone.

It's to teach the very limited subset of business analysts that CARE about the answer to learn their tools well enough to ask the question properly.

Generally I think we are seeing some of these things should probably be part of much earlier math education.

Sets, predicate logic in 7-8th grade?
Super slick design, and the bitcoin buying process is ridiculously simple
The solutions to those problems aren't possible within the DNS but they also aren't incompatible with it. There is no reason you can't use both DNSSEC and key pinning, and the .com registrar does not want to get caught forging signatures for the NSA.
NVDA Remote Access – Indiegogo