skysight-inc/HackerNews huggingface dataset:
Probably different part of Africa we are talking about:
https://en.wikipedia.org/wiki/Ancient_Egyptian_technology
Ask HN: Is Anyone Using the Facebook Live API?
I feel like I'm kind of on an island here. there's not much existing community support on SO or Facebook's developer group. I'm wondering if any HN folks working in a similar space?
If you want to experience real travel on a budget, cycling is the way to go. You would be surprised how many people cycle the silk road between Europe and Asia. I know some guys who has been doing this for many years, just going home to work a year in Europe when money runs out.
JSDoc is verbose, not inline, not directly associated with the code and not very friendly to use, as well as having a large maintenance overhead..?

I mean... that all applies to JSDoc/JavaDoc syntax before I compare it to Flow anyhow.

Flow's comment system is inline - right next to the code you're writing. It's very clear exactly what it refers to and it's easy to use. Plus it's not TypeScript: it's JavaScript, just with comments.

TypeScript is great, but it is what it is and that is not JavaScript (a superset, sure, but C++ is a superset of C, so what?)
No, only very specific videos, like this particular one. The art is in finding a pretty video that you can render in 4kb, not making a pretty video and then reducing it to 4kb. The latter would most likely be impossible.
The newer firmware also has a single-page setup that let you set the WAN/LAN IP, DHCP server and other basic stuff with ease.

Basic port forwarding is still interesting - it's simple once you understand MikroTik, but there's a learning curve.
Nitpicking: in the offline rendering world RenderMan had shaders ca. 1990[1], and graphics hackers got around to compiling those for research GPUs in the 90s too[2]. (Hardware had programmability equivalent to current shaders early as well [3], but no compilers for fancy shading languages)

[1] https://people.csail.mit.edu/ericchan/bib/pdf/p289-hanrahan....
[2] http://www.cs.unc.edu/~olano/papers/pxflshading.pdf
[3] http://www.cs.unc.edu/~pxfl/papers/high-speed_rendering.pdf
The official position of Korea Baduk Association is that Go game records are copyrightable.

Who owns the copyright?
Agree with most of this. However I'd say that asking "can you share your range" when appended to your first recommended response can be very powerful.

By making clear that you don't have enough info about the opportunity to properly value it, but recognizing that they need to qualify you based on their range, you're putting the ball firmly in their court to bring more data to the table.

Companies who remain firm about not giving out any info but demanding a salary from you are probably not places you want to work.
What Is Happening to Logo Design?
My first change to any editor is to set tabstops at 4 characters. That's the standard policy at my employer, and I like it for my own projects, as well.
In Los Angeles the policy is just to parking-ticket the hell out of drivers at every opportunity.

The 'unofficial' policy of parking enforcement here is to ticket everything you see, regardless of whether or not the car is actually in violation of something.

They know it's far cheaper for drivers to just pay the fines than it is to fight the tickets. Arguing a parking ticket can literally take several entire days. Forget just contesting them in writing, the written appeals are automatically denied every single time. I don't even think anyone reads them, there's probably just some flunky at a desk who opens them and immediately sends them back with a pre-printed denial letter.
> it's really not a "different but similar" language.

Oh so I can just run it in a browser without transpiling? No? Ok then, not the same language: so it's.. different but similar.
Everything you say is true, but it took me about 90s of staring at the Haskell error before I parsed out exactly what it was objecting to, even though I knew exactly how the code was broken. Whereas it took me no discernible time to understand the Elm error messages. Some of it could be that parsing the Haskell message primed me for the Elm message, but it doesn't seem that way to me.
I stopped using Waze because of its nutty directions: deep dives into neighborhoods, stop signs every two blocks, piles of turns, circuitous routes, etc. I do not like coming to a complete stop every two blocks, I'll take 5mph continuous over that. I do not like dumping my traffic annoyances onto neighborhoods who didn't voluntarily agree to increased traffic just to make my commute shorter, this is free loading and their roads are for them to get to and from their home, not for me to cut through to avoid bad infra elsehwere. And I don't like going even 20mph in neighborhoods with children where parked cars hide kids and pets.

