skysight-inc/HackerNews huggingface dataset:
Last time I used Lpeg for a big project I ran into difficulties with error detection and recovery --- writing the parser for correct input was beautifully easy, but writing a parser that would gracefully handle incorrect input was very hard. (I'm reminded of the apocryphal Prolog compiler which, if you gave it a program with a syntax error, would just reply 'No.'.)

When I asked about the best way to handle errors it was suggested to me that I should add alternatives to my rules that would catch errors and return an error token from there; but of course, that short circuits any alternatives further up the grammar tree, so it wasn't very satisfactory. A quick look at your grammar doesn't show anything like this --- how are you dealing with errors?
Not really - it is sampling from a manifold. The manifold is constructed to fit over the examples given to it - which are the "matches" you are referring to. So while the manifold is constructed from examples, one can sample from anywhere on the manifold. This is very likely what an artist is doing when he draws something from memory.
In my opinion hardware should be designed so that the camera LED lamp should always be lit if the camera is used.

That would only inform the user that the camera is on, and that isn't good enough. If the user is paying active attention to the computer then they can take action, but if they're not then they can't - noticing an LED has switched on when you're busy doing something else in the same room is quite unlikely. Even if you're actively using the computer you could miss it if you're focused on a task.

A hardware switch that disables the camera or a lens cover that blocks it entirely (eg tape) are the only safe options.
Amazon is an egregiously bad actor, here. Through AWS, they shape the near future of computing, and they fill it with RFC 1918 non-interoperable address blocks and limited public address space. The path of least resistance on AWS is IPv4-only, which means NAT64 and stupid stuff from the 90’s.
>However, schools play a huge role in social development, and I doubt we'd be willing as a society to give up on that, even if it is potentially viable.

An example of how schools shape social development is redirected aggression, also known as bullying. Unable to get out of an uncomfortable environment, kids instead direct their aggression towards other kids.
The official language of Singapore is English.

Some pupils of Chinese descent study Chinese, but that certainly doesn't apply to all Singaporeans.
How  Blockchain Will Transform Financial Services
I studied some philosophy in college, and found the experience pretty disappointing. The field addresses some really fascinating problems, but I'm not too impressed with their answers. A typical assignment in philosophy consists of thinking about a really hard problem with no good solutions, picking one, and arguing for it. And since there are so few fixed points, almost anything is arguable. Really, it's a debater's paradise.

If I were to do undergrad all over again, with an emphasis on mental calisthenics rather than job skills, I'd study physics and history. Physics is rigorous and really builds your analytical skills. History is deep and builds your research and writing skills. But both are ultimately grounded in reality. There are none of those oh so precious arguments about whether reality is even there.
I didn't understand this. Isn't MobX the "classical" way of databinding everybody frowned upon for years? And now that React finally eased that pain with Flux and then Redux, they bring it back?
Wow, that reminds me of UUCP.
can I have a laptop without a webcam/integrated mic then?
Hey Sid, have you seen this: https://github.com/dka23/gitlab-github-proxy. I packaged it up and I already use it successfully with GitLab EE on-site: https://gitlab.com/harbottle/glghproxy-packager

The approach of including a GitHub -> GitLab API translation layer would allow GitLab to integrate with any application that can use GitHub. I've added this info to this ticket: https://gitlab.com/gitlab-org/gitlab-ce/issues/20418#note_15...

Big fan of GitLab btw, keep up the good work!
I can not share your experience at all. We are using React with Typescript for our projects at work and we have all common systems present (Linux, Windows, Mac).

Our projects compile from Typescript to ES6 and then ES6 to ES5 through babel. All of that takes place in webpack, and it was pretty easy to setup. We also all use Visual Studio Code and it's a joy to work with.

If you use something like hjs-webpack it gives you (hot-)reloading for code changes out of the box.
You can use dnstap with unbound or BIND 9.11 to do this kind of data collection really easily.
That is Australia collecting tax in Australia. Entirely different.
I bet Siri's great at understanding what William Shatner says.
The ten years bug: solving a bug that wont go away
When they did it everything was still to play for on mobile, in their eyes at least.

If it had worked it would have been a smart move, but it was wildly over-optimistic.
>> Judging by my everyday interactions, a 6% error rate is lower than human error rates in casual conversation.

It's better to avoid throwing around numbers like that but even if that was the case you have to remember that humans understand speech. The speech recognition task performed by AI systems on the other hand is more akin to transliteration: the system takes in sound as input and produces text as output. Any sort of "understanding" a) is extremly difficult to do well and b) must be performed by a different component of the system (a different algorithm, trained on different data).
A chicken and a Hacker news humorless editor walk into a bar...
Didn't the Stuka Dive Bomber have something (admittedly analogue) similar in the 1930's?
Having high school education last until the onset of adulthood does have a number of benefits, but to realize those benefits, Americans need to stop treating high school as the first step towards University.

The purpose of government-provided education should be to prepare its students to become citizens.

As a side benefit, those students are also employable, because the gamut of skills that you need as a citizen overlaps heavily with what you need to succeed, either as an employee, or as an entrepreneur: critical thinking, rhetoric, art, logic, practical mathematics, writing and communication, collaboration, physical fitness, maintenance of health and wellness, self-directed learning, a knowledge of history and politics, knowledge of both the sciences and how to apply the scientific method, and probably more than a few more things that I have overlooked.

American high schools teach few of these. Sure, you are required to learn "science", but I don't recall my school ever forcing us to go through the process of creating a theory, designing an experiment to attempt to falsify our theory, and running through the experimental process.

Same goes for critical thinking -- arguing against the teacher's viewpoint is strongly discouraged. You are only allowed to color within the lines.

Physical fitness classes are largely a joke, mostly because they don't cater to things that might be interesting to people that prefer individual sports. I would have loved if my school offered Karate, climbing, or even just hiking as physical fitness courses.

We should also take a page from Japan, and make students responsible for the upkeep and maintenance of their schools, under supervision, of course.

I doubt any of this could be done in public schools at this stage, though -- the liabilities are too great, and there are too many special interests that make a large amount of money off of the current system.
Not definitive, but there are a lot of good comparisons:

http://smashingboxes.com/blog/choosing-a-front-end-framework...

https://www.developereconomics.com/feature-comparison-of-4-p...

https://www.developereconomics.com/comparison-4-popular-java...
Google has special neural net ASICs now.
I think the key take-away is they're using evidence to make decisions. There's no end to prescriptions in education: small class sizes, start early, selection, non-selection, child-led, and so on.

From my own experience, it makes sense to make less of the tests. I liked tests, and I did math contests, but a lot of people don't like it. And when you look at work, you rarely have an occasion where it's just about knowing something and doing a calculation, which is what they do in high school maths. The times I've done math at work it's been something like this:

- We have some option model that needs to be implemented

- The model turns out to require a function that we don't have in the standard lib (Bessel function)

- There's a book with an implementation in C

- There's a wikipedia page that we'll scan to make sure there's no gremlins

- We then start to write the implementation in our own lib

- We do some tests to make sure the number that comes out of the Bessel function is correct

- We do some tests to see that the option model comes out with the right number

None of that workflow is anything like in school, where you'd take some function, apply some trig relations, apply the list of integration rules, and plug in the starting value. Without a book.
So better embed the logic into the HTML? :)
Users don't necessarily love the underlying framework being used though.
YC Office Hours in Prague – Sept 22
Hibernation would work but then you have to make sure that the two operating systems don't share any drive (such as a data drive), because writing on a drive mounted by an hibernated system can cause all kind of weird issues.
> manages to combine the worst aspects of a dead app shop, a dead mobile platform, and walled-garden power phantasies

