skysight-inc/HackerNews huggingface dataset:
> The growth of Airbnb and the rise of such budget airlines as Ryanair have coincided with Barcelona’s increasing popularity.

It's a little unfair to point the blame solely at Ryanir. The Spanish flagship airline, Iberia, also has a low-cost wing: Vueling, based in Barcelona and established in 2004.
Do you mean in the sense that a compiler can say "I know what memset is supposed to do" then decides that even though sizeof returns a particular size, that it might ignore that and set fewer bytes when it does a substitution for the memcpy call?
Consider the lorawan spec which was written in the last 5 years. The stack is designed to be implemented in software on small 32 bit microcontrollers which are _all_ little endian. And it's big endians.

The people that wrote that spec knew that and went with big endian anyways.

Also I work with people that do network hardware. They can't care less about little or big endian. Makes no difference to them.
Specifically Unity would have been much better served using something like Electron. Unity's UI looks bad, feels bad, and is a huge pain in the ass if you're authoring extensions.
Is inkscape unique in using standard SVG as its native file format?
Actually, in `if let x = someOptional`, you should rather see it like this: `if (let x = someOptional)`. If that second part were a function, it would be `() -> Optional<T>`.

That is to say, the if statement is satisfied if the "result" of the "function" (if you follow me; clearly I don't mean it's actually a function in the implementation) returns .some(T) (not nil) rather than .none (nil).

That we can do an assignment with `let` is just syntactic sugar for:

if someValue != nil {
let x = someValue!
}

Basically, we want to know if the value is non-nil. There are instances where the result can be nil, and if so, nothing gets assigned. For example:

protocol Fruit { }
protocol SeededFruit: Fruit { }
protocol SeedlessFruit: Fruit { }
struct Mandarin: SeedlessFruit { }

let mandarin = Mandarin()

if let someFruit = mandarin as? SeededFruit { }

Okay, so the compiler will actually disallow this, but you get the basic idea: `mandarin` is not a SeededFruit, the cast will always be false, therefore someFruit will be nil, therefore the "result" of the "function" will be nil, which is counted as false.

The thing is, this isn't specific to the `let` keyword, either. You could just as easily define a new variable with the `var` command.

So `let` and `var` don't mean different things in different contexts and never have. Swift just allows them to be used as syntactic sugar in if statements.
I wonder whether demand in a city like Barcelona can ever be met without compromising it as a city and zoning a lot of the city centre for hotel usage ..
Or whether there's a good alternative to just outright banning Airbnb when rent increases so much that locals can't afford to live in most of the city anymore.
I was not suggesting “twitter ha ha”. I meant “twitter where a 2 word phrase could mean something like: i think I can get the deal done based on conversations with my board and interested financiers”.
And you're not writing code for big-endian machines to interoperate with little-endian machines.

It's easy to write binary protocol code that way but it isn't portable.
You may think what you are saying is "true" but I challenge you to find counterexamples yourself. I believe you will find plenty which negate what you are saying. It's too simple of a narrative and lacks real world nuance.

Also perhaps think about what being a "radical" entails.

In short, don't be exactly what the studies in the parent article found.
> Part of the lock-in is their brilliant multi-org client

While not quite as fully-featured as Slack, Keybase offers this. I'm a member of multiple orgs and seamlessly change between conversations (both group and 1-on-1).
Bad news. People simulate love all the time.

When you can't tell the difference, does it matter?
Walmart IRL Shows the Future of AI in Retail
This may not be exactly what you're asking for, but: https://github.com/atsamd-rs/atsamd
Show HN: Web Scraping Language (WSL)
I happened to have 26 tabs while loading this, and spent a minute trying to figure out how the fake bar "knew" my open tab count
I assume the price of audiobooks reflects the fact that far fewer are purchased, so all of the engineering and voice work has to be recouped somehow.

I've done a little voice work before. It is insanely tedious, even for a book I loved.
> Also claiming you believe you lost out on a billion dollar opportunity is a bit egotistical to say.