All of that grief for 3 minutes of savings. It's just nonsense. So I deleted the app after a week of annoyance.
Thanks, this kind of perspective is useful for outsiders.

Quick comment: isn't "Free Open Source Software & Computer Aided Design" a pretty misleading name for a group that is apparently only interested in 3d printing firearms?
Tragedy of the commons. Waze could let people pay drivers to not use their road. The price can be determined by the market. Start at $0.50, only valid once per day in each direction.
So did you? I'm not endorsing that minimal feedback technique, but it would certainly make me think pretty hard about how to improve the paper. Bang-bang control can work.

If you're the boss of any enterprise, and you want to make things good ('excellent') the first time, you only have your instincts and experience to go on.
n.da nyouow hlotsof probave. . lems
AMA with David Walsh: Mozilla Sr. Web Developer, Davidwalsh.name
there are similar loopholes in other ad networks, if you want to play in those sorts of things. this is not a unique problem, its just that facebook is the largest and most obvious target. Those that made their money when it was much easier are selling off their knowledge, nowadays thats more lucrative then playing the cat and mouse game.
When Estimating Progress Fails Miserably, What Choice Do You Have​?
Google/Alphabet purchased Waze at some point, and they use Waze's tech in Google Maps.
"39. Re graphics: A picture is worth 10K words - but only those to describe the picture. Hardly any sets of 10K words can be adequately described with pictures."

It's the pigeonhole principle; there are only a few long videos possibly encodable as short programs because there are only a few short programs in the first place. To get compression performance, one has to target an ever smaller subset of possible videos, which eventually starts becoming an AI-complete problem.
Cool! About time.
"functionally" identical to the type checker.

But not functionally identical when it involves my fingers typing (the function there being my ergonomics). Flow would just be inline comments at the code points required.
Uber’s car leasing program turns its drivers into modern-day sharecroppers
Anyone have any idea why so many judges recused themselves?
This. I've never understood the appeal in just 'seeing things' at each city that one visits. Whenever I travel, the things I enjoy the most and look back on are the people I met, conversations I had and anything special that happened.

I've always found that attending any festivals/events that are on is a great way to enhance the experience.
Not everywhere has gun stores.
Show HN: Convert curl commands to Ruby's net/http
You can press the Return key? :)

const uint64_t *p=bsearch(&ref->u,
df->file_offsets,
df->num_file_offsets,
sizeof df->file_offsets[0],
&CompareU64s);

That's from emacs. It's a bit hit or miss whether editors do something nice like the above, or just indent the arguments by one stop, but other options seem to be fairly rare.

I generally have one function call per line for ease of debugging. Nothing worse than having to do a fiddly step in/step out dance when you're trying to think about what's going on. But it's also good for keeping on top of line lengths too.
Clojure at Boeing[0]

[0] https://www.youtube.com/watch?v=iUC7noGU1mQ
$  nslookup pool22.poolminers.net
Server:	192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
Name:	pool22.poolminers.net
Address: 66.117.6.5
Oh the unbearable boredom of middle class youth. Now they even sneer at their former dreams.
hey all, feel free to reach out to me either on this thread, or directly at nate[at]thumbtack.com if I can answer any questions!
Wow that'll be great for monetizing my react native apps.
Not really. I was thinking along the lines of a localized instance so it would be more akin to things being captured at the perimeter and getting converted there.

So outbound to an insecure HTTP url gets rewritten to pull from a HTTPS url instead etc.
To me this is the heart of the matter. Waze knows people dislike this but they can't seem to find a way to place that behavior under the user's control. Most of us would be happy to stick to "arterial" streets even if it costs us a few more minutes of drive time.
I'm naive about these things, but I was under the impression that salt just thwarted pre-computed hash tables? I guess should be "just" in quotes.

So somebody with resources and motive could still brute-force that string. It seems that storing the salt somewhere else would add a comparable amount of security as the salt itself. It seems prudent along the lines of "don't put all your eggs in one basket."
Per AlphaGo, this isn't official though.

