skysight-inc/HackerNews huggingface dataset:
Huh, if the local various was only scoped to the closure block, and not above it, I would never expect it to be shared. I would think "avoid using closure state" means exactly that, use only local variables scoped no higher than the closure block itself. (It's true this can sometimes be difficult to ensure in ruby; block local variables can help).

Do I understand things right, or am I wrong here?

I guess the question is where the regexp special vars are scoped to though, I see how that's not entirely clear.
Unfortunately we've only got the one video for now. However if you sign up for the newsletter (https://comealive.io/#newsletter) we'll keep you updated as we make videos of Alive interacting with different codebases.
Show HN: Messenger – Go library to call system command and receive channel back
And of course, you can still have the repl :D
I pay 8.5% to my property manager.

This also overlooks commercial properties, which routinely return at a very decent profit with no management involved and very few issues, because the lessee undertakes to look after the property.

Essentially, if you buy and pray, you generally will get taken to the cleaners by the people with experience. But this is the same as any other industry.

The big benefit of property is the ability to use leverage to multiply returns. Few other asset classes will allow LTV ratios like property. Get the sums right and you can create a profitable asset and accrue significant capital gains, all the while mandated-inflation is eating away at your LTV ratio.
Can't stop, won't stop.

Uber continues to amaze me with their incredibly skillful political maneuvering. They seem to have roadblocks thrown in their way at every turn and they manage to just keep trucking. Heads down, eyes on the prize; it's really quite impressive to watch. I have to believe it starts at the top with a tunnel vision approach to revenue growth. It's like that old Al Davis quote "Just win baby!".

Whether you agree with what they're doing or not, it is incredible to watch their execution.
Squeezing the middle tier as flat as possible is my actual strategy and goal in many distributed environments. That's totally feasible with modern tools.

But sending SQL from the client is dangerous, and in this forum you'll get some interesting looks suggesting that.
It looks better than manual GPG but not quite there yet for majority acceptance. Need a lot more work on visual alternatives to this sort of thing. Whatever is mass market will be easy for them to mentally visualize and connect dots. Implies the solution will likely be visual (eg GUI).
I just switched back to Spotify. Apple Music has so many issues.
While Haskel has quite a few tools to help assuage issues like this, I can't help but think that niche tools do not define the genre. When I hear "statically typed", I don't think of Haskel, I think of C, C++, Go, Java, and Rust.

All of these languages offer tools to handle similar duck typing via interfaces or traits or polymorphism, but they are far from simple to use.

When Haskel gains a mindshare outside of its current niche, or the type inference becomes more broadly implemented in languages used across our industry, then let's talk about how it makes statically typed languages better and easier to use than "unityped" languages.
Why are we still calling this "ridesharing"? Isn't it pretty clear to everyone that there is no ride sharing going on?
I also read Tolstoy 'almost by accident' about 1 month ago and now see references to him everywhere. I'm in my late 20s, and the entirety of it has been a big disillusionment. There are so many wrongs on societal/ organizational levels that nag at me whenever I have idle time - as they probably do any adult with half a heart or brain - and I was having trouble comprehending them. All I could do was see and be bothered by the 'what,' but I couldn't wrap my head around the 'why?' And unlike some code or problem set, I couldn't fathom an answer, leaving me feeling hopeless.

Tolstoy reinterprets the New Testament and what he finds is as relevant to our times as they were to his. Just as one who studies physics might start to see patterns in nature, I now see societal problems as manifestations of patterns in human nature. He offers a very bold solution that makes sense logically, but doesn't seem possible. But it has been proven to a certain extent (Ghandi, MLK, etc.) This left me feeling less hopeless and I would also highly recommend.
It's pretty worrisome that they say "The Gigsters come from companies like Google or Stripe that are looking for some extra projects." Google is pretty strict about side projects done by its employees; its IP release claims ownership over anything "along the lines of business of Google", which the company has in the past interpreted as "anything tech-related". There's a release process, but I really doubt they would grant approval for freelancing for Gigster on the side.

All that means that if the article is accurate, then customers of this service may find that Google owns their IP if they get big.
Huh, I use `$1` all the time, and see it all the time. Probably because the alternative with an explicit match object ends up being relatively a lot more code and a lot harder to read, really.

If avoiding `$1` has been often recommended for a while... I think it's a recommendation more often ignored than followed.
Lone Gunmen Trio Returning for Fox's X-Files Revival Series
More accurate headline: De Blasio legislative threat successful in persuading Uber to turn over data at 11th hour.

California wasn't able to get that result with its $7m fine.
The title would be better if it were "Uber has defeated Bill de Blasio's plan to block them from doing business". I think we really need to fight the notion that Uber promotes "ride sharing", whatever that even means now. Uber has shown that its service is anything but sharing - it is plain old taxi with a spiffy app and no labour protection, and where their "employees" are merely treated as another replaceable contractor. The media also needs to stop quoting meaningless buzzwords like "sharing", but I guess this goes to show the successful PR of Uber.
I'm always a little confused that people seem desperate to use the wrong tool, and then blame the tool. If you need to store normalized data and maintain integrety -- you'll end up with the equivalent of an SQL datastore (or, more likely a system that is faster, but subtly broken).

Sure, it's difficult to scale ACID. But if what you need is a way to serialize objects, you'll probably be better off with something like Gemstone/GLASS, a document store or some other kind of object database?

If your problem domain actually fits working with structured data, then using an SQL system makes a lot of sense. The obvious example for "web scale" here is Stackoverflow. Sure their architecture has grown a little since it was 2xIIS+2xSQL Server -- but they got pretty far on just that.
New Patent Pool Wants 0.5% of Content Owner/Distributor's Gross Revenue for HEVC
Charges Against Netzpolitik.org Are an Attack on the Free Press
One video? I found two!

- https://youtu.be/CMRH1i2PcrE

- https://youtube.com/watch?v=wIvrchnMW8k
In this case it looks like its lobbying lost but its PR won. Despite that it reluctantly turned over its data, every news outlet portrayed it as a victory.
Certianly lint handles this. Some lint checks are quite reasonably considered type constraints, even if they historically have been implemented seperately. In particular, uninitialized values and unused variables seem very much in the same theoretical space as linear types.
Sony to Swoop into Drone Market for Business Customers
Yes, a company with an illegal business model stayed under the radar until they got big enough that they could combat the legal challenges to their illegal business model. Always a pleasure to watch.
Haha, I can relate to situations like this.

Some experiences from a few really bad companies I have worked at:

1) "Don't use tabs or spaces in your code, they take up bandwidth".

