skysight-inc/HackerNews huggingface dataset:
While rising rents in SF/Bay Area are due to more & richer tech people, overall costs are declining thanks to tech companies. The cost and reliability of taxis is much much better with Uber than it was previously. The cost of many goods that one has access to is lower via Amazon for so many people. A lot of local businesses are probably more profitable working with Google than they were previously with the Yellow Pages.

Yes, there will be spectacular failures, but right now 3 of the 5 most valuable companies in the U.S. did not exist ~21 years ago (Google, Facebook, Amazon), and 1 of the 5 was a tech company which many had written off (Apple).

It's easy to laugh at the failures, but the real entrepreneurs just don't care. I don't think Larry Page or Jeff Bezos minds if you want to laugh at them over Google Knol or the Amazon Fire phone. For their 100 failures, their one big win was with no doubt worth it e.g. AWS or Android.
Vouchers like that are egregious.

Now that it's too late, United is now offering up to $10k if they can't get someone to volunteer for less.
Nice to see
i think the ability to learn is a pretty good definition of what iq is.
If you're curious (as I was), this bug does not occur in clang, as you can demonstrate for yourself by following the link to wandbox.org in the original story and changing the compiler.
This reads like it was written by a person on the hackathon team, who truly believed in his project. I sincerely doubt those two things were all the perks provided.

To me, he's just trying to paint a picture filled with drive. One where he planned on working overnight on something in which he believed. No need to insinuate tinder doesn't care about its engineers or draw cynical conclusions.
Sadly true. Python is great for scripting, but "high performance Python" is frequently a challenge better suited to other tools.
AI Medicine Comes to Africa’s Rural Clinics
I always wondered what the counterpart to "pulling the goalie" was...
CASTILLE LANDON: INTERVIEW WITH THE DIRECTOR AND STAR OF THE FILM 'ALBION'
Intel Coffee Lake: Will It Make a Difference?
The odds of being involved in an incident are essentially 0 (especially right after the big negative publicity). Someone analyzing just that risk should take United anytime it is cheaper or more convenient.
What is the difference between the cable-stayed bridge and a suspension bridge?
> When I boil it down, it seems a great deal of the stuff I do is taking data from "here", adding and removing and sometimes transforming fields, so that it can be put "there".

Try looking at it differently. When you take data for a database and present it to the user, you aren't moving data from here to there but you are creating information. This is why we call it IT not DT.

Creating information for people is a much more interesting problem and you have to know a lot more about their workflow and requirements.
This is to get a high performance ready app out. You could probably get an app out faster in PHP or Meteor or other prototyping framework.
Tesla is not going to revolutionize energy through selling electric cars and solar panels.

I find the idea pretty laughable.
Show HN: Breakapart: simple gestures on a physical keyboard
Yes, it is considered Opex (operational expenditure) with no asset to depreciate over time.
If you’re deploying C programs that rely on system
libraries, things may get tricky if you cross flavors or
versions of linux. But you can probably deploy static-linked
executables more easily than setting up docker.

For various reasons static linking isn't a good idea for C applications. glibc doesn't work well when statically linked. musl works well. But glibc has strong backward compatibility using symbol versioning. It's not usually worth the trouble to build and link aginst musl if your distro uses glibc. What you should be worried about are all the other third-party libraries, which aren't often written to be statically linked--because of namespace pollution, because of slightly different semantics between dynamic and static code, especially at application startup.

Fortunately, Linux supports packaging apps much like macOS bundles, where all shared objects are kept under a relocatable subtree. When building a binary that will be installed in bin/, for example, just use the following GCC flags:

-Wl,-rpath,'$ORIGIN/../lib' -Wl,--enable-new-dtags

The first flag tells the linker to find libraries in the lib/ directory adjacent to the binary file itself. The second flag tells the linker to try LD_LIBRARY_PATH first rather than the embedded rpath. Debugging and regression testing can be very difficult without the ability to use LD_LIBRARY_PATH, and unfortunately LD_LIBRARY_PATH has lower precedence than embedded rpaths, thus the need for --enable-new-dtags to change the default behavior.

