skysight-inc/HackerNews huggingface dataset:
HN could if it wanted to insert an &nbsp;<space> following a full stop. It doesn't.

One reason being Mr. Twee I-don't-use-two-spaces-after-a-full-stop, that it's awfully hard to tell if "Mr. Twee" is a sentence end or not, or if "stop. It" is supposed to be something else.

That is, in the typewritten manuscript, the double-space following the full stop carries meaning which the typesetting system (HN's HTML encoder, here), would have to guess at.

Or, you know, there's another way. Those of us who learnt to type properly can tip it off with our fuddly double-spaces.
So aticle is from 2015. End of 2017 I wanted to make really simple GUI for a python script. It turned out making a GUI with 5 buttons and shipping it as exe in Python 3.6 is extremely complicated and convoluted.
I wrote the main logic in 30min, and spend 2 days figuring out the GUI and the packaging to Exe.
Because longevity isn't essential to our survival. You're suggesting that diverting energy away from other traits in favour of longevity would have no negative impact.

IMO there are all sorts of possible negative side effects that might emerge. Like a longer life making us more cautious, individualistic, and short sighted (not personally but on a species scale). You could argue this is already happening due to environmental comforts and medical advances. In fact dramatically tweaking a trait like longevity for a new generation would likely have a massive impact on their personality and culture... talk about a generation gap.
So, kinda like BusyBox?
We could shift the low-demand graduates to high-demand graduates with somewhat decreased cost, in theory, by simply axing two thirds of the low-demand programs, no?

But here's where I run into a problem with this theory: why haven't we already, then? If the demand is that imbalanced, why aren't more companies desperate for labor to the point of training workers themselves despite mismatched (or no!) degrees, or why isn't the big pool of under-employeed workers finding massive benefit to individual re-training that should pay off in spades? Even in the most immediately obvious areas, software, a lot of bootcamps have mixed or dubious outcomes, yet in theory it should be easy to do extremely well with that.
Wow. Corporate taxes cause drug addiction? Is there any evil that cannot be solved through lower taxes?
Stopping people from moving here is the most popular thing a Bay Area politician could possibly do.
Thanks. I understand why they're a great solution in the domain of cryptocurrencies, but I'm not sure how they will be used by a lot of the companies looking into them now like Facebook? I'm asking more for the general usecase of blockchains. Specifically, in what situations would I want to use a blockchain?

You seem to be saying that you believe it has the potential to revolutionise a few things in the world of finance, which I would agree with. How much it will change those industries in reality though I'm a little more sceptical about.
New app to track Ethereum price and trends
Hey, I'm a software developer and recently I've been looking for a lightweight Android app to keep track of Ethereum price development and market cap. Most of the apps available were either too heavy, spammed full-screen ads all the time, or just looked really, really ugly.

I ended up visiting coinmarketcap.com every time to check the price, but let's be honest, doing that on a mobile phone all the time is just annoying. Also, the chart takes ages to load (at least for me).

> Bear with me, I know this reads like an advertisement (probably because it is),
> but I promise it's worth every penny (it's free).

So, long story short, I decided to write an app that fits my needs.
It's available for free on the Google Play Store here:
https://play.google.com/store/apps/details?id=com.splittydev.ethereum

The app is very lightweight (just 4mb) and shows Ethereum price, price development, market cap, trading volume, supply, and a trend chart for the last 24 hours.

I designed an elegant dark theme that's easy on the eyes (you can switch to the legacy light theme in the settings if you like) and the live data is pulled from coincap.io every 10 seconds.

Also, the app requires no permissions.

Full disclosure, there is one small banner ad at the bottom of the screen that doesn't interfere with the app at all. I promise there are no full-screen ads or anything annoying, and the chances of clicking the ad banner on accident are basically zero.

> TLDR; I wrote an app to keep track Ethereum price and stuff,
> and would be very happy if you'd try it.

Of course I'm open to constructive criticism, so go ahead and tell me what you think!

