skysight-inc/HackerNews huggingface dataset:
I'll just rattle off some sweeping observations that I think have to do with the narrow set of viewpoints and shallow analysis that often results:

- Incentives in government (and most of the professionals here work for the government in some way, shape, or form) are extraordinarily misaligned. Public servant pay is often crap, so people are easy to buy with stuff like expensive dinners. Public servants thus get obsessed with amassing more power - self-promotion becomes the driving force behind their decisions with little regard as to how their power actually plays out.

- Relatedly, public servants become slaves to the existing power structures, both in practice and in their thoughts. It is very, very difficult for them to think outside of the box... even when they have leadership positions that you would typically look to for this.

- Everyone here majored in political science or economics in college.

- Everyone here worships the New York Times and Washington Post.

It's like being surrounded by zombies sometimes.

Professionally, you can be a big value-add by being willing to be the person who shakes people up with new ideas and having the drive to sustain it.
Motivation App concept page, would you use this?
The biggest reason I've found for using a database as a queue is that you can actually run queries against it, both writes and reads. This is very useful when different entries in the queue can have some relationship that matters when processing.

Do you want to wait 30 minutes after an item is queued then process all queued items for a given entity (eg. user) at once? Do you want to support more complex retry logic, such as efficiently handling some subset of jobs failing due to external dependencies being unavailable while others can complete? Do you want to be able to track what jobs are in progress (doesn't really work with skip locked), and even have the ability to update their status while processing for finer grained tracking? Do you want to be able to effectively monitor the contents of the queue beyond just the size (and some queues make it quite inefficient just to get that)?

Some of these are possible with purpose made queueing systems but, in my experience, even if they are they can be quite inefficient, complicated, and are often poorly tested and supported areas of functionality. For example the last time I tried to use JMS selectors with ActiveMQ (selectors let you filter messages based on a subset of SQL) it was a nightmare both performance wise and functionality wise and I wished I just had a database that was actually built to support SQL.

Other points about the cost of introducing a new technology (especially if you need strong durability, availability, etc.) and being able to update your database in the same transaction are also valid, but can often be dealt with by some extra effort.

Don't get me wrong, if you just need a queuing system the first thing to consider is a system designed for that purpose, especially if you aren't very knowledgeable about databases and have basic requirements. It can be nuanced to correctly and efficiently use a general purpose database as queue. At the end of the day, however, keep in mind that under the hood a queueing system is just a database that exposes a limited API that makes it easier to get basic operations right and hopefully easier to scale (sadly I have seen all too many queuing systems that utterly fail at that part) at the expense of flexibility.
I would pay $100 a month for a service that would give me good ideas to make money in my spare time.
Can you explain what you mean by the keyboard slide thing? I want to know what I'm missing out on.
Having been a "salaried contractor" for my second job, I learned to avoid those positions like the plague. When customers stop buying the company's software, guess who's the first to get the ax? Also, you get to sit by and watch project managers agree to all sorts of outlandish features that you'll be stuck implementing.
I can't tell if you're neglecting the fact that most production Python is Python 2 on purpose or not
A king-to-be's ransom: prospects for the world's biggest IPO
I was responding to this too:

>The people getting in trouble right now are not the borderline cases of someone saying an awkward comment here or there.

>Also, the people who agree that her accusations were valid, are also likely the people who think that their behavior was indicative of them being serial harassers.

Which is completely unreasonable. Do you remember what she complained about them saying? Dongles and forking repos? They were discussing among themselves, it wasn't targeted at anyone, and any reasonable person wouldn't believe it was sexist.
I don't think Google can convert millilightseconds to miles at one go. The units program has support for much more esoteric units than Google does.
World's first trials of MDMA to treat alcohol addiction set to begin
I'm finding the "free" shipping to be less and less of a benefit now. It's frequently available from non-Prime sellers for cheaper (which generally works out to about the same cost when you figure in shipping).
No more experience than reading the docs and watching an old talk from Andrey Breslav [1] where he explains how a DSL for HTML generation could work in Kotlin.

I like what I see and look forward to experimenting with it once I have more free-time (currently in grad-school taking summer courses). Kotlin as a language is really compelling, so I've tried to at least stay informed about it.

[1] https://youtu.be/OSBNkqy0UAI
Toy implementation of Stack Guard
Yeah it's just another form of trust based exchanges. And if you are going for trust based exchanges you can go debt based and be able to expand the supply to meet the demand.

The advantage of bitcoin is that you only need to trust public/private key, no miner controls 51% of the mining power & you aren't experiencing an extremely powerful and sustained sybil attack.
I certainly did like the idea behind Powershell's structured-object pipelines, but it relies on that "COM baggage" and "elaborate syntax" that you say are its downsides. I don't think you can achieve the goal behind Powershell of a universal standard binary object format without an elaborate infrastructure like COM and without making a bunch of assumptions and requirements on how those objects must look and behave, which will vastly limit the usefulness of the pipeline.

All of that said... nothing is stopping you from piping binary objects between tools in Unix shells. In fact, it works great, and I'm curious what functionality you are looking for that doesn't exist. The standard tools like cut and grep don't work great with binary data, but they aren't meant to. There are format-specific tools aplenty, and stuff like bbe exist for generic work. And for structured text, tools like `jq` are phenomenal.
It's far less than half for me. Maybe less than 5%. Examples of queries that I frequently need that won't work:

- OK Google, please download an offline maps area for Yosemite National Park and about 80 kilometers around it.

- OK Google, navigate to Yosemite National Park. Highway 120 is closed so please remember that when we get to an area without reception, do not route me via 120 in the offline maps.

- OK Google, let me know when we reach a place along our route where I can buy an SD card.

- OK Google, let me know when we reach the last Trader Joe's or Safeway along our route that is still open.

- OK Google, when is the next Caltrain arriving in Palo Alto that stops in San Bruno?

- OK Google, if I miss that train, when is the next train?

- OK Google, get me an UberPool for 2 people to Castro St. in Mountain View as long as it's under $10 and would arrive within 30 minutes.

- OK Google, what is the name of the driver and what is the license plate?

- OK Google, navigate to my friend's party on Facebook.

- OK Google, call my friend 5 minutes before we arrive. Their number is in the wall on the event page for my friend's party.

- OK Google, find me a restaurant that has non-americanized Chinese food, recommended with higher frequency on Chinese language websites than English websites, and has vegetarian options.

- OK Google, connect to my Nest thermostat. My username is XXX and my password is YYY. Turn on the air conditioner 30 minutes before we arrive home based on the navigation.

- OK Google, close that Java error that popped up and is covering the navigation.

- OK Google, please zoom out the map slightly so I can see how far we are from the destination.

- OK Google, please go back to the normal navigation view.

- OK Google, navigate to my next calendar event's location.

- OK Google, install Facebook Messenger, login as XXX with password YYY, and message ZZZ saying that I'll be late by however much the Uber app estimates.

- OK Google, turn off my alarm clock whenever I am biking or driving.

- OK Google, let me know if I get an e-mail from XXX in the next 2 hours.

- OK Google, please block all calls except from XXX for the next 1 hour. XXX's phone number is in their e-mail signature.

Yeah. We're a LONG way before assistants are useful. The pieces are all there. It's not a machine learning problem anymore. It's just that there are just way too many walled gardens between the various parties that hold the data necessary to be useful.
> but people are awful as ever.

That's true because the barrier of entry is 0 and Bitcoin is basically money but there are other kind of community members that are pushing all these blockchain/cryptocurrency/smart-contracts stuff forward. An ICO can be an scam but also push interesting projects forward in places without good access to capital. We are just living the prehistoric times of the technology.

I think exchanges are one of the weakest points of the cryptoeconomy. If they are banned or overly regulated Bitcoin will convert into PayPal in some places. That was my experience with Coinbase and I understand that they are overly regulated. In a way the cryptoeconomy is a good thing for the intelligence community since it transparents what is happening in black markets, even in the Monero and Z.cash shielded cases where at least you can measure some level of activity.
The point isn't that it's breaking news and nobody knew this before now. Come on.
The Long Boom (Wired, July 1997)
> We build apps that actually crash.

And disks that fail and memory that bitflips and communication methods that are susceptible to random noise and machines dependent on failable power sources.
It seems like more of a philosophy of humility than fatalism.
I love the file hierarchy. Miss it on my iPhone.
You can look at:

1. the specific circumstances of the outcome. Hillary Clinton didn't lose just barely, she lost by a lot. And she lost states like Wisconsin, which wasn't even supposed to be in play.

2. the fact that predictions like HuffPo's were far off from more credible pundits like 538.

3. the fact that HuffPo so aggressively mocked anyone who took a more measured view. http://www.huffingtonpost.com/entry/whats-wrong-with-538_us_...
RadiaSoft Is Hiring a Front-End Engineer in Boulder/Denver
You need to understand JavaScript and the ecosystem. Even if you're going to be writing TypeScript, other people will probably be using regular JavaScript. But TypeScript is a superset of JavaScript, so it shouldn't be very difficult to pick it up. You need to learn to crawl before you can walk, as they say.

If you want to develop an in-depth understanding of the language, I suggest reading through the ExploringJS [0] series. It covers pretty much every single edge case and detail. You don't have to read each book cover-to-cover, you can just skim parts you're familiar with.

To give you an idea of how awesome it is... Exploring ES6 is my go-to reference for anything related to ES6. When I first discovered the book I'd already been writing ES6 code for a while, and I thought I knew everything there was to know about it. But upon reading it, I was blown away by how many things I hadn't been aware of.

[0] http://exploringjs.com
It's unacceptable whether it "works" sometimes or not. So I don't see the relevance.
Perfectly put. I rarely read submissions myself but I refrain from asking about them.
> Maybe worse than most other major industries today.

Many people say this but I wonder why they believe it.
You have that option in performance-critical situations. The ObjC runtime does allow you to lookup a method's underlying function pointer ahead of time in order to bypass obj_msgSend.

The compiler can't do that automatically because the any method and any class can be replaced at any time. Key-value observing is a common feature that replaces method implementations on the fly at runtime.
So you red flag a website for creating more value?
ICO is the new IPO. ICOs will ultimately replace IPOs. Bitcoin is the perfect medium for speculative value. LOL. Enough said.
Bitcoin vs. Dash – Which is the currency of the future?
I think Elixir is trending, and it's not statically typed, right?

That said, I do agree that static typing is in vogue.
>I've been in situations where people in charge wouldn't believe some things happening right under their nose because those things were simply too bold and, well, insane.

This is exactly it.

People also mistake vulnerability for honesty, which is something that borderlines are experts at taking advantage of.
I've seen several people who like PS say its discoverability is actually pretty great compared to Unix shells - for instance, the convention for cmdlet names is always "verb-noun" ("action-object") and (maybe, don't quote me on this) the set of blessed verbs people are supposed to use in cmdlet names is fairly small. So, when you want to do something, you try the verbs that seem closest to what you want to do and the names of the (usually application specific) objects you're working with and that gets you quite a long way down the road.