Note that $ORIGIN is a special string that is expanded by the runtime linker, not by the shell at compile time. It's an unfortunate choice of syntax. Getting $ORIGIN to pass through to the compiler without being evaluated by a shell can be tricky when dealing with recursive make and shell invocations, such as from an RPM spec file.

Another example: when building a Lua module I'll use

-Wl,-rpath,'$ORIGIN/../..' -Wl,--enable-new-dtags

because Lua modules are usually installed under $(prefix)/lib/lua/5.?/, two directories below lib/.
In recent searches on Google Flights, I took the trouble to eliminate United from the results to avoid ~30% 'savings'. Even prior to this incident, my opinion of United was extremely low (due to my prior horrifying experiences with them); I haven't flown this airline in 10+ years.
The SATA connectors are designed for hotswapping, the ground leads are longer than the others so you get nice properties when connecting and disconnecting. I'd be mildly concerned about properly stopping the drive that's being disconnected, except it's probably being disconnected to be replaced. I don't see much difference between connecting a drive and turning the power on to an already connected drive.
Funny how actvities creating most unemployment attract most money.
when the extremely unlikely happens, always keep in mind that somebody may be fucking with you.
A templating system is a new language.
This reminds me of the idea of the "irony flag" that I recall discussing with my fellow-immigrants when I arrived in the US years ago, to make its presence clear. But now, thanks to globalization, irony can be easily found in America, along with Marmite and Sam Smith's.
I use the basic safety razor from Maggards: https://www.maggardrazors.com/product/maggard-razors-basic-s...
It buys you the stack size of each thread which only matters if you have a stupid amount of connections.
In this article[1] the author makes a comparison between the 2 models and 7000 concurrent users will chew up 450MB of stack space. Of course this is adjustable.

[1] http://byteworm.com/evidence-based-research/2017/03/04/compa...
for our generation, typing basic or assembly code out on a graphing calculator is probably similar.
I like your analysis.

In the U.S., plane tickets are a contract where all passengers agree to the standard overbooking process: passengers who don't have a seat are placed in a standby status. If they are bumped from the flight, they can get up to a certain amount of money and are placed on the next available flight.

It's shitty because no airline offers an alternative to this contract, so all passengers have to accept it... until Southwest decided to stop overbooking.
Welcome to VB6.
eat sleep code repeat

at least until interrupt fires such as HEART_ATTACK or WIFE_LEAVES_YOU_FOR_SALSA_INSTRUCTOR
Ada addresses memory issues in a couple ways. In a general sense, the language is designed to prevent the need for explicit allocations and pointers as much as possible. The runtime uses a secondary stack to return dynamically-sized objects from functions. The low level parameter passing details are also compiler-controlled. The programmer specifies how an argument is used (input, output, or both) and the compiler deals with how to accomplish that. There are some other features (mostly related to types and bounds) that all combine to generally reduce the need for explicit memory management.

Once you do get to explicit memory management, Ada does a number of things. I'm going to a list here just for my own sanity.

First, all deallocations are essentially marked unsafe. You use Unchecked_Deallocation() to free memory.

More importantly, it provides memory pools, and subpools. Each pointer type can be associated with a pool (or subpool). Once the pool goes out of scope, all memory is freed. You can use this to avoid explicit deallocations yourself. Pools also control allocations and deallocations, and there exist Debug pools that can help ensure memory is accessed correctly.

Ada also requires that stack-based objects be declared as "aliased" before you may make a pointer to them, so it's always clear where there might be trouble.

Finally (I think), Ada has a concept of accessibility levels. Essentially a pointer cannot point to an object that is more deeply scoped than itself. This isn't the perfection of the Rust borrow checker, but it does quite a bit.

As for C FFI, Ada does that quite well. It's got a package in the standard library with C interface types, and aspects for marking things for C FFI.
Open source yes, but if it might earn you a bit of coin, then generally no.
I'm also highly, highly SKEPTICAL of these findings. I've known MANY people really scarred from divorce. I've NEVER met anyone similarly scarred from being fired.

