skysight-inc/HackerNews huggingface dataset:
I have a process I've developed over a few years:

A. Find out whether it's worth learning.

1. Find out the big picture as fast as possible, about 15-30 mins.

2. Skim through all the major parts.

3. Figure out how I can use this. If the intention of it is to be practical (i.e. not philosophical, scientific, historical knowledge) it needs to be immediately applicable. Something that I may use years later, like how to make mantraps or phrases in Russian, is usually not worth learning right now.

B. Find a way to apply it

1. I figure out the bare smallest thing I can build with this. Building things is possibly the fastest way to have an intuitive understanding.

2. Copy what someone else is doing. Don't bother trying to be creative in the earliest phase. People usually adopt some habits for good reason.

3. After it's in muscle memory, then I start experimenting.

4. Allow lots of "dead time" while learning. Meaning unconscious/subconscious periods like sleep, meditation, or just daydreaming. This is needed for it to go into long term. You'll know when if you get stuck on something.
There's evidence but not the type you're looking for. The op has provided evidence that the op uses functional languages and not Java.
This user registered earlier today and has only posted this. Must be tired after using your broken English just for getting your 50 cents.
You are correct in that the first estimate my the energy department was wrong. But the idea that it is all solved and that we can just build lots of it without having to worry is not a good strategy for a society in my opinion. Yes sometimes they sometimes make predictions that are wrong, but I still think that we should listen mostly to scientific prediction than anything else.

Yes and that the UK peaked at 28% is irrelevant ( EDIT: I used to harsh wording, yes it's a bit relevant but there are still problems with applying one solution to another place ) because they have different system with different possibilities. You can't implement the same systems everywhere since they have different conditions.

Maybe we can have almost exclusively power by wind in the future. But until then I prefer to listen to scientists and hear what they have to say.
The point is that each insertion at the start of the file would memcopy the entire buffer, though. With a few hundred mb file that sounds slow even today.

Are you sure that they don't keep a buffer of 10k lines or a gap buffer?
There's a variant of LDA called "structured LDA" that allows you to introduce a linear combination of "structural variables" into the topic distribution prior. If you wanted to make this project "language-aware", might be a good use case for sLDA.
Ask HN: Python developers. What's your testing stack?
What libraries do you use to test your python code? I come from Ruby, RSpec background.
I know this is pretty much a silly thing to be saying & just wishful thinking on my part, but...

Many places like large swaths of Africa and Asia skipped building much of the traditional landlines and went straight to cell phones.

With so much of the electric grid literally wiped out, wouldn't it be cool to see them rebuild in a more future-looking fashion with many of the ideas around solar & community batteries, rather than a traditional grid?

As I said, I know that's not terribly realistic...unless Elon wanted to have a laboratory and made some big donations to prove a point. It is the kind of thing he is known for, for reasons different than most people realize (unless you read that fascinating article about him from last year).

Interesting to discuss, anyway, so go for it.
> Facebook said the content on both pages had included someone else’s personal identifiable information, which violates its terms of service.

Oh yeah, and in the meantime, if you forget to flick a switch -- which unsurprisingly is ON by default and is hard to find -- everybody and their dog can tag you in photos, even if it's not you. Which would either be slander or personal identification without your consent; pick one. They have no problem with that though.
you are projecting your own moral values/philosophy onto everybody claiming that this is right for the society, while in the same time having completely no clue how societies work for thousands of years and what is human nature (and what is not). to give you one single sample, I completely disagree with you but I don't feel the need to state how society should be structured just that I feel comfortable within it.

there are countless examples of people/groups with similar self-righteous attitude, and history proved all of them wrong. so yeah, downvote seems appropriate.
#VASTU #GUIDELINES FOR #NORTH-EAST BEDROOM
I've found friendliness, being open and giving people entries to you opinion to work exceedingly well online.

Ill give you an example of something I've done recently on reddit during the burka-ban-debates of my country.

Example 1:
Our government shouldn't tell women what to wear.

Example 2:
I'm not a fan of burkas or of cultures that force women to wear specific clothing, however, I don't think it's fitting for our democracy to dictate what kind of clothing women are allowed to wear. In fact in doing so, I feel we are giving up basic rights, and becoming more like the cultures we are trying to fight.

Example 1 got 10+ downvotes, example 2 got 50+ upvotes, despite the two examples making the same core point.
I am a fan of the medium, that's why I especially dislike bad movies.
I saw it as an option, but an unlikely one.
Google should give the user the option to hide paywall articles
It's a bit late to answer, but still:

> The first thing is to question the referendum itself: there was no census, there are people from Madrid voting, people voting twice, people inserting 4 votes at once, etc. The percentage of Catalan people voting this probably doesn't even get to 15%. And the people how came to vote were the only the ones who believed this referendum was democratic (99.9% of people who want the independence).

If that's the case, this is really only the fault of Madrid for not allowing the referendum to take place in a calm, reasonable and controlled manner. I don't think you can disrupt an attempt at a democratic process (I know it is debatable, but you can not deny that for many people voting yes, they saw that as a democratic action) and then claim it is invalid because it was disrupted. By organising this disruption, the Spanish state has lost a lost of legitimacy in the minds of people who were already defiant.

It's a clear loss for everyone, and as the force that is legally in charge, the Spanish government is undeniably the one responsible for it.
Re: Coffee, you need to cycle it periodically to restore your sensitivity to it.

Drink one 8-12oz cup of it every morning, take a week off once a month, do not drink an entire pot no matter how much you'll be tempted to.
We also use Pipedrive at STOMT. Can recommend it!
Sorry for the angry rant and I know this doesn't follow the general opinion of HN.

But who cares. Why is it important to write an article of women in [Insert X]. Their gender is not important, and quite frankly demeaning of their efforts to further the field.

Try to stray away from ad hominem
Google is infamous for valuing academic achievement over practical skills in interviews, 8% is actually much lower than what previously reported - I guess they lowered their standards of late.

If google is at 8%, everyone else of comparable size will probably be around 3% at best.
How I Launched Colors on Product Hunt
Facebook is a huge ecosystem of apps, games, marketing, even direct productivity tools like their Workplace - https://www.facebook.com/workplace.
AI will always fail
The new jeremy corbyn: the contrast in his labour conference speech 2017
Hmm. I myself definitely want to see relevant articles from publications I haven't subscribed to (and maybe haven't even heard of) when I search for things.