Also I think PS commands aren't case sensitive, though for readability one would probably want to keep the camelcase anyway.
> there are just way too many walled gardens between the various parties that hold the data necessary to implement any of the above.

This is changing. If Google had their way, they would be assigning IPV6 addresses to bits of dust lying around in your house and trying to assign semantic meaning to them. If they had their way.
To anyone who's confused by the title: the law was passed in November (by ballot referendum), but it went into effect today, with the first recreational sales. (Medical marijuana was already legal in Nevada).

By contrast, Massachusetts also legalized marijuana on the very same day - and by an almost identical vote margin - but Bay State legislators are still contemplating whether to let the law take effect at all, and it's unclear if and when recreational sales will actually become legal.
Thanks! Will have to try out `jsonata`, as `jq` never clicked for me (too complex). Alternately I've been using a node.js program `json` [1] which has a basic but straightforward cli which covers 95% of my daily needs. I believe I found after trying to figure out the tool Joyent.com uses in there SmartOS sysadmin setup. Not sure if it's the exact same tool, but it's very similar.

As an example, basic manipulation is just:

`echo '{"age":10}' | json -e 'this.age++' #=> {"age": 11}`

1: https://github.com/trentm/json
I would have preferred a straight answer, without a servile question at the end.
Not to mention we have the whole Raspberry Pi ecosystem for embedded ARM development. That's been a huge leap forward for open embedded systems. And Broadcom deserves credit for hiring Eric Anholt to make open drivers for the hardware.