I think long-term unemployment could have more traumatic effects than divorce, but that's very different from being fired. The way the article was written, it spoke more of unemployment than being fired itself.
const users = await getUsers();

const tweets = await getTweets(users);

console.log(tweets);

Is async code really harder to read?
Could you have little automatically-run cable wipers that slid down periodically and were retracted.
Thanks for that tip! I'll try that one next time.
Blockchain Capital Token Audit
I actually agree with you on this, I'm mortified by what they did but that doesn't make me a less rational consumer.
Zinc Battery Breakthrough Could Mean Safer, Lighter Cars and Smartphones
Yes, fun read...BUT do not read this if you're an entrepreneur!! Do not try to "fake" or "trick" your users with your product!!
...and, this is how change doesn't happen.
The dystopian view is that their research has uncovered more effective bioweapons. The side effect of knowing how the body fails is knowing how to trigger the failure modes.
Part of the problem is that the best advice sounds aggressive or rude. What I'm thinking of is from bugzilla:

1. what did you do?
2. what did you get?
3. what did you expect?

It's very hard to couch this politely enough for colleagues to take it on without a sense of resentment.
Well, I fly United about once a month and I've been involved in an incident exactly once in the past 20 years. I wasn't thrown off the plane, just the guy seated in front of me. I still fly United because I expect they are on best behavior now.
I've seen movie theaters overbook too. I think you might be surprised about how many industries overbook.

I think it's the worst when hotels overbook. Typically the replacement hotel is less nice and has a bad location.
RAND's analysis applies to Trump's media strategy as well.
What is the point of learning to make a Google anything when it will all be deleted and replaced by Google's new version or new thing in a few months or at most a year?

Perhaps Google should put its money into philanthropy rather than in employing programmers in busy work.
5 Beginner Drones with Exceptionally Long Flight Times
Habitat.sh seems to solve all your concerns. It's a clean room build tool that runs a supervisor on pid 1 of your containers and enables them to be configable, plus lots of other goodness that answers "how do we manage containers after day 1" style problems.
Maintainer: Generate AUTHORS, CONTRIBUTING, and CHANGELOG for Your Repository
> It is possible to simplify the interface by reducing the number of tools without necessarily removing functionality.

Could you explain with an example?

I think what you're saying may be technically true, but not necessarily what most users want.

I'm most familiar with photo editing and retouching, and while the software can appear daunting, it all makes sense looking at it as a photographer and using it for a little while. I use both Capture One and DxO Optics for RAW processing and retouching, and I often read the forums forums for both, and I don't recall ever seeing complaints that there are too many options and tools.
Do you really see MORE blatant propaganda/bias in the media today than there ever has been? Sure, there is some.. But there always has been and we have such diverse sources for opinion bits that it makes this a nonissue, right?

I mean there is a difference here:

News: "US Bombs Syria"
Opinion: "A line was crossed and Trump acted", "XXX Unproved actor did Y so We did Z", "One country just attacked another without going through the UN"

Yeah, states have agendas. Big media groups tend to have interests/friends that aren't totally obvious. Mass media is probably skewed on their commentary as a result.

But, we seem to be extending this warp field as an instant invalidation of all views counter to our own. Something we don't like? Obv ;fake news' and 'propaganda'. It's making lots of silos.

Those with different views are no longer tolerable. Instead of sitting down and listening to someone with a different take, we (generally as humans, I mean) seem to be increasingly looking for ways to invalidate and cheapen them to avoid having to be challenged.

"You think that drugs should be legalised and want to have a serious conversation at a national level about changing our strategy which has clearly failed? Dope head! You must be one of those pink floyd people"

"You're pro-immigration and I'm pro-isolation? Well you're clearly a lefty socialist guardian reading oolong drinker!"

"You're a business owner with serious concerns about the economic consequences of brexit? Remoaner scum!"

This goes both ways than those right/left examples above -- I do it too. I really think we're getting to the point where we can barely even discuss things any more though, we're so divided and unwilling to even listen to each other it's scary.