I would, however, appreciate it if the search engine clearly marked such results, though, so I could know before clicking whether something was behind a paywall.
Original source: https://www.blog.google/topics/journalism-news/driving-futur...
GraphQL is a very nice spec for building APIs that have many sources of data and then building a modern frontend with proper caching etc. on top of it.

The ugliest part of it, or one requiring most hacky solutions, is optimising queries. For example, there are some nasty N+1 traps or "oops-I-joined-your-entire-database" problems when using SQL.

JoinMonster helps with this, but it is a bit too much of a "full solution" or framework to just quickly use. You'll also lose a lot of control over your queries which was a big reason for me to move from Django/Rails/etc. style tools to trying out GraphQL.

This project seems to avoid databases entirely and it seems to have an N+1 queries problem when fetching comments. Each comment is fetched with a separate API call and a single HN Post can easily have hundreds of comments... even if cached, this is a problem.

The SQL "WHERE IN (list of IDs)" query combined with smart caching and batching (see: Dataloader by Facebook, JoinMonster) is a decent solution but requires some amount of good old manual work.

tldr; GraphQL is nice but has its own set of problems. Still no magic bullets.
Because my country's Constitution grants free speech, while outlawing hate speech and libel in the same article [1]. You'll see this in the constitution of many European countries and whether that's good or not, that's a matter of debate.

But what matters is that we are talking about the law and Facebook's censorship goes against the rights provided by my country's Constitution. Yes, they are a private entity and it's their property to do with it as they wish, but given their near monopoly on social media, at this point they should be punished for censoring content like this, just like how Google was fined for promoting their own services in search results.

[1] http://www.cdep.ro/pls/dic/site.page?den=act2_1&par1=2#t2c2s...
It's just a matter of definition. You could label any violent movement against any white colonial power as racist terrorism if you wanted.

Of course you'll say that it doesn't count for whatever reason. But try to flip perspectives for a minute and understand that to the man in the quotation, he feels like an American aboriginal watching whites disembark by the thousands from ships stretching to the horizon.

He's watching his whole way of life and his family be permanently annihilated by foreigners who hate him (and this includes both rich white liberals and immigrants). There's a good chance you are such a foreigner who hates him, too; that you'd really like to see his culture and religion and social structure destroyed. "Real 'Murican"-hating is a funny pastime to American liberals who will happily shout about the evils of Christianity and how it should be erased, to anyone who will listen.

These situations are far more symmetrical that almost anyone is willing to understand.
I work in engineering consultancy. Some of our best consultants come from non-engineering backgrounds. Two in particular - one is an architect by training, the other an ancient historian, with a background in reconstructing ancient power hierarchies from the inscriptions on funeral carvings.