2) "Don't put your javascript in a separate file, it makes it hard to find. Put it in the onclick for that DOM element"

3) No dev boxes or version control. Daily work involved SSHing into the production box and editing the PHP code in vim.

4) Got laid off from one company because I was insisting that they use version control and this upset a lot of the other script kiddies because I was making their work more difficult.

5) HR had cameras installed in the ceiling and pointed at all the monitors.

6) Trying to debug PHP code that outputs Javascript code that outputs HTML.

7) Spending 15 minutes trying to find the closing HTML tag, only to discover that it was in a PHP function that was in a separate file from the one that created the opening tag.

8) Being told, figure it out or you're fired several times a week.

9) "Stop abusing the <ul> <li> element to create navigation menus. <li> is supposed to be for bulleted lists only."

10) Being told to go home several times when I disagreed with a proposed design.

11) Being told they wouldn't get me a better monitor (only did 1920x1080) because screen space isn't important for programming. Meanwhile the boss had a 6 monitor setup (yes 6 monitors for a single computer) mainly used for IM conversations.

12) Being asked to create a favicon that looked like a secure SSL lock because our cert provider didn't work on some mobile devices.

13) Being asked to create a bunch of "bank sites". Bare minimum sites that meet the requirement to get a merchant account. That way they can just switch the merchant account when there were too many chargebacks. They were offering free subscriptions with CC verification and a small print $70/mo recurring fee that you had to scroll down quite a bit to see.
Also, standard linux raid (mdadm) will allow 3 or more disks in RAID 1 and will read from all of them for better performance. ZFS has a lot of overhead compared to mdadm+LVM but it depends on your specific use case.
I wasn't going to watch it because I wanted to remember how good the original was, and because I still hate Fox for Firefly.