Yeah, someone might have an agenda. If someone says to you "obamacare gave millions of people health insurance, why do you want to remove it?" and nine times out of ten this discussion ends with nothing achieved other than discussing the motivation of the origional poster, rather instead of discussing the actual issue: don't you think we've lost something?

When did we stop respecting the right of our fellows to have a different opinion, and when did our petty insults of his motivations become more important to us than his points?

One of Churchill's nice ones: "A fanatic is one who can't change his mind and won't change the subject" and we all seem to be getting fanatical...
I like the idea. I'm a composer, and can never find a simple music sketch app that I like. Everything is either too complicated, too expensive, or some other kind of terrible. I guess Garage Band isn't too bad, but I still have trouble with it. My preferred way of working is with the built-in touch-screen sequencers in Korgs and Yamahas. That workflow is damned perfect. On the desktop, there hasn't been anything usable since Impulse Tracker.

I played around with your app for a while. I found the UI frustrating overall. I couldn't find any instructions. There are no tooltips. It needs tooltips at least. Copy/paste flummoxed me over and over again. I seemed to hit the "end" of the track after 10 measures?? I could make notes longer, but not shorter. After the first 4 toolbar commands, I couldn't figure out what any of the rest do.

I'd really love to have a nice desktop composition sketch app, with a piano roll just like this. Nobody can persuade me that anybody has done this right yet, so as far as I'm concerned you have no competition. I hope you'll keep working on this. I suggest working on the UI.
An extremely minimalist one that will transfer to an language, including creating rust boilerplate.
Updates to LinkedIn Terms of Service
In one way you're right.

In another way, the mounds of negative publicity the last few weeks have already caused change I'm guessing.
It's an interesting question though. I didn't read anything further into it (such as "oh you're saying it will solve ALL engineering problems EVER conceived by all of humankind?!!")

It's just a question, and an interesting one at that. Given they were already prepared to (and did) spend so much time rewriting why not kill two birds with one stone and get cross platform on top of it? There very well may be good reasons to have not used react native. It would be insightful to know what those were or even (to a lesser degree) to speculate.
For the lowest-price ticket, "Super Web Saver" or whatever, there is no way to get a cash refund for a cancelled flight 24 hours after purchase. You just get the credit for cancelling 10 minutes before departure.

After that, you get nothing. It's in the contract. I think it's only been that way for 2 years or so.
Totally agree and would act the same. I think all airlines are on their best behavior at this point. I hate to say this, but I've used this incident when dealing with other corporate bullies lately and it seemed to be helping. I.e. I got my way very quickly hehehe.
It may not have been practical for the flight crew because of hour on duty restrictions. But they could have transported 4 passengers for $1-2 k on a limo.
That statement doesn't say anything about when Google became aware of what he was doing. It may well be that Google wasn't aware of the earlier scheming until many years later when they started investigating the bigger issues in this case.
Top Books on Algorithm Design
Southwest has never had a fatal accident (as a passenger).

That is damn good.

[1] https://en.wikipedia.org/wiki/Southwest_Airlines_Flight_1248
For nine-figure fraud? What would you propose instead?