I think freedom will be fine as long as low-cost open devices like the Pi exist. If they go under and Android continues on its trajectory of becoming more closed, then I'll be more concerned.
If you don't mind another feature request, it would be nice to have a way to shuffle on mobile.
You use feclearexcept() and fetestexcept() from fenv.h: https://linux.die.net/man/3/fenv
You should always handle your errors, but people trust in exceptions and "what works" often enough that we have a culture that doesn't.

http://geocar.sdf1.org/close.html
Ideas are a dime a dozen, however, it is likely that usage of jailbreaks were useful evidence about which features are so desperately wanted by people that they are willing to go through a nontrivial inconvenience just to get them.

Customers saying "I really want X" is generally just empty words with poor correlation about how much X is wanted, and you should take that with a grain of salt instead of assume that there's a demand for X; but on the other hand if there's a price attached (either a literal payment, or price of inconvenience as in this case) then seeing if customers really want this is very useful data.
Well at least he doesent have a dog and several horses as replacement.
Geen goesting tussen de lakens? Deze voeding geeft je libido een boost
I would archive (or use another service* to take a snapshot of) the web-page as screenshot is taken just in case the design might change in the future.

* İnternet Archive and archive.is is pretty cool!
Google's new diversity chief tasked with moving the needle
"Okay Google, infer semantic meaning from my words"
KVO creates a new subclass and changes your object to that subclass rather than replacing methods on the original class, so checking the isa pointer would be sufficient for that case. Method swizzling would break, but I suspect that most obj-c code could be compiled without support for swizzling without breaking anything.
The brilliant thing about the status quo is that it already does accomodate both line-based and structured pipelines. There's no reason we should expect to use the same set of commands for both purposes. In fact, we most definitely shouldn't. A tool like jq is a great example of this: it works great for JSON, and it doesn't attempt to do more. When we want to work with JSON in a pipeline, we pull out jq. When we want to work with XML, we pull out xmlstarlet or the like. When we want to work with delimited columnar data, we can use awk or cut. I'm failing to see what's missing from an architectural point of view.
> And then, we bombed space. That might actually be one of the most American things we've ever done.