"contrary to internet rumours, we've not decided yet what to do next with #AlphaGo, once we have, there will be an official announcement here"

https://twitter.com/demishassabis/status/739832323160563712
Inkdrop – Notebook app for Hackers
This is the problem with these small, nonpartisan offices. Virtually nobody votes in these elections because very few people can make an informed decision, and those informed few have incentives not to endorse/oppose. If the elections are partisan, voters have more information, but elections will become politicized on abortion/social issues (whether or not the judge can rule on such matters). Even in cases of judicial shenanigans, voters choose based on name recognition and advertising, and the incumbent's advantage is enormous, they run unopposed.

I am strongly pro-voting, but voting for dogcatchers and low-level judges is really bad.
Also, if you have been a customer with Tmo for less than 5 years you can only get 80 shares (limited to 20 shares/refs per 3 months). And if you've been with them longer than 5 years, then you'd only need 50 refers to get 100 shares, since they double it[1].

[1] my reading of the fine print.
When using monolithic frameworks you have to be prepared for this moment, EOLing. It suddenly just made lots of Angular 1 apps at companies not very fun to work on.

It is usually around this time (EOL or new flashy framework comes out) that people see past the hype on the last one and then see all the bloat, overly verboseness, and tons of code they didn't write that they have to support now that the hype train has left.

To keep projects from getting to this dungeon, better to use microframeworks while controlling your own systems and not buy into monolithic frameworks that change too much on top of the core with too much abstraction, basically vendor lock-in in a way.
> make utilities free market (or something of the sort) and roads can be paid via tolls.

Yeah, like a lot of Libertarian "counter-points" though it's very handwavy and doesn't really hold up to much scrutiny when looked at for the economics of it.