I'm looking forward to hearing what you think about the app.
Have a good day!
I am learning German Language, and this is my vdo where i am sharing my learning
You do know that INTC is up compared to 1 month ago? If it didn't drop that much on the initial announcement, why would it plummet in the coming months?
You have your tested backups, yeah?
> you mustn't write them off... It could be you one day.

It's a little discomforting how few people seem to care about that.
Well, that is great example.

How does it solve breaking of this "trust"?

In the same way that I shouldn't give credit card numbers to random website, I pay some coins to a random website which promptly runs away with those coins.

While for credit cards we have entities which can solve this problem for me, how does blockchain solve this problem? Because if this goes mainstream we will have people getting scammed a lot.

Or even people who get hacked due to the recent Intel bugs:

https://news.ycombinator.com/item?id=16076575
But it is the same principle inside a big country like US which is really vast geographically. Look at Europe. Properties in Eastern Europe are still a lot cheaper yet most university educated young people are migrating from east to west. So obviously they value the economic and career opportunities in those big metros in Western Europe and even though flats there cost 2x or 3x they still go.

Just because you can buy cheap house in Mississippi is not going to cause young doctors, engineers, lawyers, other professionals and graduates from top schools to start migrating there. It's just not worth it for them, they are looking at their long term career prospects and can do the math.
Bitcoin sucks, but don't underestimate Bitcoin 2.0
I agree, but Tesla seems to have sweated the human factors way more than any other car company. When I test-drove a Model S, I expected the screen to suck. But I didn't hate it. Somehow it just works. It's difficult to explain.
We have plenty of land, though! The similarly-sized Tokyo metropolitan area (5,419 square miles, 37.8 million people) has over six times the density of the 9-county Bay Area region (6,966 square miles, 7.68 million people).
Hey, I’ve got no diploma, just 30 years of commercial development. But even I know that all the unit tests in the world can’t paper over the flaws of a typeless scripting language.
I think it is a very valid point to asked how a company could have been presenting something that was not possible, why people invested in a company saying things that were not possible, and why Magic Leap is holding to the fiction that it might be possible. It seems to me to be a pretty simple question. Were they lying or did they not know what they are doing?

I've heard them referred to as the "Theranos of VR" more than once. And people are still throwing money at Theranos ( https://www.bizjournals.com/sanjose/news/2017/12/26/theranos... ).

About the only conclusion that I've been able to draw is that a lot of people simply have too much money.
Using JavaScript to teach the design of appropriate data structures and algorithms for a computational problem is bound to be an uphill battle.

And anyone who seriously considers teaching a first language that students can't use in a data structures and algorithms course (without having to learn a second language) isn't worth paying much attention to.
I agree that blockchains are overhyped. But I don't think the value of P2P uncensorable money can be overstated in this day and age.
I take it you never went through a juvenile Kerouac phase?

METHOD No periods separating sentence-structures already arbitrarily riddled by false colons and timid usually needless commas-but the vigorous space dash separating rhetorical breathing (as jazz musician drawing breath between outblown phrases)--"measured pauses which are the essentials of our speech"--"divisions of the sounds we hear"-"time and how to note it down." (William Carlos Williams)

---

http://www.writing.upenn.edu/~afilreis/88/kerouac-spontaneou...

---

edit: I kid, but those notes never left my adult mind and come to play to a lesser degree in my consideration in structuring letters, comments, and larger writings. I think the style has its place.
Hacking a Google Interview (2009)
I don't get why this is a big deal.

We already serve up content based on people similar to you or making similar choices as you, why not health forecasts?

If I eat healthy, exercise, get the proper amount of sleep and am not addicted to drugs, why not show me how other people with similar habits as me are doing, instead of averaging in people who treat their body like a dumpster?

Showing me the life expectancy averaged across an entire country of 300 million doesn't motivate me to do anything. There is nothing I can do that will make any impact on that number. By this logic we should show life expectancy as the average of the entire planet, that would be the best wouldn't it? No.