And it still doesn't really make a difference, on the grand scale of things.

Space would probably just go "That's cute" ..if it even noticed it.

Space is used to vastly more stronger forces – the kinds that create planets and destroy stars. Heck, there's probably more energy being flung around in Jupiter's storms every day if not every hour, than we could ever produce on Earth.

We could literally blow our planet apart (though even that may be nigh impossible) and it still wouldn't make much of a difference to our own solar system, let alone the galaxy around it.

I think we would be a happier species if we accepted our insignificance and tried to make the best of our infinitesimal corner in time and space, rather than having delusions of grandeur, trying to one-up and cower fellow insignificants with insignificant acts..
The first rule is too easily exploitable. Defensively engage in litigation between a pair of complicit entities that consumes the entire litigation budget, and then go around screwing everyone you can over while going "nah nah nah, you can't sue me"
It actually is not the extra function call that is the big hit, since if you think about it objc_msgSend also does two calls (the call to msgSend, which at the end then tail calls the imp). The dynamic instruction count is also roughly the same.

In fact objc_msgLookup actually ends up being faster in a some micro benches since it plays a lot better with modern CPU branch predictors: objc_msgSend defeats them by making every call site jump to the same dispatch function, which then makes a completely unpredictable jump to the imp. By using msgLookup you essentially decouple the branch source from the lookup which greatly improves predictably. Also, with a “sufficiently smart” compiler it can be win because it allows you to do things like hoist the lookup out of loops, etc (essentially really clever automated IMP caching tricks).