Shit.
A bit is no different than a letter/grapheme of a text, which was what copyright originally was designed to protect. They are both digital (discrete) encodings of information - a computer file is just a text in a language that only has two letters. The law doesn't concern itself with the specifics of the components of the work, it concerns itself with higher-level concepts like "copy" and "derivative", which still make perfect sense for information encoded as bits.

As for the failure, I disagree. This case merely represents ambiguity, which is inherent to law (it's why we have courts and judges and juries).
It's not only possible but certain that we don't chastise all violations of the HN guidelines equally, simply because we don't see them all. There are overwhelmingly too many comments for us to read. That doesn't matter in most cases, though, because commenters on HN are required to follow the guidelines even when others are not. Especially when others are not.

There's no agenda that I'm aware of, other than to have HN threads be civil and substantive.
This already exists for desktops (frequently a jumper to enable/disable BIOS flashing). For laptops this is bad by nature of their portability; they're too easy to tamper with.
What is Tolstoy's method of protecting the weak from the strong without some analogue of police?
It's unclear how much benefit invokedynamic actually provides at present, I recall seeing benchmarks not showing much.

I think the big JRuby advantage is actually that by and large code written for MRI Just Works on JRuby. The exceptions are relatively few, and usually easily worked around, or if not quickly bug fixed. Despite this thread, I haven't had significant troubles with ActiveRecord-ODBC, although in Rails 4.2 have occasionally run into relatively minor worked-around-able issues.

My impression is that code written for standard Python tends to have a lot more trouble running on Jython -- not from any fault of Jython, but because 'standard' Python code tends to be more likely to use native C than typical ruby.
It'd add to the design, QA and manufacturing costs while only increasing the sales by a tiny amount. Given the miniscule margins of PC manufacturers, any increase in the cost would be a hard sell. An increase in the manufacturing cost of say $0.1 might seem totally insignificant when a laptop sells for $500. But when the profit margin on the laptop is $10, that extra widget just cut the profits down by 1%.
This is where people go wrong! You're not paying to be driven anywhere. You're paying the driver to want to go to the same place where you are, and then he might as well give you a ride there. So it's completely different, and the driver doesn't deserve any of the perks and protections people with real jobs get. Being an Uber driver obviously isn't a job, it's just doing something for money. And there's an app involved, so it's clearly different. It sounds like you're just conversative. Disruption, dude. Have you heard of it?
Yeah I suppose we should probably take the second one down as it's no longer a good representation of the product. (We've overhauled the UI).

I think we'll leave it up until we've come up with a good replacement.
Wow that is a different story.
They are edge components of Facebook. Just from a brief interaction with FB recruiters, I learned they use a lot of Vertica in their back-office. Please don't propose that they are using MySQL for their main business when it's only powering app nodes which are just POPs fed by their real (internal) services. Approximately speaking.
> talk to the end user ... and see what they want.

A maxim that when applied en mass could save trillions.
A few lightweight thoughts:

* The stock images on the front page are a bit odd. In particular, the vintage-ish B&W images of a person with a knife in a wicker chair and what looks like a group of people standing a an old store. These have a very old-Western feel to them that is totally at odds with the fact that you are selling Japanese knives. Lots of cognitive dissonance as a result.

* One of the first images that appears at the top of the front page is a blade with a Damascus finish. FWIW, I associate this with overpriced, form-before-function knives, not knives of good performance and good value for money.

