skysight-inc/HackerNews huggingface dataset:
Probably so the compiler doesn't just optimize out the statements, seeing as they don't seem to have a visible effect on the program execution because they're never read again.
I disagree that it's worse. I have SMS on some of my accounts.

I am aware of the risks, but it's inherently better than nothing at all.
Denying subjective experiences doesn't mean they don't exist, especially not to the observer
uh, what? it has many more features than any western messenger. what makes it appeal less to western audiences is that it is precisely tailored to chinese taste/lifestyle, which is distinctively different.
It's more likely the natural entropy of code - it's easy to add stuff to a system in a way that makes it more messy; and if the system already is a big mess, then it's much harder to do non-messy additions and the bigger mess it is, the harder it is to start cleaning it up.
Well, that's mostly because there are almost no ugly parts in Rust. Sure, you can find minor annoyances like those:

- Type inference pretty much being killed by method calls. For instance, code like this won't work:

fn x() -> Vec<i32> {
let mut x = (0..3).collect();
x.sort(); // Calling any method of Vec
x // Cannot infer that `x` is `Vec<i32>` because a method was called
}

- Turbofish syntax is ugly. For instance, in Rust you say `std::mem::size_of::<T>()`. It would be nice if you could replace `::<` with `<`.

- Negative modulo follows C semantics. This means `-2 % 12` is `-2`, not `10`. There is a sane implementation in `mod_euc` method, but it's not the default.

- Lexical lifetimes reject code that should be valid necessitating weird workarounds. NLL will fix that one.

- Trait objects types used to be written using a trait name like `Display`. There is a new syntax which is more clear: `dyn Display`, but for backwards compatibility reasons the old syntax is accepted.

- Macros (including procedural derives) cannot access private items in a crate, requiring workarounds like exporting private items in a crate, and having `#[doc(hidden)]` attribute to hide them from documentation.

- Trait version incompatibility issue. That one is weird, but essentially it's possible for a program to have two versions of the same library. It's possible for a library to say, have a function that requires an argument implementing `Serialize` interface from serde 0.9. If you try to implement `Serialize` interface from serde 1.0 then you will get an error message complaining about not implementing `Serialize`, despite you having implemented it, just in the wrong version of a library.

- Missing higher kinded polymorphism.

- Missing const generics.

- The compiler is slow. Like, really slow.

- The language is hard to learn because of many complicated features like ownership and borrow checking. That said, I think those features are a good thing, I'm missing those in other programming languages, but they are problematic when you are learning the programming language.

But really, there is much more I would complain about in other programming languages, so it's not that bad.
> In that case, the ordering of the hash table on iteration can change.

Order-dependent iteration of a hash table's items isn't exactly a central use case of the data structure and often isn't even guaranteed. I don't think that this example is really sufficient to suggest that hashing pointers is a bad idea (though it may be for other reasons).
Cable Green: State of the Commons and the Global Open Education Opportunity
Dropbox Paper is fantastic, and my favourite shared writing environment (visually so much nicer than Google Docs)

I'm up to 7000 words in one document. The feature I'm missing in Dropbox Paper is around organising my notes and research for what I'm writing. Think of Scrivener or other writers' tool, which knows you're writing on many levels and need a scratchpad around, and to keep the outline bullet points even after you've written prose for that section.

I've taken to having a separate Paper document to contain the research/notes/outline and one for the draft writing. If this is a use-case you consider for Paper, it'd be awesome to have more support.