Showing people an accurate life expectancy however, could motivate them to make changes to their lifestyle or stay the course if they are happy with it.

I don't know, maybe people just have negative knee-jerk reactions to anyone proposing individualist sentiments.
More fathers are taking time off to be there for their kids as school year begin
Logitech makes those magic trains.
Jerry Lee Lewis is, improbably, a generation’s last man standing
https://www.youtube.com/watch?v=te6VqldjTT8

Agreed, it's great.
Are you accepting interns ?
It's actually cheaper to own than a Honda Civic. These guys did a fairly solid breakdown of the ownership costs over 5 years.

https://www.youtube.com/watch?v=XR_ub5eL9n0
Can't wait to find this on archive.org when the OC lets this domain expire
I can search full text of my email on Protonmail.

At least I'm pretty sure that's what I'm doing.
Isn’t the minimum wage in SF $15/hr?

Even if it were $100/hr that still doesn’t mean the housing supply would be adequate for the demand.

The only short-term solution that would give sufficient housing supply to the Bay Area would be a massive loss of jobs.
Spyderco Caly 3.5 Carbon Fiber.

The reason is - the blade is 3-layer steel - where the middle is: ZDP-189 - notably the hardest steel your can buy in pocket knife for the price.

It's hard and non exactly stainless and is brittle due to hardness and hence - 2 layers of stainless steel on each side.

I don't like it's shape - but i like the quality.
> Or rather, my right thumb does. I learned to type on an IBM Selectric, I use mostly mono-spaced fonts, and two spaces after a full stop makes perfect sense. I went thirty years between learning it and thinking about it, and then some point-and-drool twee bloggers made it unfashionable.

I actually learned to never use double-space-after-period for text that would be rendered directly (e.g., not by a typesetting toolchain that would replace it with a more appropriate but not available in ASCII wide space) in proportional fonts before the Web existed, and it seemed to be fairly widespread advice. This is absolutely not something that was originated by “point-and-drool twee bloggers”.
Not to discredit Django but if you're already using PostgreSQL you could use http://postgrest.com which is a more tightly knit component for fts.

With PostgREST you can avoid the abstractions overhead and just use plain SQL and REST calls, basically to do a fts using `to_tsquery` you would do:

CREATE TABLE blog_entry(
headline text,
body_text tsvector );

GET localhost:3000/blog_entry?body_text=fts.Cheese&select=headline
Follow-up tip: also on a Mac, go to System Preferences → Keyboard and check “Show keyboard and emoji viewers in menu bar”. Then, hit the icon just added to the menu bar and select “Show Keyboard Viewer”. With it open, hold down Option, Option+Shift, etc, to live-preview what will be typed.

For symbols not there, hit Control+Command+Space to open the emoji/unicode typer. Hit the icon in the upper right to switch to a view where you can add favorites, like those arrows above.

Some favorite shortcuts of mine besides the dashes:

- Option+; → … (proper ellipsis)

- Option+[ and Option+Shift+[ → “ and ” (admittedly, typing in an editor with smart quotes is better)

- Option+] and Option+Shift+] → ‘ and ’

- Option+= → ≠

- Option+Shift+= → ±

- Option+x → ≈

- Option+, → ≤

- Option+. → ≥

- Option+Shift+8 → ° (degree symbol, don’t confuse with similar characters)

- Option+p → π

I read something related to Perl 6 work that resonated: Unicode opens up a lot more possibilities than we’ve taken advantage of, we just don’t yet have the hardware to make it convenient. Keys labels as screens is a perennial idea; maybe once somebody does a great job of it, we’ll see those Option shortcuts frequently used.
This is indeed not what blockchains prevent. If you have bad rules (ie. government is complicit either accidentally or intentionally) there is nothing that can be done.

And because governments really don't want to admit to their constituents how much they really spend and what they spend it on, the rules are ... less than perfect.

But a blockchain can vouch for the fact that the ledger was made according to the (supposed to be published and fair) rules, and that the rules didn't change except with total agreement.