Let's just take a moment to remember Games For Windows Live here.
Haha that showed me! Thanks very much!

I like how the URL includes "basics" which indicates my knowledge (or lack thereof).

Thanks for the link, I have reading to do
This was my thought exactly. It really changed things in politics... for a short while.
If society wasn't so prudish about naked bodies, it'd be less of a problem. It's one of those shoot the hostage situations. We could defuse a lot of our concerns if we'd relax our self imposed constraints and it would give us more time to worry about the things which matter more.
Let's not forget that http://news.ycombinator.com is also still IPv4 only.
Although we joke about stupid obese Americans, I don't buy that the mass of the body surrounding the brain has any relation to cognitive abilities. Of course you may need a bigger brain to control a body with more muscles (e.g. elephant trunk), but muscle control is quite automatic and has little to do with intelligence.
A bit off topic, but I love the share feature of partsbox. That's a killer idea. Well done.
Thanks, you are very kind. But if you read between the lines, you may note that I'm not quite as happy with my story as I'd like to be. There were so many opportunities I've had that I didn't capitalize on.

jQuery was one. Another was Visual Basic, the VBX, and being known at the time as a Famous Windows Programmer. Before that was my infamous Steve Jobs story:

https://news.ycombinator.com/item?id=7451018

Maybe this is one big advantage of youth: you can make mistakes like this and still have many years to correct them. At my age, well, I still do have plenty of good years ahead of me, but I certainly don't have as much room to "pivot" as I used to.
How to Use React-Native or how to revolutionize Bluetooth/IoT devices coding
I had negotiated 2-2.5X with most of the companies on stocks. Shocked? Well, if you ask for 10% more and accepted the offer, it's a party in next recruiting meetings in the company. Always flinch, start with 3X and make the recruiters feel bad. They should do atleast 5-10 calls just in negotiating the numbers. Imagine as a software engineer, how many tasks you had to complete for a project and how many times you have to meet/dial-in the customer/other teams during/after the project. You are the project for the recruiter for this month. Let him/her work for you this month.
Leaked Apple emails reveal employee complaints of sexist, toxic work environment
There are number of theme you can use ,But recently I used "Avada Theme" for my WordPress blog, It have a number's of option like you can customize your home page and also you can change theme color and the good thing is that it is mobile responsive also , i recently design a website https://www.thecustomboxes.com/ i miss this theme so much , because this website in codeigniter frame , i recommend you to use Avada for your WordPress Blog.
All true. In our case we "leverage specific aspects of our situation" (nice ;) ) by only having one car because I work at home. If we had two the above might be doubled!
> 3. Idea of `(events)` and `[attributes]` is awesome, works really effective and makes code much more easy to read.