There are also a number of minor regressions, like now you are doing some of the work on a stack frame (which might require spilling if you need a register, vs avoiding spills by using exclusively non-preserved registers in an assembly function that tail calls). In the end what kills it is that the profiles of most objC is large flat sections that do not really benefit from the compiler tricks or the improved prediction, and the added call site instructions end up in increased binary sizes and negative CPU i-cache impacts.
Of course with absolute legislation like this you're going to end up with someone abusing the rules. Already been sued too many times this year (as any large company is)? Congratulations, you're now immune to lawsuits.
I'm going to plug my project 100 Million Books here, because it seems to align with some of the ideals in the article/book.

Some specific ideas that align (these are all direct quotes from the article):

* The Accumulibrary is both dumb and smart: “Dumb” because it’s based on the willy-nilly heaping together of resources—so-called “chaotic storage”; “smart” because it’s built around the capabilities of an omniscient database that monitors locations and items within its otherwise mobile confines and renders them at once intelligible and accessible.

* It weds the frugal interiors of the big-box store with the randomly organized megawarehouse in the service of a flexible, expansive, democratized concept of the research library.

* The Accumulibrary rejects taxonomy as a founding principle. It shuns all local and universal schemes of organization and is indifferent as regards the virtues of spatial economy, temporal sequence, and alphabetic order

* Thanks to its modular low-cost construction techniques and standardized shelving systems, space is abundant and additional capacity always potentially available. In the Accumulibrary, the freedom to accumulate ever more things is in lockstep with the freedom to add on ever more space.

* Unlike modern libraries, the Accumulibrary doesn’t segment or segregate media types. It fails to differentiate documents from things, books from periodicals from pamphlets, devices from objects, the new from the used from the old, the rare from the common. The sole laws that it holds sacred are the law of number and the law of stuff.

http://www.100millionbooks.org
Win on price; innovation; technology;people;

Imo Amazon is smarter and more nimble and if Wal-Mart starts this stuff it may backfire

Look - if iy wasn't for Amazon people would not expect to get anything on line, and thus walmarts revenue in online would not be as much. (The pie is huge because of Prime)
Congress Needs to End Warrantless Spying, Not Make It Permanent
This is going to come in handy for the upcoming Burning Man event, although there it's going to be difficult to define what a public space is and what not.
Do people still jailbreak their phone? What's the point now?
THIS IS NOT A MISTAKE!

He didn’t spill milk. He didn’t pick the wrong wine for dinner. He knew exactly what he was doing. He knew it was wrong. He did it anyway.

I’m sorry, but I just cannot stand so many people having this “boys will be boys” attitude toward this.
>Yes, I've met many people with borderline personality disorder.

How many of them do you know extremely well? As in you've spent time alone with them for hours or even days on end? Are you a mental health professional who has treated them as patients? You don't really know someone with borderline until you do either of these, IMO, no matter how much research or campaigning you do.

>False accusations are not more common among people with BPD, and false accusations are rare.

Have you done research into what it's like to go through a divorce with someone who has BPD? If you have, how can you post this with a straight face?

Do you yourself have BPD?