So enron would have been able to book things in against the rules, but an easily written automated program would have detected such shenanigans, and there would not be anything Enron could do to prevent that program from raising red flags when the transactions don't follow the rules (so it would not be possible to book in such transactions, then not book in payment in full when it's due. If you're wondering how that's possible, consider that in bitcoin there just isn't any credit. So the only way to place an order using a bitcoin directly is to stake they money ahead of time, optionally with an instruction that it'd be paid back if an "oracle" (anyone else on the blockchain) says it's not delivered correctly)
Hey, man. I'm working on something like this. Hit me up, we can talk about it more: http://reggieescobar.com
Professional politicians who know what the people need better than the people themselves.
I'm guessing you mean “no parallelism”, right? Because JavaScript has (admittedly horrible) concurrency support. Otherwise what's this “callback hell” some people complain about?
Ok, so I want to quickly read a text file and save something back to another file. JS anyone?
"One of the things that drives treatment costs up is more advanced technology."

It's not so much the technology as it is the setting in which the technology is deployed. Compare US costs to costs for the same procedures and technology in top medical tourism destinations. Quality of care and outcomes are much better at a fraction of US costs. It's the big morass of stuff around the US health care environment that adds big multiples to the cost of deploying new technology.
so one option would be to limit the length of mortgages, which has been tried elsewhere and supposedly slows down the land price growth
There may not be rules but there are conventions.

These conventions are rarely very strict but they do help communicate your ideas. Understanding them and understanding the impact of not using them is an important set of knowledge if you want to be clear and well understood in your writing.

It is similar to good typography in that it isn't required but that it will often make the reader enjoy or understand the work more when reading.

Obviously there have been many great writers who knew how and why they were breaking those conventions. E. E. Cummings was a notable example.
I had some criticism about the whole established companies going for blockchain:

https://news.ycombinator.com/item?id=16017754
It is expensive, but it looked really good so I was willing to give it a try. We'll see how it works out.
The problem is that we keep trying to pretend that it both is and isn't a market.

In theory you can actually have a free market for healthcare. You get cancer, there are multiple competing providers of cancer treatment products and you choose one based on effectiveness and price. A better treatment can charge more, but if it's only 5% better and costs a hundred times as much then most people won't use it. Which will bring the price of the best treatment down to something most people can afford.

The alternative to that is that the government imposes prices regulations, sets low prices for everything and then funds medical R&D with tax money instead of having high margins for medical procedures. The main problem with that is that the government may not fund the right things in the right amounts, either failing to fund very effective research or wasting money on ineffective research.

What we actually have is a bastardized hybrid that doesn't work at all, because when the insurance is paying for it but there are no price regulations, people will always choose the treatment which is 5% more effective but costs a hundred times as much, and then the provider obviously has no incentive to lower the price. So the price of everything gets completely out of control.
Write like you talk, and usually you achieve both.
> Not mentioned often however is why corporations also are loving the idea of private blockchains (IBM Hyperledger, R3, etc). Private blockchains involve trusting only a couple participants to join the network. A set of banks can define a mutual settlement protocol in a standard smart contract for example - in using a blockchain, they mitigate the risk of other banks affecting their system.

Yes, this is what really interests me. I'm trying to understand why companies like IBM and FB want to develop their own blockchains, but I'm struggling to get it.

Do you think you could give me some more details about how this would work? Do you have a real world example of how banks could use a private blockchain?
What's the general use case of the internet? Any answer to that still leaves you to connect the dots with real-world effects. It sounds like you wants some of those real-world effects for blockchain technology listed for you. Here are some far-reaching possibilities...

* Puts the whole world on the same level of financial freedom and participation -
farmer in Africa without an internet connection permissionlessly invests in a Chinese tractor company via text.

* Solves the problem of ownership - no need for house, car, etc title companies.

* Brings a new level of honesty to the financial world - auditing industry goes away because it's not possible to cook the books.