In my field, the transferable skills from academic research are far more important than the domain knowledge.
I also use the odd-even number question in my phone screen. The primary purpose I use it for is to filter out people who can't program at all, my secondary purpose is to see if they can think of using a bitwise operator when prompted for an alternate solution(s). I don't think it's worthwhile to ask for more complicated problem implementations (at least at the phone screen level) since complicated algorithms aren't what we do most of the time. So far everyone I've asked it to has passed the primary purpose, but I keep it around just in case I hit these people who supposedly have Masters or PhDs and can't do it... It's still BS in a way but I don't have a better idea to filter out people who can't program than by asking them to program something, anything.
While I appreciate the sentiment, making a living is a real concern.
yep, the fact that computer sciences spend a lot of time on pen/paper/board and brings proofs without actually program them doesn't mean that CS researchers are not interested in code. Code is their ultimate goal, but it's an implementation detail :-)
> who cares that you have a funny name for 201.168m

You do care if you frequently have to convert between all those funny units.
"introduces himself to the men in a group but ignores the women"

A truly terrible thing is that I see this happening even in other contexts that have nothing to do with work. Sometimes women are just ignored for the first part of the conversation, or men will just look at other men when saying something. I hate it, it's deeply offensive, however the cool thing is that it takes just a single person to change the shape of the conversation and include everybody. P.S. the same thing is observed often with teenagers as well, which is equally disgusting.
Cool thing about Apollo is that it automatically generates and manages data models based in graphologists schema for you, including caching.

Has anyone used their iOS client with production apps?
At least there is an active bug about this: https://bugs.chromium.org/p/chromium/issues/detail?id=663971
I think people forget that, if by a "smile" we mean any showing of teeth, not all of them are created equal. And the impression they convey can radically change depending on facial expression. Some do look stupid, or dishonest.
I was thinking about a chip with only sram for secret storage that could be bundled into a ID-1 sized card with some small energy storage for the sram (there are affordable .5mm LiPo Cells that fit inside such a card), and then use the card to fit some display capable of giving some little data out, as well as a touch matrix,possibly by just using a style similar to carbon-contacts on cheap rubber membrane keyboards, but gold plated like the smartcard interface. But it seems like you can't afford to store one decompressed ed25519 or dare rsa, so the idea is moot by virtue of requiring sub-100nm technology to fit at least some sram.
A Smooth Cloud Transition for Budgeting and Planning
> A memcpy/memove() runs at many GB/s on a typical machine today, so you would have to be editing absolutely huge files to notice.

That's only good if your text happen to be raw text; I guess it won't work so well if it's rich text with needs to be converted to lightweight objects before being processed, where you'll want every object to be memory-aligned. And I wonder how well that approach works if your virtual memory space is paginated, which wasn't common in the 90's, but is practically everywhere nowadays.
> people neglect them and then sue the company

Yes, they do, just like every other product, including dangerous products. Some of those products handle similar amounts of energy and some involved chemistry that was just as hazardous as LiNiMnCoO2 orLiNiCoAlO2. To accommodate these hazards sometimes we required the end user to get special training/licensing (e.g. cars). The most important safety feature that we've learned over the last few centuries is that hazardous products must be designed to fail safely.

> Remote monitoring ensures

This is useless for safety[1], because the network isn't a reliable to the degree that is required for safety. You have to assume the network will not be available, sometimes for long periods of time (months), sometimes for reasons outside the user's control.

Anybody selling a product that ignores the lesson of the Therac-25 should be held criminally liable for any damage/injury caused by their product.

[1] it may be useful for other reasons unrelated to safety

[2] (pdf) http://sunnyday.mit.edu/papers/therac.pdf
"That put sex workers in a weak bargaining position"

I don't see why this is true at all. I don't see how owners have any significant leverage and/or would be inclined to be any worse than other employers.

A restaurant requires significant investment, great chefs, R&D in dishes, menu, advertising, payment systems, liquor licences. 'Licensing' aside, a 'brothel' in it's simplest form can be pretty simple.

If it's legal and above bar, they are in the exact same position as most other workers.

I'd imagine the bar is not to high for a brothel license (could be wrong) - I don't see why even 2 or 3 women couldn't simply make their own brothel.