(It's fraud when you take advantage by ignoring the established legal rules that everyone else is playing by, however suboptimal those rules are.)
A brief overview of the quest for machine intelligence
The rise of reading analytics and the emerging calculus of reading privacy
Regardless of how heinous it might be to someone that a whole flight turned down $800, I can guarantee there was a number for every single person on that flight that would have averted the disaster. Now some of those numbers were probably much, much higher than others but I guarantee everyone had a number they would have agreed to (barring extenuating family circumstances or the like).
thousands of kg is probably the most recognizable unit (besides pounds for those of us with archaic units)
Five hour limo rides are nothing out of the ordinary. Maybe a thousand dollars or two.
Appalled by Trump’s first 100 days, tech workers join the climate movement
Any time I fly I try to get the lowest possible fare by using priceline/kayak/whatever. Southwest never comes up among the lowest prices.
Right, that's the ballpark of the 'natural ceiling' for how much they should be willing to pay (at maximum) for a solution involving deferring passengers; also in /real money/.
The actual limit is 4x the price of the ticket, capped at $1350, so it could very well have been down in the $400 range.
> Isn't that the main idea behind wastewater treatment everywhere anyway already?

Sure. And on this point I wrote:

> Even with the population density of NYC, in the end the crucial step is some bacteria eating the rest just as in my septic tank.
I actually just booked a flight the other day for a fairly last minute vacation and round trip PDX to MCO was 244 on united, but almost 800 with Delta. It was tempting to fly United purely because of price, but since I have nice status with Delta I ate the cost. Only other airline that was as cheap as United was Spirit, and no way in hell am I flying them.
Some skeuomophic design makes more sends in DAWs, especially the mixer where you might be controlling it with an external controller.

That said, a lot of plugins and virtual instruments never left that world of design after most others moved on.
Javascript's async feels a bit more natural than Python's.

In Python, you've also got to run the event loop and pass the async function to it. This makes playing with async code in the interpreter more difficult. Also don't forget that async is also turtles all the way up (same as in JS). It'll infect any synchronous code that touches it.

I've written a Tornado app which makes heavy use of asyncio, and while it's pretty efficient, I would reconsider writing it the same way if I had to go back in time.
I used to fly exclusively Continental, but after the merger with United, the entire brand just started cutting every corner possible and I bailed for Delta about three years ago.

Well before this issue, they were already flagging IMO and one of the biggest changes was the changes to their seats. They are thin and uncomfortable, have limited recline and their back pocket size is not large enough for a thin laptop anymore.

Their customer support and mileage program were also relatively bad up until recently - now everyone's FF plan is about as bad.

Also DeltaOne from JFK to SFO is amazing - no domestic carrier can beat it.
I'm a bit confused by this logic; git is written in C, so if Rust is supposed to be "better then C", then wouldn't it make perfect sense to write it in Rust?
It's always interesting to me how much experiences vary, and how likely it is that our biases also color our perceptions. Almost always when I get on a Delta flight (admittedly I fly them the most), I'll get a friendly hello and what seems like a professional and genuine smile when I get my beverage. My last few experiences on Southwest have been a borderline sneer (if any acknowledgment at all) as I get on the plane, followed by bizarre jokes over the intercom or a round of applause for the plane landing (?).
The vocabulary might be counted using different meanings
and not counting meanings that can be created by combining simple meanings.

Pat Cassidy is trying to create such a simple vocabulary at micra.com

to quote from his website:

MICRA is hosting the COSMO (COmmon Semantic MOdel) ontology, a public, open foundation ontology that is intended to include all the basic elements required to specify the meanings of any more specific concept in any domain.
My family travels regularly from Boston to Asia, usually once every two years. A $150 difference in ticket prices for a single person makes a big difference when multiplied for several family members, and UA consistently is the lowest priced.

My wife and son went for Lunar New Year a few months ago and paid $780/ticket on UA, which was not only far cheaper than the competition, it was the cheapest I had seen it at any time for decades (I have heard that the new international routes enabled by the 787, including direct flights from Logan to Japan and Dubai, as well as new carriers flying to Logan have changed the pricing dynamics).

Yes, UA service blows. It's really quite bad. But we are willing to put up with it based on the savings for our family, and can sometimes wrangle the trans-Pacific leg on a codeshare with ANA.

Another thing I have to say about UA: It's much easier to redeem points for goods than other American carriers. This helps us, as my kids and wife get a bunch of miles for the transpacific flights but don't fly frequently enough to exchange them for free tickets. I've been able to cash their Mileage Plus points for tools, luggage, and gifts, including a really nice Citizen Eco-Drive watch. Yes, I know the exchange rate for the miles isn't great, but they cost money to transfer or extend and would likely be abandoned if we didn't use them for purchases.
> (PS: apologies for the 'thousands of kg' units. I thought it was more readable than Mg or fully written out numbers.)

Just write tonnes (= metric tons)?