* Love, love, love the clear presentation of lengh, spine thickness, etc. A table-style set of listings with these front and centre would be priceless for me.

* It is unclear (from both the browse page and the detail page) which knives are single-bevel and wich are double-bevel. This is first-round decision-making info; very few people know (or can remember) that the difference between a nakiri and an usuba is just single vs double bevel. Maybe a icon or abbreviation on each listing?

* Saying "100% SATISFACTION. GUARANTEED." is promising, but some details would be nice. Who pays return shipping? Do I get a refund, a credit, and/or replacement? With handcrafted blades, a nontrivial number get chipped or tipped within the first few uses, at no fault of the user. I am hesitant to buy until I know how this would be handled.

* Listings for single-bevel knives should have photos of both the front side and the urasaki-side, since, well, they are different.

* The listing for the heavy cutting board doesn't have dimensions.

* Took a bit of mental processing to realise 'petti' was being spelled 'petty'.
If you limit yourself to the 16-bit subset, you can use manuals that are even older.

And if you give up binary portability and restrict yourself to the source portability which helped sell people on the 8086 and the 8088 to begin with, you can use a manual for an 8080 processor and convert the code to the earliest 16-bit subset, prior to the expansions the 80286 brought.

And if that's too recent for you, you can move to the IBM mainframe series derived from the System/360 architecture, and use layer upon layer of emulation to run software written in the Johnson administration.

Screw diamonds: Legacy systems are forever.
Daala can't get here fast enough.
These are fair points and I can definitely see where you are coming from.

If a free beta is out of the question, maybe a time and/or (severly) feature limited trial version could be possible. You are addressing this on you page however there seems to be no obvious reason why this is not possible at this time.

I'm intrigued by the idea and concept of this tool in it's current state and I am definitively looking forward to other languages being supported, however at this time my budget does not allow spending 100$ just because of a very pretty product page.

Please don't take this as an attack against what your are building! Judging from personal experience it's really hard to estimate the value of a new tool without the chance to test how well it integrates in your existing workflow and setup or many experience reports of other developers.

In the meantime I wish you all the luck and success for this very interesting product.

Edit: Did you write about your former experiences with giving out free versions of your software?
He says the weak should just deal with it. And he isn't really coming up with this himself, but pretty much just saying what the New Testament actually reads. His point is that if everyone 'does not resist violence' then the world will be perfect. This seems like a recipe for disaster, but it worked for Gandhi and the other thing Tolstoy advocates is not supporting any entity that does violence. So yeah, thugs could kill good people (as they have and do), but if everyone bought in then that would eventually take away the power of the thugs.
When their business model is only illegal due to a corrupt, inefficient, entrenched monopoly which is just as hostile to its customers as its employees, yes, it is indeed a pleasure to watch someone take on the machine and win.
Are they a business major or an art major? /s
Ask HN: What alternatives to toptal for small business do you know?
I have tried with toptal several days ago, and I think the cost is too much. It seems like toptal is for top500 companies only. And what is about small business without investments. Upwork is not good alternative. Need something that can help with managing/hiring freelancers.
Yishan Wong explained it well in a Quora answer about the law being "lazily evaluated" and how the political realities can change by the time the law comes after a business in earnest:

https://www.quora.com/Why-has-Airbnb-not-been-sued-or-regula...
Thanks! I do, but there needs to be some evolution for the protocol to adapt while still maintaining relatively low fees. Not sure if it'll be Lightning Network, bigger blocks, and/or IBLTs, but I know what it won't be: bitcoin-core 0.11, as it exists today.
With that definition, you may as well count sleeping as work too if you dream about your job. It sure is easy to work 24x7 when you count everything you do as work!
Volcker Rule Might Make Losing Money Illegal
Uber is ride-sharing if and only if taxis are ride-sharing.
Dr. Seuss Book: Yes, They Found It in a Box
Productizing a highly demanded service is a reasonable business.
I can no longer edit this comment, but I want to be clear that "opening a relationship to end it" does not make sense.