Also - I disagree with the idea that 'men' should be punished - this is a movement started in Scandinavia, where gender politics in legislation is getting outlandish. If society deems it an immoral/unsafe act they want to ban it (I'm not taking a position on that) - then both sides should be responsible.

I grew up in a 'single parent' household, my mother had very little in the way of skills - and we made it ok. I know quite a number of people in this situation. I reject the idea that in most cases that prostitution is some kind of 'end of the rope necessity' for women - it's a choice. Now - there are situations of 'sex slavery' and 'extortion' in which case it's really neither the women nor the buyers of sex that are at fault (unless the buyers know there's something wonky, but I'd imagine there's no way to tell one brothel from the next in terms of their 'employee status') - and these 'slave pimps' should be pursued more than anything. This is quite a problem among organized criminals in areas wherein there is high levels of immigration - I know it is in Toronto, Vancouver and Montreal. Women are unable to come forward because often they lack immigration status etc.. This is a serious problem, nearing 'human slavery' and it's 10x the problem in my books.
Why has England lost its medieval taste for violence?
A classic tale, where the product is valuable, yet the demand is scarce. A system where there are few alternative avenues for those who place second or third. It's disheartening to say the least. People look at Blade Runner 2049 and think dystopianism, yet here we are, a system over-saturated, yet, inexorably undernourished.
> introduces himself to the men in a group but ignores the women

> makes eye contact with the men while speaking and ignores the women

I'm guilty of this but it's because I'm nervous about interacting with women in general.
> things sometimes freeze for no apparent reason

Fortunately for the alternatives that would describe Lightroom these days too, to the point that Adobe had to publicly acknowledge that performance isn’t good enough [1].

1: http://blogs.adobe.com/lightroomjournal/2017/07/on-lightroom...
I almost agreed with your comment, then I re-read it and decided you are being sarcastic.

But it is very useful, in contexts in which you are searching for things that are important to you and in which you want to have a fuller sense of what information is available, even if it may cost money.

It might not improve the casual news-reading experience, but if it's something important like learning about your child's illness, researching a prospective new employer, or something like that... it's a lot better to know what articles and stories exist on the topic, even if they might cost money to read, rather than having no idea those pieces relevant to your search even exist.
It's like something out of Silicon Valley.

> If you pack lunch boxes, Teuko was made for you. We connect lunchbox makers and enhance their lunch packing experience.
Teuko is the online community for lunchbox makers. Join us.

It contains 0 lunchbox content before signing in.
You can easily restate the whole blog post and include other categories that are often victims of the same behaviors, because of physical differences, gender, nationality, and so forth. Yes, focusing just on women is not optimal IMHO because this also happens to other persons that should be defended as well, however it makes sense to remark that women are a "notable" category of discrimination. Also for the problems exposed in this blog post, I think the author really nailed it, and certain things are women-specific, like focusing and making a comment on the beauty instead of content, and also this eye contact thing. But in general it should always be remembered that the same happens to other categories.
The new rulers are far less effective than the Apartheid government

Are they really?

Access to water, sanitation, electricity and housing are far better than they were under apartheid. The AIDS epidemic which started in the last years of apartheid has been tamed through decisive government action. Despite a stubbornly high unemployment rate, blacks have made major economic strides. The macroeconomic situation is more stable than it was in the last years of apartheid. Even crime, as measured by the murder rate, has actually dropped.

And the apartheid government was hardly a paragon of competent economic management, running up massive debts to keep itself going, and to wage war on its neighbours and oppress its black population.

There are serious issues: education (a legacy of terribly educated teachers perpetuating their ignorance) and public healthcare are awful, and high level corruption represents a risk to the economy, but the idea that the apartheid government ruled benevolently is pretty much discredited everywhere except the darkest corners of the internet.

PS. The biggest difference between the apartheid era and the democratic one was just that: in 2016, during local elections the ruling ANC was kicked out of power by voters in some of the largest cities in South Africa. It went quietly and respected the will of the people, with no squads of secret police murdering opponents of the ruling party. Could you have said the same about the apartheid government?
I guess, if you have a fair amount of topics, although the point was to explain the title :)
Barcelona Kontra Las Palmas Dari Laga Tanpa Penonton Hingga Perobekan Jersey
I had to look to find what this company does because the top logo doesn't take me to the page. If I weren't currently busy I might have missed it but I'm actually in the target market.

How do they make money?
That's a good point: some people do it not for discrimination but for other problems. Another variation of what you say is "I'm guilty of this because I'm nervous about engaging in conversations with the woman of another person". And so forth. However with a dedicated effort you can fix this if you recognize is not what you want to do.
How to come up with a winning UX strategy for your mobile app
Beyond just loading, editing and saving text, how do these data structures compare when it comes to implementing other "tricky" features, such as:

1. Multi-line regular expressions. Typically the regex library is given an array of text to search in (). We have no such buffer to give.

2. Line wrap. Adding or removing a single character near the top of the file might require the entire file to be re-wrapped. You need to complete the wrapping process before you know how many lines are in the buffer and therefore can update the size and position of the vertical scroll bar's handle.

3. Column mode editing of text containing tabs.

Beyond those features, these data structures (gap buffer and piece table) don't seem well suited to operations that effect the entire buffer, such as convert-tabs-to-spaces.

At least when I used PCRE, it seemed to require this.
It's a benefit that it's not owned by a company that collects your data to sells ads.
Show HN: CryptoReview – Easily value Cryptoassets
It’s not inaccessible, it’s just not free.
New multithreading solution for Lua
More than 42 percent of U.S. digital ad revenue in 2017 will go to Google

The rest is arranging chairs on Titanic... My guess is that number will only go up, making things much worst.
Google should give the user the option to include paywalled articles.