If not, then HN can you suggest a better, shared writing environment?
Just wish they'd release a damn Linux client. Not the web version.
Nope unfortunately i am describing a manager, our techlead was no good Ruby Developer with no idea about anything. We cleared our doubts from our architect/Manager.
Yes, the text on top will also benefit from correcting the over-bleed, that currently makes everything look a bit jammed together.
I would normally go with the first part of the title:
Regular Expression Matching with a Trigram Index
but I am interested in seeing if there is interest when the alternate is used.
I don't understand your argument. And if they Chinese tax US cars with 25% and the US taxes them with 2.5% (or was it 5%)? then it is reasonable to request equal tariffs.
How much money will the author make by selling through amazon or through the book stores (including publisher's margin) ?
Sony is launching a PlayStation Classic console in December loaded with 20 games
The thing is, I can buy many products cheaper in the US than in China. This tells you something.

Due to this and fake products I buy clothes (YES, clothes!), shoes and electronic products only in the EU and the US.

Edit: Don't get me wrong. I love China. But many people now see only the strength of China. They have a strong culture. But it comes with many weaknesses. They once fell behind western culture. They may fail again if they don't fix some things. The downside risks here a HUGE.
Thanks for this. It made me giggle.
"This pattern of creating bubbles and then crashing them, resulting in financial chaos, goes back quite a long time. In the 1920’s, the Fed’s low interest rate policies and easy money led to the bubble conditions of October 1929, a month that will live in infamy as the start of the Great Depression. The Fed then raised rates sharply in the early 1930’s, which then caused a renewed crisis and prolonged the Depression well into the next decade. It took over 70 years for a Fed official to finally take blame for the disaster"

Remember the fed is a private bank, and this is the basic modus operandi of the 1%ers.. the super super rich...

Step 1. throw out cheap money.. and let all the suckers over invest..

Step 2. then crash the system by raising rates/restricting further money supply..

Step 3. then rake in all the assets..

rinse and repeat adinfinitum.
Join us! We are hiring and growing quickly.
> This drives up local inequality

Why is this a bad thing? Last time I checked, most places love patronage from tourists (who don't pay income taxes either), and these “residents” are almost like permanent tourists.
I have wanted this for years. Think structured notes. If I'm jotting down a review of a restaurant in Evernote, let me give it a star rating and locate it on a map. Let me give places I visit the same. Let me choose what widgets show in a 'Note type' -- and when I search let me search for these fields.

E.g. "All items in EverNote within 30 miles of X and with a rating >= 4 stars"

I am describing a flexible database with a cracking UI. And nobody has done it AFAIK (except one startup a couple of years ago that took funding then burned)

Tangential: For bonus points, add other modes to the note taker. A WorkFlowy-esque outliner, one of those where you add cards to the right of each item to drill into detail. There's lots of different types of notes people want at different times.
> don't like this genre of programming blog post. These things always amount to premature optimization for portability. They point out that some technique that's been used by millions of programs for decades might not work on every single architecture that's technically compatible with the C standard. So what? The techniques work, and because so many programs use these techniques, they'll keep working.

The article lays out its motivation pretty explicitly, and it runs entirely contrary to your point:

> My purpose is not to discourage you from casting pointers to integers and using the result. The vast majority of the time this works fine and as you would expect. I just think it’s an interesting part of the language, and C/C++ programmers should be aware of potential the trade-offs.

"Details of C implementations are sometimes interesting to think about" is very different from the strawman of "never do this thing because it's not universally portable".
MPs warn on ‘chaotic and damaging’ no-deal Brexit
An annual salary of $50,000 translates to an annual salary of $50,000. It's fun to play with numbers and try to figure out hourly equivalents, but the pay is what it is. We can have all sorts of arguments about how much time teachers "really" work, how hard the job is, what fair compensation is, and so on, but they're different questions than "is an average Silicon Valley teacher's salary sufficient to cover average housing costs in Silicon Valley in 2018," which seemed to be the original question. The answer is: "no."

(For the record, the average salary for a public school teacher in Santa Clara County is $68K as of July 2018. The average rent for an apartment in Santa Clara County as of September 2018 is $2730, or 48% of that income; for a 1BR only, it's $2471, or 44%, still well over the 2.5x rent-to-income guideline that many rental companies use as a minimum. The median home price in Santa Clara County as of July 2018 is $1.3M, so I'm gonna say we don't really need to look at mortgages, okay? Okay.)
The Power of Employee Recognition and How Intranets Can Help
I always liked managers with strong technical skills.

I had one manager, when one of his engineers fumbled up a project for month, singlehandedly rewrote the code and had it running in 2 days. A file that had 1000 lines of code was reduced to 20 lines that was clear and worked correctly on first attempt.

Another was the VP of engineering who had years of technical experience plus was gifted in working with customers. When a major customer was yelling at us due to some performance issues with our code, he went over to meet then and soothed things over. They agreed to give use a few months to rework the code and they were willing to pay a NRE for this. And they were happy in the end also.
To me it seems a lot of people in these teams were more interested in climbing the corporate ladder than working in nice teams. Those kinds of people might perhaps be hesitant to leave the company.
I agree with you. I've seen brilliant Data scientists struggling to understand how git branching works. But, as you say, their principal focus is applied statistics, not programming.

My role as a software engineer is to create a good enough architecture so their can use properly the information contained in their 60 GB CSVs.

As a side note, I also noticed that clients have no issue paying a lot for _Data Science_, but for the "software guys" ? That's a whole other story, despite being of equal importance to the project.
Hey Steve, thanks for commenting here. As a person who is trying to get into embedded development but who knows very little, can you explain the challenges of having a language support most/all embedded platforms? I’m guessing you would need to support old versions of gcc that or something like this? Or be able to compile things with each platform special flags?

It seems like even C projects have a hard time being portable. People even avoid cmake because of the large dependency and the fact that it is cross platform until it isn’t.
Forgot who said it but it was great: a "Data scientist" is a programmer better at stats than any 'normal' programmer and better at programming than any 'normal' statistician." :P
(Joplin's dev here) Can confirm that Joplin can embed images - you can copy and paste an image directly by pressing Ctrl+V in a note, or attach them. It's also possible to attach any other file, PDF, etc. and open it in an external viewer on mobile or desktop.

Evernote import is also supported and as far as I can tell works well for many users. If you find any glitch or issue though, feedback is welcome.

The app is still under development with, at the moment, a focus on bug fixing and improving the desktop and mobile usability.
> That is why innovation is just not happening in France anymore.

Who cares ? It seems that France is a nice country to live in :

https://en.wikipedia.org/wiki/List_of_countries_by_income_eq...

"Innovation" is not everything.
关注AI安全：《人工智能安全发展上海倡议》提八大理念
关注AI安全：《人工智能安全发展上海倡议》提八大理念
If someone - anyone buys Men's Health then they're probably interested in the topics they cover. If someone has a browsing profile and Likes that relate to those topics, they will get categorized very similarly. As a result, they are likely to see the ads accordingly.

Right now, Google thinks I'm a 65yo+ woman with high income. When I turn off my ad blocker (rarely!), I see ads related to retirement, AARP, etc.
> I haven't had an assignment printed and marked up in over 10 years.

That’s unfortunate. In my experience editing/commentary done on a paper copy is of noticeably higher quality (both when I am reading someone else’s work, and soliciting feedback). It’s not entirely clear why... maybe paper and pen puts the reader in the right frame of mind?
What I would consider the difference between an engineer and not engineer (I am not an engineer) is delivering a qos or sla driven by measurement of tolerances and either empirical or imputed information from existing qos or tolerance information... Not necessarily the optimization part. Everyone does optimization to some degree (possibly negative) but not everyone is an engineer.
How can I handle exit() calls in 3rd party library code? (2013)
May I ask why this increases your respect for them?
> What this actually is going to do is target "people interested in typically male interests". That is going to end up including men, women and trans men.

Not to be too pedantic, but it would include some transwomen as well. Just seemed odd to go out of your way to include the other three categories on those two axes and leave this one out.
Your mind has a very skewed outlook then.

It's not about weakening companies, it's about keeping them in line, ethically.
Backup your Apple Mail now
Apple Mail emails can be backed up for good to your local drive.
Mail Backup X eases your task with automatic archiving. No more manual exporting.
With Mail Backup X by your side.
http://www.mailbackupx.com/how-to-scenerios/how-to-backup-apple-mac-mail-mails-on-mac.html
People who are high performers in a group of slackers like these kinds of managers.
Sadly, scanning isn't available on iOS
Well accepted is not the same thing as legally ruled.
Searching for VR porn?
I have never seen someone with “a 3 week mooc” getting a data science job. In fact, those jobs are being gatekeeped to a ridiculous degree, suddenly asking for PhDs for jobs that are barely more than a regular BI job.
It looks good. How does it handle code? It's always a pain point in Evernote when one wants to paste some code to keep as a reference.
Authentication with AWS Amplify and Android: The Basics
Ouch. Thanks for the reminder; I've edited the response into something I hope better contributes to the discussion.

Though, I'm not quite sure I was using a straw man there, since my argument really hasn't changed. I think the issue was just that I was being overly snarky.
Your logic could be misleading if not parsed carefully. It's not that police shouldn't patrol where crime is highest--of course they should patrol there, if they know where that is. Rather, the point is that "most arrests" is not necessarily an accurate way to detect where crime is highest.
I’d say C++ is mostly about being ugly (it’s old) whereas everything in Rust makes sense. I would advise you to check Erlang, Swift and Go (in addition to Rust) which are in my opinion these kind of languages.
Try this:

> print(.1+.2, digits=18)
[1] 0.300000000000000044
I guess trash is collected and compacted at the same time...
How would the transition be for a vim user with relatively little emacs experience? I know how to get out of emacs and how to get into the M-x doctor (it saves me hundreds of dollars on therapy), but that's pretty much it.
Bought an iPad last summer and it keeps crashing. Is there a similar issue for these?
> Best manager I ever had.

Very sorry to hear that.
I went from 10.3.3 to 12 directly. There doesn't seem to be any performance degradation.
Its not the hours that is lacking as much as the money.
UDEMY Courses 75GB including multiple courses
It's fixed gear. It doesn't seem like she's pedalling at the start because the gear ratio is soo large, so large in fact the bike can't even be pedalled at speeds less than 15mph.
The DMCA was and is terrible. The GDPR is a great step forwards.

The DMCA was an attack on consumer rights. The GDPR is their extension.
You are criticizing capitalism and globalization as a system for producing social progress, not Amazon.

Your points seem very weak to me. People perceive value from Amazon's tax "evasion" (efficiency) in buying goods at a cheaper cost. I'm sure you agree that not every dollar that goes to taxes is better spent than if it wasn't.

I highly doubt that net global employment in headcount dropped because of Amazon. For every store clerk that got fired in a US brick and mortar shop, probably 10 sweatshop workers in China were hired to make gizmos at a fraction of the cost.

If you are going to argue that the world would be better off without Amazon when hundreds of millions use and love their services every day, you need to at least make an attempt to quantify the value the company provides. You can't just point at 3 isolated data points. I'm not even saying you're wrong in your conclusions, but they're hardly unquestionable.
I was actually thinking of buying one of these battery case. Don’t care much about doubling the size of my phone, but I do care about the extra day of battery. Anyone has a recommendation here?
I think I first read this rant in a 1997 article by Dr Peter Cochrane, former Head of Research and Chief Technologist of British Telecom [1]:

"In the past few years I have watched generations of word processors, spreadsheets, and graphics packs transcend the useful and user friendly, to become fiendishly complex - from auto-spelling checks that irritatingly pop on to the screen as you type, to the graphics-by-questionnaire that realise the wrong format in five easy stages.

Application changes of this type beggar belief. Not only do they consume vast amounts of storage, they reconfigure commands, change names and locations, present a vast range of never to be used (or discovered) options that just confuse users. [..]

It can only be that commercial considerations prevent us having a cut down and basic set of applications that are backward, forward and sideways compatible. Writing a letter, book, business case or report does not demand the capabilities of an entire publishing industry." - "How to upgrade your stress" - http://archive.cochrane.org.uk/opinion/archive/telegraph/199...

That was written on a 36Mhz laptop with 20MB RAM and 0.5GB disk space.

Within weeks, he wrote "My recent computer hardware upgrade, and simultaneous software downgrade, has resulted in huge performance improvements. More or less all delays between hand, screen, and eye have been removed. Applications open instantaneously once booted up and files save in a second." - in "Beyond Biology" - http://archive.cochrane.org.uk/opinion/archive/telegraph/199...

And then he goes on to tear apart tonsky's argument about aircraft and cars: "If we could manipulate the space in materials we could perhaps reduce the weight of an aircraft by 90%, suggests Peter Cochrane [..]" - "There's nothing to the Universe" - http://archive.cochrane.org.uk/opinion/archive/telegraph/199...

[1] http://www.cochrane.org.uk/bio/
Semantic Code Search
This is great sign for Rust, as it is getting adopted by actual OSes.

All successful systems programming languages got OS adoption at a given moment on their history.

As addendum, even if off-topic, Microsoft is also making use of it on Azure IoT Edge and possibly on Azure Sphere, but the later remains to be confirmed.
Heh, cool! I wonder, would "find the cost of adding a npm package to your bundle" be short enough to fit in as the title? Originally, I expected this to be a blog post about how adding one more NPM package ballooned things.
US promoted free trade after WWII, when it was the last man standing and the only manufacturer. Free trade meant "we sell made in America all around the world". Leading by example meant opening their market, at no cost since nobody was in a position to export. The rationale was "open your markets as we do, and we will all get richer". But the real intent was to foster the dominance of American manufacturing

So we did. The whole world has been painfully opening markets for 70 years, and slowly, by finding cracks in the system designed to favor American interests, developing countries have indeed started to grow richer. Still poor compared to the US, but definitely better off.

Those open markets, designed by the US to export, have been used by two actors to import to the US:

- emerging markets (China, India, ...). This was the selling point of opening the markets, so this is perfectly fair

- US capitalists, trying to increase profits by moving production overseas and reduce costs. This is what is causing problems in the US, by losing jobs. This is a homegrown problem, and nothing the rest of the world should care about.

Basically, now that the world is starting to benefit from globalisation, after the US being the main beneficiary for over 50+ years, we somehow need to start caring about internal US problems.

I do not buy this.
She's a world champion athlete. You're seriously underestimating her physical prowess.
I really don't care what the actual value of the pointers are, since I'm not going to use them for anything other than key lookup. The thing that breaks in your case is hash table iteration, but if I'm not doing that I still don't see any non-reproducible behavior other than slight timing differences.
This is the wartime/peacetime leader conundrum. The tactics she used worked well because the situation was dire. They probably wouldn't have worked well in a company with a good culture.

Winston Churchill is the most famous example of this. He was a great leader during wartime but terrible during peacetime.
Who says I am (or need to be) an employee? All you slaves can go work for me instead, I'll pay you an extra nickel. I'll sell your labor right back to those companies you just left, those old robber barons couldn't write an SQL statement if their wealth depended on it!

And there's nothing that could stop me... except government regulation.
Laws need to be amended before cannabis can be fully legal in South Africa
Just be an ENTP
https://legacy.keirsey.com/4temps/inventor.asp
My thoughs exactly. They are behind a car and bike specially crafted for this and they pulling the bike up to speed - probably because the bike is non-fuctioning under 100 kmph or so. Great technical feat but it's not "cycling as we know it".
Google partners with the world’s biggest auto group to bring Android to cars
Last time I checked Trump wasn't exactly a fan of immigrants either.
>Just seemed odd to go out of your way to include the other three categories on those two axes and leave this one out.

Nothing in their post suggests they "went out of their way" to exclude a particular demographic. To people who do not deal with trans issues on a daily basis, it can be easy to overlook all the nuances of being trans. Calling someone out in a way that accuses deliberate motivations is borderline toxic, no matter what social issue you're voicing.
I'm waiting for the Intellivision Classic.
Top 5 Free Android Fantasy Games 2018