This is encouraging. I always thought that looked aweful so it's nice to hear that it actually makes sense.
One big problem with Siri is that it has zero sense of humor. That is, imho, what makes people feel tired talking to it. It's like talking to a boring civil servant.
Hey, while you are trying out parser combinators, what do you think of this one? http://github.com/meric/leftry It's very new and I would like some comments on how to make it easier to use. You can check out http://github.com/meric/l2l, which is a hybrid lisp and lua programming language that relies on the parser combinator library. (See the lua.lua in that project, where the Lua grammar is implemented using Leftry)
It's a not a joke. You work in consultancy which is a service company where margins are not high as goog/fb/msft.

I work in product company with high profits in billions. It's common for new grad engineers who join as L3 and become L5 in 3-5 years in all the above companies.
Multiple codebases for multiple platforms also deserve multiple repositories.
There are known limits, "the Limits Of How Far Humanity Can Go In The Universe" no matter which technologies it possesses:

https://medium.com/starts-with-a-bang/the-limits-of-how-far-...

https://www.youtube.com/watch?v=ZL4yYHdDSWs

"Appreciate the view we have today; it’s the greatest one any living creature will ever have of our Universe, exactly as it is."
It's not only pics of people staring into a screen.

There was a case about 5-6 years ago when a guy recorded and streamed his secretly gay roomate having sex in the dorm. The gay roomate committed suicide later.

Work computers can be taken home or to business trips where things can happen in the hotel after the deal is struck.
Show HN: EliasDB a graph based database in Go
Visual Studio has task runner explorer now as well, it's easy to setup command line tools to run automatically, either on project open or on build.

I despair these days at the ridiculous number of command line tools you need to run, but once you've completely wasted 2 or 3 days of your life on these pointless things, cut and pasting command lines from setup instructions that give no indication what any of the flags actually mean, you can forget about them.

There were days when you just had to run an installer and then you were good to go. Or just get the latest version of the tools (and by tools I mean actual tools with a GUI and everything, gasp!) That's obviously really untrendy now.

But yeah, you can set it all up in VS to deal with the insanity for you. Good thing too, as the ASP.Net team have been drinking heavily from the command line insanity kool-aid.
I don't really like the term "coding", because when I got started, a coder was pretty close to the bottom rung.

As a profession we have done ourselves an enormous disservice by letting outsiders label us "coders". If the journos that do it became known as "typists" they would explode with indignation.
> it should not add more than $1 or so to your monthly fee.

Quite true. Most hosting companies charge around $1/mo. for a dedicated IPv4. (Naturally, not for shared plans but for VPS/dedicated boxes etc.)
Main advantage I see above Ubuntu would be the Arch User Repo (AUR) which contains almost all software you can think of. Although that can change when Snap picks up speed. Snapd is also available under Arch though. Moreover, Arch will be much more current in general.
One example is Kogan, who claims the sale occurs in Hong Kong.

https://www.kogan.com/au/help/import-duties-and-gst/
ELI5: How is it a pleasant surprise if it runs slower? I'm sorry I'm not all that happy my iPhone 5 is getting slower and slower before eventually killed of.

Should I be happy since "It could had been worse"?
This. This so much. And it's safer for the user. Have you ever tried distributing binaries on the internet? People are very reluctant to run a random binary (and rightly so).

Also IMH developer perspective HTML+JS+CSS is surprisingly a not so bad UI toolkit, and React makes the development experience even better.

I will always bet on standards and, at least for now, modern web is the standard that I can trust.
How to remove duplicate XML elements using XSLT
Only one sentence about the "why" and that's only half an answer.