* Every movement of value becomes near-instant and doesn't require trusted middlemen - elimination of clearing houses.

* Breaks down national borders - vastly improved supply-chain logistics.

It has the potential of reshaping almost every corner of the underlying structures of modern economies. Just like the internet, it's the foundation for a new chapter of innovation. Who knows what will come of it?
I believe that teaching programming should be centered around teaching programming concepts as opposed to languages, a la SICP or Concept Techniques Models of Computer Programming. The languages used there (Scheme and Oz) are just vehicles to teaching timeless concepts.

Teach a language and you will prepare someone for the present. Teach concepts and will you prepare someone for the future.

By concepts I mean things like closures, higher-order-programming, concurrency, explicit state, inheritance, security, encapsulation, complexity, laziness, etc
A shooter running at 30Hz (high side for free developer sponsored servers) with even 100 players is only going to be processing at most 10-15K packets per second, and that’s assuming 5 packets per tick per player. Server update rates are usually lower than the internal physics and game logic tick rate as well, so it’s doubtful to even be that high.

These aren’t stats of the gameplay servers, these are the backend servers that handle matchmaking, player stats, inventories and progression.
Is there a possibility that npm turn package names into "author/package" style, so there would be less confusion on what the users are installing and less chance of name squatting?
There is a C library:
https://lucy.apache.org/
If you don't like Facebook, you don't have to use it.
Callback hell? What is this 2010? Callback hell is a non-issue in modern JS code with promises, and async/await.
I'm sorry for sounding condescending! I did not understand your problem initially.

What helps me somehow is the fact that definitions in man pages are usually start on a new line and are indented by several spaces.

man bash
/ -o

This finds an inline mention, not very useful.

man bash
/^ +-o

This finds the definition: start of line, then some space, then the -o.
I looked for a figure and found this suggestion for sunny days: 800W/m².

If the plane uses 20kW while flying, this would mean you’d need 25m² of 100% efficiency solar panels to fly without draining the battery.

10.5m wing span, depth uncertain but looks to be under a metre, and we’re not even halfway there. The fuselage isn’t suitable for a solar array. The tail, maybe a bit.

Verdict: ignoring solar panel mass and fragility, you could probably already design something that would get you another five minutes during your hour of powered flight time, but I think you’d have to change things up a lot to increase it much beyond that.

I think if you were trying to do such a thing seriously, you’d try to increase wing and body top surface area.

Note that the plane can regenerate 2–5kW while gliding, making the propeller act as a windmill. (Source: https://www.avweb.com/videos/Video-Pipistrel-Alpha-Electro-A..., https://www.avweb.com/videos/Video-Flying-Pipistrels-Electri.... Other interesting details in those too.)
Survival Research Laboratories: Inconsiderate fantasies of negative acceleration
Just realized I meant to say "a lot fewer, say, incompetent..."
Given the turn-over at Google is barely 2 years, what's the point? (And it's the largest of most companies too, so, you see what I mean).
The obvious solution to this is to build taller

Why is this the obvious solution? Why not spread people out instead of trying to cram as many as you can into the same place?
No, the GP literally mistyped (or had autocorrected) "em" as "en" in a couple locations. Fixed now (https://news.ycombinator.com/item?id=16089209).
Hi HN, I'd like to get your feedback on my new product PIKLIP. It's a special sticker-type photo-print that sticks to pretty much any flat surface, and can be used over and over. It's an efficient new way to display your photos - quickly and mess free.

We're still in beta, and currently accepting 200 beta-testers. Unfortunately we have to charge a small fee of $5.99 which includes printing and shipping cost to anywhere in the world.

Would be great if any of you can give it a try!
Thanks :)

http://www.piklip.com
Cool stuff, shows the importance of having a solid set of tests for your code.
I think Python would be the best choice for an absolute beginner, I almost always recommend it when I'm asked what to start with -- it's objectively more pleasant to use than js. The thing about js is, you can get your hands dirty actually making some fairly interesting things quickly, it's just that things are much messier overall.