It's the failure brag. Pretty common ego saving device in the start-up world. The first rule of a failure brag, is to make it really over the top. Something like:

It was a trillion dollar opportunity. We were the first to invent [thing that wasn't very important]. We could have easily smited every one of our competitors, all we had to do is this one thing and poof, weaklings destroyed. I merely needed to wave my hand at them, and I forgot to wave. That's how powerful my wave is. Did I mention we invented [thing that wasn't very important]? It changed the world, a world that was ours to own.
> The remaining issue is endianness, but you can configure ARM to match x86 at boot so shrug.

ARM in BE mode is pretty rare / nonexistent. Small MIPS chips still float around in mostly low-end networking gear, though, and those do tend to run in BE.
That is a setting you can enable or disable. I think default is to always show title bar.
I don’t believe it’s common knowledge that you can secure a loan where if you default, they can only take back the underlying shares as collateral.

Also, he makes more than enough to pay for the interest on said loans even if the loan size equates to his total compensation value.
Perhaps the solution is to have two e-mail accounts: a GMail account to communicate with GMail users, and a non-GMail account to communicate with non-GMail users.

Ideally, also a client that handles all this automatically, i.e. chooses the right sender account depending on the recipient, so that I don't have to think about it.

Just like Pidgin was a common solution for AIM and ICQ, this would be a common solution for e-mail and GMail.
> Of course, this kind of problem in institutions with similar scale (like governments) is mitigated by democracies, but corporations will never adopt something like this, it's anti-ethical to their values.

What? No. Even democracies have a single head of government. The choice of that head may be distributed, but the identity of that person is not, and yes, they almost invariably have hiccups when power transitions happen.

Corporations are representative democracies, where the representatives are the board, and the voters the shareholders, although of course, you have to buy the ability to vote which changes the dynamics.
>The question should be could he be paid a fraction of what he is in reality and do an equally good a job?

Just because it's possible for him to do the same job at a lower salary doesn't mean he will. Disney needs to pay him enough so that he doesn't take a higher paying job elsewhere.
No way. This is awful. They cannot be allowed to do this. What do we have to do to stop this insanity? These companies don’t own the namespace. They are in charge of delivering a service that resolves the namespace.

This is not at all correct. ICANN must not do this!
What about the fairly obvious third possibility that some processes are simply inefficient and/or unproductive (and even counterproductive)?

For example, a manager reads a Medium article and mandates that everyone on the team spend 2 hours everyday documenting what they did yesterday.

Certainly you'd agree that there is not positive value here - maybe even negative value! This may very well be "bullshit" work!

Of course, we can find "reasons" for anything - even spending 2 hours a day on documentation - but that does not mean they are good reasons. (In fact, they are probably post hoc rationalizations.) We should not assume that just because something is the way it is, it is immediately value-adding. Nor should we assume it's immediately value-subtracting. We just shouldn't assume, which unfortunately, (2) does.
https://www.cnn.com/2017/05/15/politics/donald-trump-exercis...

> Trump believed the human body was like a battery, with a finite amount of energy, which exercise only depleted. So he didn't work out.
For me, this was the key paragraph (the paper is basically a history of how the second "culture" mentioned here came to predominate in data science):

"In 2001, the renegade statistician Leo Breiman described 'two cultures' of using statistical models 'to reach conclusions from data.' The first 'assumes that the data are generated by a given stochastic data model.' The second 'uses algorithmic models and treats the data mechanisms as unknown.' This essay sketches the diverse sources of this second algorithmic culture, one stemming more from an engineering culture of predictive utility than from a scientific culture of truth."

As an historian, I was also interested by the part in the conclusion that drew a parallel between recent conceptual shifts among historians of science and data scientists.* Plus I just think it's cool that historians are now starting to really dig into the intellectual history of machine learning in the same way that they study, say, the history of biology or physics.

*This passage: "For at least three decades, professional historians of science have pushed against a vision of science modeled on theoretical physics; we now celebrate the diverse forms of knowledge focused on the careful empirical study of particular things. Exponents of data-focused computational science have a sur- prisingly similar evolution. Just as history of science embraced the study of the particular as it disconnected from a Cold War prioritizing of theory, the data sciences moved beyond the aggregates of mathematical statistics to draw upon granular data sets to characterize particular things—individual people, diseases, films. In a key manifesto celebrating the 'unreasonable effectivenessof data,' three Google researchers argued in terms that echo humanist denun- ciations of reductionist knowledge: “sciences that involve human beings rather than elementary particles have proven more resistant to elegant mathematics.” Something else is needed. 'Perhaps when it comes to natural language proces- sing and related fields, we’re doomed to complex theories that will never have the elegance of physics equations. But if that’s so, we should...embrace complexity and make use of the best ally we have: the unreasonable effective- ness of data.'"
I noticed this as well. I'm wondering if FF is smart enough to always show it's own title bar if a CSS element is pinned to the top of the viewport? Gotta do more testing ...
Maybe, if you don't care whether you get an offer or not. This is an exercise in gift-horse dentistry for people who need the work.
This is called a 'cooperative' and yes it's totally viable. Every corporation is a democracy, except the shareholders are not always the employees. In a coop, the shareholders (or at least the majority of shareholders) are employees (usually due to compensation schemes that give employees stock).

There are several examples of large coops, such as Mondragon, Winco, Publix, etc. They do not require any extraordinary corporate structure, and are completely compatible with the kind of free market capitalism many 'Western' countries have today.
Do you mean they damage the battery? I'm not sure that's true.
You might want to state here that you only pay via Payoneer, and your pay schedule is net+10. Both of these are terrible.
Using Google Optimize in React
Let's try a thought experiment.

The government starts accepting any asset for tax payments. You can now sign over fractional ownership in your factory, or your rental real estate, or your Mona Lisa to pay your tax bill.

Are dollars now worthless, because they're not required to pay taxes? Do you abandon your bank accounts because the dollars have no value?

Certainly not! It's too inefficient for the grocery store to appraise your Mona Lisa and negotiate a 1e-8 share of it. Dollars are still useful, and they still have value even if they don't have a monopoly on tax payments.
Isn't Clang the default compiler on FreeBSD, now?
Disney is copyright trolling? (This is a genuine question). Disney definitely enforces its own copyrights and intellectual property, but seeing as it created those ideas (like Mickey Mouse, etc), I'm not sure how you can call enforcing copies of this idea 'copyright trolling'. It seems only right that the company that made the cartoon profit off of its likeness. The government has perfectly reasonable regulation when others want to use likenesses or movie clips for 'fair use'.
Not sure I believe much in what Tiobe has to say about programming languages but I would happier if Objective C was dead forking last.
https://news.ycombinator.com/newsguidelines.html

> If the original title begins with a number or number + gratuitous adjective, we'd appreciate it if you'd crop it. E.g. translate "10 Ways To Do X" to "How To Do X," and "14 Amazing Ys" to "Ys." Exception: when the number is meaningful, e.g. "The 5 Platonic Solids."

> Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize.

Arguably the original title is linkbait.
Personal experience, I mostly hated PE as well, but I ran track as an endurance runner (ran 400m, 800m, 1600m, 3200m & 4x400m) aand later competed amaturely in cycling.

When I was running, I was putting in 8-10 miles a day. Cycling was around 1.5 hours for a weekday, 3-4 hours per day on a weekend.

I wouldn't say I was depressed at all in those times, but I was certainly stressed quite a bit and I did feel that the exercise was a cathartic escape from the stress and worrying. I'd kind of zone out at 25 mph, 30 miles from home on the bike and the mind would just clear.

I also loved the competition. I never won a race, but I placed second with a near win in a bike race. Racing on a bike is an experience of its own right. When you're in the peloton, it can be nearly deathly quiet. You can have a quiet conversation with the person next to you. All you hear is the tire noise on the road and the turn of chains over the gears. Zero wind noise. It's weird and magical. Something you don't expect or get to experience as an amateur training alone.
I have used this and combined it with a small autocomplete engine built on top of Redis a while back. It worked amazingly well. Users type three words and we fetch the entire list of completions from Redis, then we pass this through to Postgresql. We even built synonyms into the Redis cache, so that users who look for "car" and we have a "vehicle" in the DB, it still works. For whatever reason if the Redis instance is not up (less than 0.1% chance), then whatever the query is goes to PG's full text search backed by the trigrams. Beautiful.

Granted for this to work the DB needs to be somewhat stable in size. For us, it was a list of products that rarely changes, so the Redis cache can be built on server bootstrap.
Imagine being surprised at what happens when Jews take over a company.
Show HN: Sell Downloads with PayPal and Drive. PayPal Transaction Fee Only
Comments close in one day, you can submit one at https://www.icann.org/public-comments/org-renewal-2019-03-18...
Thankyou dang. This is not personal at all. I wish this person well, I'm sure he's a nice guy!

I wanted to point out a phenomena, that I happen to be passionate about. I have thought alot about this. It was not meant to be a random twitter comment. But I am very serious about this, and hope that people notice this pathology. This guy is clearly lost in his "left-brain" [1]: full of details, trees with no forrest. It's all about plans, manipulation, linearity, verbiage, control. No wider context, no magic. Probably he has an impressive mastery of details, but basically clueless, as I said. Very likely he is a positive energetic person, full of charisma, nice to be around. Yet too often we put these charismats in charge! So that's my Dr. House run-down that I was reluctant to give. In summary, good with spreadsheets, hopeless at finding a direction.

[1] See "The Master and His Emissary" by Iain Mcgilchrist. Awesome book.
The 3rd party payment gateway is already set up. Setting up the taxed version is the extra work right now! But yes, we don't have a web version. But what if I set up something basic and buggy which nobody uses, just to avoid the tax? This whole tax affair looks crazy to me.
Why do you think people won't want the traditional book format any longer? I'm asking because i love podcasts, i love short stories, and i love books, and these all feel completely different to me, and i enjoy them much differently. To me it feels like publishing the business has changed, but that to us there's more great content of all these formats than ever before. I'm into it, i hope this trend continues.
The topic of this thread is "what caused major cities to exist". The argument of the article was access to major hinterlands via rivers is why cities like london, nyc and shanghai exist. As you proved to me, the hudson didn't grant access to major hinterlands. It took the creation of the erie canal for access to the great lakes and mississippi.

I'll repeat my point for your edification. NYC was already a major city before the erie canal. As I stated, the erie canal was built because NYC was the most important city in the US. The erie canal didn't cause NYC to become the most important city in the US.

Yes, the hudson river with one of the world's major projects ( the erie canal ) eventually granted access to the hinterlands. But before the erie canal was built, it did not. Yet, NYC existed before the erie canal. Meaning without "access to the hinterlands via the artificially created erie canal", NYC would still exist because it did exist without the erie canal.

Using your logic, NYC shouldn't have even existed before the erie canal because it didn't have access to the "huge hinterlands". But we know NYC existed prior to the erie canal and access to the "huge hinterlands".
I'm sure the parents want the kids getting out of brain-drain regions too. Why ought kids stay?
Embedded and niche industries are forcing their programmers to work with 30 year old tooling? (Instead of 20 year tooling?)

Why does how old it is mean anything at all? I personally choose C89 because of its wider compatibility, and I don't think I'm any worse off because of it. As the saying goes, "it's not about the tool, but how you use it." Incidentally, the best programmers I've worked with have also been the ones with the most conservative choice of tools.

I think at some point, writing yourself a transpiler from C99 to C89 becomes profitable… (The JS community did it for a lot less than that w/ babel…)

If anything, I think the JS community could learn a lot from the "C community" (a very loosely defined term...) --- the huge amount of churn with anything related to JS and web stuff in general turns me off.
Is there anyway to see an outline of such “borderline“/maybe someday discoveries?
It's pretty much the same argument as web designers who choose to use a visual design tool versus those who choose to write HTML, CSS and JS to produce their design. Some things are easier when designed visually, others are easier when written in code. Doing LaTeX graphics is the same.
I'm having a hard time to understand what is ImGUI (and what is the opposite RmGUI)... any could help me with ELI5? It sounds like ImGUI is reactive while RmGUI is not?
Ask HN: Software IP Conflict
I built an app for five other people with the intention of forming a start-up with them. I did not sign anything, and there was no compensation. When they gave me an offer to become an employee in their new company, I did not accept because the invention assignment and at-will employment status would let them fire me, keep my work for themselves, and sue me if I did anything related in the future. All proprietary algorithms in it are either my own inventions or implementations of papers I found from Google. They tested the app and made suggestions of what I should implement.

They want me to give them the original source and sign it away as their new company's invention in exchange for very little just to keep control over it, so that I sign something and they can then sue me if I work in this domain again. I have offered to license the app to them, but they want full control over it. They have never had access to the original source. They have harassed me repeatedly since then. They say if I sell the app in this industry, or any other industry, they will take me to court. They have demos of the original app, but no source access, and are using another developer to recreate it with an identical UI and features advertised. They used a demo of the original app to get funded, and are currently selling their recreated clone.

This app just uses simple programming techniques (basic data science) to solve some common problems (solutions provided by dozens, if not hundreds of different products) in a single, large industry. There is no magic in this app, any competent full-time developer can recreate it within two months from some whiteboard sketches. I have received several requests to purchase licenses for this app and want to know if I can do that.

1) What are my options with the current app?
2) Do they have any valid legal claims against me?
3) Do I have a valid legal claim against them for rewriting a clone of the same app and selling it?
Wow that some of the most effective PR money ever spent then, isn't it?
It's also very much possible that the entire digitalocean /22, /20 or even /18 sized chunk of ipv4 space it's in has just been null routed, due to the documented presence of other VPN endpoints in it.
Kim Kardashian Plans to Become Lawyer, Will Take Bar Exam in 2022
Trivial point: `Omit text in pdf and cre­ate LaTeX file’ Should be "emit text"!
Apparently it's in C++20, so feel free to stop memsetting whenever you update your C++ compiler next (clang needs a flag to enable it, gcc has had it as part of it's c++2a support for 2 years)
was not saying he was let go, after he made a year in practical solitary confiment (with visits from UN and the pope denied), he was allowed to have the law manbdated leaves and visits, which was already a victory.
Note that while inkscape SVGs do conform to the standard, they do contain extra information in their separate namespace to preserve UI information across save/restore cycles.

One example would be layers. They are saved as standard complient groups of SVGs features. But not all grouped elements form their own layers. So the groups that should be shown as layers do have extra meta data on them. Any standard complient SVG reader while deal with that group correctly, but might not represent it as a layer in it's GUI.
I use Ipe [0] for my work. The wiki page [1] gives you an idea of what it looks like.

It's also open source and you can compile LaTex directly in the editor to see what it looks like without switching windows.

[0] http://ipe.otfried.org/
[1] https://en.wikipedia.org/wiki/Ipe_(software)
Top Trees to Attract Pollinators
What’s interesting is the world has a brain drain.....and the highly educated adults are going to US. From places like India and China.

Don’t believe me? Check this out: Chinese students got beaten down by university securities, for protesting against fake degrees given to them. Happened today
https://www.reddit.com/r/China/comments/bhxgng/chinas_studen...
True. The idea doesn't hold as well now that data can be passed into a generator in Python. Ie. Now that there's coroutines.
"At a small enough level", though you didn't seem to read the actual comment before you spit out this statement.
I think it would depend on the person. For some people, if you know a machine is not capable of feeling anything in spite of it acting like it loves you, then it simply won't be the same as the reciprocal affection shared between two people or even a pet and its caretakers.
Ethereal environment for relaxing game prototype