"But Evernote wanted to take advantage of Google’s higher level capabilities"
Google never stated they use those to train models as far as I know. It seems that they are primarily used to spare energy when deploying trained models at scale.
The Librem 13 comes with two hardware kill switches, microphone/camera and wireless/bluetooth. They raised $450k for their $1,400 laptop.

https://puri.sm/librem-13
Just another example of how RTFM goes a loooooong way!
That compiler flag is wonderful, and so is the newer 'strictNullChecks'

I use these typings: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...

Then create my components like this:

interface Props {

}

interface State {

}

class MyComponent extends React.Component<Props, State> {

}

and everything is typed correctly (beside setState which is impossible to type exactly as of today)
Yeah, that's really nice, but as long as other email clients still are ie6 equivalent as far as support goes you can't really rely on this.
Online Appointment Scheduling Software for ENTERPRISES
Apple is most valuable 54B in three days
The hardware switch won't tell you that your computer has been hacked. The camera light will. And a lens cover won't protect your microphone or your personal data.
Oops. Thanks. I had a fear I was just missing a joke, but I have seen bots used on forums for no immediately obvious/spammy reason and I've also seen people genuinely imagine strange motives for relatively explicable things.
Funny that, because I was signed up to two or three other services at the time that seemed to be doing the same thing when Facebook appeared on my radar. Facebook seemed to gain a larger share of my friends which had a snowballing effect.
Native linux subsystem for windows can run Ubuntu no problem. This "tool" gives you the option to run Arch instead of Ubuntu.
I'm in no way affiliated with gitlab, but I do like the product.

But the facts are such:

1) GitLab is a YCombinator incubated company.

2) GitLab and GitHub are direct competitors

3) It's almost always relevant to the discussion, in this case; "How could it be done differently, how /has/ it been done differently"

In this case I think it's fair to bring up the direct comparison of github and gitlab. The only thing I would say could improve the situation was having github representation on here too.
I don't think that many people switched to MobX to be honest.
It's very similar to knockout observable and while it works, I don't think I would use that approach again. I suspect people like the familiar OO syntax of MobX. I can't think of advantages it has over plain old streams (most.js, flyd.js)
>> 6% seems pretty good.

That's 6% on the NIST dataset. Typically, results get much worse on real-world datasets, not least because trying to get good results on the same dataset year after year leads to subtle bias. Don't forget this is a dataset that's been around for 16 years, now.
The rules of logic should be applied in philosophy as in physics. If you don't do that, or there is no competent judge (e.g. teacher) things tend to get out of hand, especially with people studying philosophy because they "can't do math".
Considering the bulk approach is what they've been doing for 10 years or more and terrorist attacks continue to happen, usually by people the intelligence agencies already identify as risks, it doesn't seem to be at all effective.

The bulk approach leads to a saturation of data. That doesn't make things easier, it complicates them.
I'd guess trolling, which is even more unfortunate than genuine pomposity. Not the only personality in this thread where it's legitimately difficult to tell, either.
Imagine if he had said white people, or straight people, he would have been torn apart, but he got away with blatant prejudice and no-one batted an eyelid. That's the culture we have to change.
This is pretty interesting, and I am tempted to introduce this syntax in my next C programs. Would anyone advise against it?
Machine Learning and Privacy: A Problem?
ZBoard: The Weight-Sensing Electric Skateboard
Theres no reason they couldn't use them to train, as long as they can account for the lower precision operations. I think it would be much cheaper to train on them, at that scale anyway.
Most subscription based SaaS services for instance. You usually have a single price advertised for your monthly revenue. Most customers are just an email address, not a physical address.

It's a tough call to look at your monthly Stripe payments and try and work out who is a local customer and who is overseas. I know this from hard experience. We have to cross refer the Stripe info across to our user database where we have an 'Office Location' field used in the app itself (for other purposes) to try and work it out. Messy. But without that, it is a wild stab in the dark.

I am willing to bet that most AU SaaS businesses are either claiming all their sales are from overseas, or just estimating a %age of Australian customers to fill out their BAS figures.
Presumably it is related to the widespread use of IE6: they are running old bootleg versions of Windows, which dont do IPv6.
Typical of windows ecosystem and developers to sow confusion and infringe upon trademarks. Windows/Microsoft - where "X actually means Y" and always changes meaning, never for the freedom of the user, always to maintain tight control and power over computing.
Thats fair comment, but how do you define the middle ground between sitting in an ivory tower and wondering what the next feature should be, between asking people who actually use your product in ways you wouldn't expect?

I release computer games, which are developed largely in secret and when they hit the market after 4-7 years people find all kinds of warts and issues that we never even thought of.

GitLab seems to be of the idea, "ask people what they need, make small incremental movements into making that happen and release those increments often so that people don't get jarred by changes"

I can support that, and I don't think it bears negatively on their integrity.