There are good reasons to open a relationship and bad ones. Make sure you are seeking an open relationship because that is something you actually want.

Also make sure to do your research first. I recommend the book, Opening Up.
Ask HN: What would graph-based discussions look like?
When we look at the evolution of discussions on the internet, we can see that it started with lists in chronological order (traditional forums). Then trees arised as can be seen in mailing lists, Reddit or HackerNews. This datastructure can represent what a post is responding to (instead of quoting).

What is the next step? Do you think graphs are more expressive? What about going even further and model discussions as Hypergraphs or Multigraphs?
Australian port terminal goes automated, with fewer staff but dancing robots
Yes, I understand this to be your argument, but I simply do not believe most hiring managers (really: any hiring managers) seriously gauge "depth" and "personality" from the answer to this one question. That's what makes the question such a trap for candidates: it's intrinsically unimportant (the data you pretend it collects simply isn't present for most candidates), but the "wrong" answer can be very harmful.

Candidates should simply dodge this question. The more I've thought about this thread, the more cut-and-dried my judgement on this is.
> Sure, that's the common argument, but static languages often require a bunch of gymnastics to get the compiler to accept valid code.

There's really two problems hidden in that that deserve to be considered:

(1) Static languages with insufficiently-expressive type systems may require more complex code (in terms of actual operations, not just type declarations) for the code to be valid when compared to dynamic languages (or static languages with sufficiently-expressive type systems.), and

(2) static languages may, depending on the situation and the completeness of their type inference system, require arcane incantations to the type system before it accepts that correct code is, in fact, correctly typed.

Some statically-typed languages are good on one or both of these measures, and so make less of one or both types of problems (Haskell, IMO, is pretty good on both, as static languages go, but lots of more popular static languages are really bad at one or both.)
Where "winning" is the normalization of precarious labor where the employee assumes all risk and somehow makes even less money than they did in "the machine".

Oh, but you got to the club a little faster. Baller, bro.
I've been writing Ruby for 7 years now, and I've known about the regex svars for about as long. Never used them once. They're obviously bad style.
Their FAQ answers your question. They are planning to simply eat any project budget overrun, aiming for growth rather than profit.

YOU SOUND TOO GOOD TO BE TRUE.
HOW CAN YOU DO IT THIS CHEAP?

Agencies and development shops have a lot of overhead
& are fundamentally lifestyle business, meaning that
their focus is profits. Gigster is venture-backed so our
focus is growth & customer satisfaction. We’d have a
referral from you than your money. Profits come later
when we are at scale.
Not totally true. I pretty much only use Uber pool these days unless I'm with more than one companion.
Does this mean Uber's daily spam robocalls from "Molly" to New York City residents that offer no option to be removed from the list or speak to a live person will stop?
Now you're just redefining "developer".

No True Scotsman puts sugar on his porridge, and No True Developer just installs WordPress.

On the other hand, even Rails and Django encourage you to use the ORM whenever possible, so even a "developer" who builds apps on a modern framework is unlikely to be familiar with advanced SQL features.
These are all cons of zooming not enabling zoom (except for the tap-to-zoom. If the user wants to zoom, they take on those risks.
And yet people choose to use them and pay them money. But no, we must protect those willing customers from the dangers of doing business freely and having an actuall choice, instead of paying extra to a violent monopoly of taxi drivers who'd rather crash other's cars than compete honestly.
We've changed the title of this submission to be that of the article. Submitted title was 'Uber has defeated Bill de Blasio’s plan to block ride sharing'.

Submitters: please don't rewrite titles unless they are misleading or linkbait.
I use UberPOOL more often than UberX these days. I think it's fair to call that "ridesharing".
Haha. They finally get the business degree with "life experience" credits from marketing forging tools.
All: Whether Uber needs reining in or not, HN threads about Uber do. They have reliably been turning into flamewars. It's time this stopped.

Kindly control yourselves, whatever your views. This is a place for thoughtful discussion, not venting.