We used to do that - know what happened? Mostly terrible "roads" and a few VERY expensive ways to travel. At some point all those systems got nationalized - why? Because it works better.
NO AUDIO IN LUBUNTU? – LUBUNTU AUDIO CONFIGURATION AND VOLUME CONTROL
Algorithms are not by definition deterministic, which seems to be one of your key points. Probabilistic algorithms exist. They may or may not be used in machine learning currently, but they do exist.
[3] says the top 0.1% own "as much as the bottom 90%".
Using Objective-C Lightweight Generics
I can't help wondering how many of these mid-career vacationers the rest of us will be supporting when they run out of money later in life.
I have never noticed this button before. Bad discoverability could be another point in my list.
I was lost after the second code example (I'm not a c programmer but I'm quite comfortable in C-like languages (Go, Python, Java).

void
xevents(void)
{
if (poll() || poll())
while (poll()) {
/* ... */
}
}

What advantages does this code produce and how is it related to the first example? Why would calling poll 3 times have any advantages if either call 1 or 2 must be true and call 3, and the following ones must be true as well?
Yes, some time ago, I had postulated this would happen. I see it as a new form of revenue for Waze.
The first one. http://aht.seriouseats.com/archives/2009/01/unfriend-10-peop...
Cool idea, too bad it's not free software. It's less free than any software I've seen (explicitly saying that you can't use it for "settings where security is critical" -- something that doesn't even make sense from a software license perspective). It's like the "Good not Evil" line in the JSON license.
App passwords are here in Bitbucket Cloud
Google certainly benefited a ton from all the 'dark fiber' and the glut of bandwidth after the crash. Probably didn't make much of a long-term difference because it didn't solve the last-mile problem to consumers. ('We now have free terabyte/s bandwidth in between our datacenters!' 'Great. But all our customers are still connecting over 1mb/s DSLs. What do we do with it all?') And other countries which didn't build out so much have still done well in getting Internet connectivity done.
Militias do a fantastic job of socially stigmatizing themselves, no government plots required for that one at least.
What I mean is that in many European cities, the suburbs will be pretty similar to Jefferson Park or Outer Sunset in terms of the commuting situation and walkability. Although in Switzerland the suburbs are still much more expensive. Elsewhere in Europe it's generally not so bad.
>Referrals are a great way to lose friends in a hurry

It depends on how you do it. Some referral (and affiliate) programs explicitly forbid you from advertising your referral code or affiliate link (Uber is an example, they'll shut your account down if they find you advertising your referral code on the internet). Others allow to advertise on AdWords/Facebook/Whatever, the problem is that many people don't have the ability to quickly calculate a cost/referral to make advertising work. You could gamble on spending and assume someone uses your link, but you might end up wasting your spend.
Show HN: MePed – Open Source Quadruped Robot
Ever since using Apache Spark's Data Sources API was released, I have been relying no different Spark Data Source packages for my ETL jobs.
It's much more difficult to change streets into cul de sacs after the fact, but I can't imagine that forcing through-traffic to take certain streets doesn't reduce the value of homes on those streets, regardless of the method you use to do so.
LessAccounting, the Startup That Challenged QuickBooks, Sold
I've noticed though that the perspective matters. If somebody start complaining about how I parked in front of their house, a typical response is: "I can't believe how annoyed this guy is getting over me just parking here for 15 minutes."

The homeowner however doesn't care that its only 15 minutes of your time, since for him/her its probably all day :-/
They have economic pressure on them right now to broadly accept payments from as many places online as possible, because its effectively free money. We don't need legislation when the market is already set up to correct for the behaviour.

I don't think that's actually the case.

I'd argue that market segmentation can allow larger companies to extract more money from the market through agreeing territorial exclusivity with distributors. In other words, they can extract more money by restricting services. It's not always that content isn't available, but that the market is unfairly segmented. See the current hoo-ha over pay TV services, for example (http://europa.eu/rapid/press-release_IP-14-15_en.htm)

But aside from that, it offers the opportunity to fix a broken part of the market – content providers want to restrict territory, but I'll be distributors don't! Don't you think that Netflix would much rather have the same catalogue throughout the EU? It's not them who are preventing it, and the same problem is going to challenge any innovative businesses involved in digital content in the future.
Gift Recommendations for Father’s Day via SMS
The way criminal trials work for the poor is a sham.

That might be true, but that does not mean that the system referenced isn't the best we've got at the moment.
If we go that way, a real challenge would be designing your own computer then making a demo to run on it.

Just because the tools are more capable doesn't mean the challenge is any less real or the result less impressive.
Well that was depressing.
I have a little bit of experience with this... I think that almost certainly, no single human understands the whole chip down to the gate level. The complexity is managed by layers of abstraction.

The core architects understand the pipelines, their interactions, and the machine's mechanisms as a whole (e.g. how instruction scheduling happens, how branch mispredict recoveries restore state, etc). But various architects specialize. The people who understand the branch predictors down to the bit level probably don't have the whole instruction scheduler in their heads, and vice versa. And even within an area, architects work with a simulator model (tracks the exact state and mechanisms of the hardware, but typically written in C/C++), so some of the work is "empirical": you'll attempt to change something, run some simulations, and then see some interaction with other mechanisms that you didn't anticipate.

Beyond the architects, the logic designers (the people who actually take the cycle-accurate simulator model and specs, and write RTL, e.g., Verilog) understand every little piece -- every gate, every latch/flop, every state machine -- of their particular units. But it takes a bunch of logic designers to put together a CPU.

This complexity is why there is so much emphasis on verification (pre- and post-silicon) in any CPU project!
> GO FUCK YOURSELF

This is the quintessence of what we don't want on Hacker News. Please don't "wave your finger" here. Yes, it's popular—but for bad reasons.

We can't have both reflexive rage and reflective conversation. On HN we want reflective conversation.

It isn't that we don't all feel these emotions; we do. The people you're waving your finger at do as well, and no doubt feel as justified. But the sine qua non of reflective conversation is to catch those reactions in oneself and then inhibit them before they hijack the cognitive apparatus. That is what allows the slower, subtler processes to engage—and that is what leads to interesting utterances, as opposed to bile.
Cool. But I wonder about calories per acre, and if there is a way to account for necessary crop rotation and soil depletion.
We are a gift concierge service — we use data and human expertise to offer you fast and free gift recommendations for any occasion. Text us at 917-789-1497.
My own personal desire for these was oddly interacting with Atlassian products themselves!

Bamboo Cloud really weirdly required entering the user/pass for a Bitbucket account in order to fetch the code and do other things. App passwords being here are a great help!

Though.. I'm also now in Bitbucket Pipelines Beta and just finished setting up my first automated deployment through that so it's a bit "too little too late" for me.
>TPB is DMCA compliant

I thought they explicitly weren't. See http://beebulletin.com/hilarious-pirate-bay-legal-responses/, or https://torrentfreak.com/completely-ignoring-the-dmca-an-opt... (from earlier this year) "The Pirate Bay has refused to take anything down on copyright grounds from day one and yet it remains up today."

Is there any other indication that TPB has begun obeying DMCA requests, or are they lying?
Actually, if you subtract the columns used for sequence numbers and statement labels, in FORTRAN and COBOL you only had about 65 to 68 columns of code.

In one of my early jobs, we used binary format to store data in Hollerith cards. Twelve rows were divided into three groups of four bits, giving us three digits per column, or 240 digits per 80-column card.

The cards looked like lace doilies.
Understanding Compiler Optimization
They only host magnet hashes. None of their content is DMCA-actionable.
In New York, the hack around this is to plead down small speeding tickets to stiff zero-point parking tickets "in the interest of justice". The town gets the cash, and the speeder dodges the insurance impact.
The problem is a system where pieces of paper are sent by mail (often with addresses mis-spelled), and the supposed recipient is in trouble for not responding.

There needs to be a better system.
The guy has devoted his life to harassing people through litigation. I assume it's profitable enough to keep him in beer & Skittles. Your plan is to become an even more dedicated troll than he is, but doing direct intimidation and violence instead of legal harassment?

Sounds like a good way to get a felony conviction.
It is the predication on something that M. Pitt says isn't the case that provides the contrast, however.
Toll roads are also a thing.

The horror... The horror.
Direct link to the PDF, in case you don't want to scroll a letterboxed view across pages that are swaying for some reason: https://ndownloader.figshare.com/files/5344417
This can theoretically be more efficient than growing plants under sunlight. Chlorophyll mostly absorbs light in the 400nm to 700nm band which is about half of all the photons that hit lights. Even in that band ~24%[1] of the energy in them in lost due to the higher energy photons (closer to the 400nm side) being converted to lower energy photons.

So right there plants are only 25% efficient at collecting energy from photons. This is why you see indoor plants grown under red LEDs. Modern commercially available solar panels are about 21% efficient so that is actually getting close to plant can do (I'm not going to include inefficiencies in power conversion right now). Solar panels in the high 40% efficiency range exist, but they are crazy expensive and only used on things like satellites.

So using current (very advanced) technology we could actually get about double the plant output per area land by using the most advanced solar panels we have to collect light energy to power LEDs.

[1] https://en.wikipedia.org/wiki/Photosynthetic_efficiency
Agreed - I'm using a Mikrotik hAP AC at home now, after a series of disappointing high-end consumer devices (ASUS RT-AC3200 most recently). It isn't perfect (AC speeds are temperamental for me), but it does offer a huge amount of configurability - including a Cisco-esque CLI interface via SSH, which is nice.
T-Mobile USA operates independently of Deutsche Telekom, hence it's "Uncarrier" principles.
> The latter almost always get away with it, and I've literally recorded them tossing paperwork in the trash without ever knocking on my door while attesting to the court I was properly served

Jesus christ, what kind of life do you lead?!? I'd be terrified to even be served once, let alone to feel it necessary to set up a sting to uncover a conspiracy between process servers and evil litigants. Hope you manage to stay sane and safe!
Reminds me of the Jonathan Schwartz days. At least we don't have to worry about Nadella growing a ponytail.
Ok, but then let me pay for it. Because I can not pay for it a lot of the time.

Instead of the blocked screen show me "enter credit card for $.99 and watch all you want"

that would be hard to argue with.

Seriously, dragging the entertainment industry along until they realise that the internet actually is global is such a pain.