skysight-inc/HackerNews huggingface dataset:
Regardless of whether tech or not, any opinion piece is framed within the context of the author of the piece.

I personally blame Jeff Atwood who pretty much green lit a lot of developers to consider themselves "elite" just because they were reading a blog about programming.

That attitude is something I'd love to see stamped out.
With respect to your comments about regex, could you please share with me where you got your information? I would love to know so that I can go bug whoever it is to correct it.

> Rust has it's own regexp engine, that lacks a few of the bells and whistles of PCRE, but is much faster than it.

The only true part of this is that Rust's regex engine lacks many features found in PCRE. Mostly, these features revolve around things that are either impossible or not-known/difficult to add to a linear time implementation in an efficient way. The most popular features among these are backreferences and various types of lookaround.

However, it is completely unsubstantiated to say that Rust's regex engine is faster than PCRE. At best, you can say that they are competitive with each other, where one regex engine will do better than the other on various types of workloads. Many such cases are not at all related to the feature sets of regex engines, and probably more related to missed optimization opportunities. (Anyone who has implemented a regex engine knows that the size of the set of missed optimization opportunities is unbounded.)

There are of course some of those cases where it comes down to pathological differences. For example, since PCRE uses a backtracking engine even when it isn't necessary (they do have a so-called "DFA" matcher, but it must be invoked explicitly), that means it is susceptible to exponential behavior when Rust's regex engine isn't. But Rust's regex engine has pathological behavior too. The only difference is that Rust's pathological behavior takes the form of large constants, where as PCREs takes the form of exponential growth in the size of the text being searched.

> (And has no sheer perfomance cliffs where a carefully crafted target string or search expression can DOS the app.) Also, I think the rust implementation can do less copying.

If you're talking about PCRE vs Rust's regex, then I see no reason to claim that one does more or less copying than the other. I suspect both do exactly as little as possible. Certainly, neither of them will copy the search text.

> GO just uses PCRE. (Which is weird, isn't RE2 a google project?)

No. Go has its own regexp engine: https://golang.org/pkg/regexp/

The benchmark showcased in the OP for Go uses PCRE, and that's presumably because Go's PCRE variant is faster than Go's native regex engine. See https://benchmarksgame-team.pages.debian.net/benchmarksgame/... and compare `Go #2` (PCRE) with `Go` (Go implemented regex engine).

Go's regex engine in the standard library is written in pure Go, and was written by the same person that wrote RE2. (I wrote Rust's regex engine, but it was heavily inspired by RE2.) Go's regex engine does not have all the same optimizations as RE2, and in particular, it suffers from some very high constant factors in many more cases than what RE2 and Rust's regex engine. While Go's regex engine doesn't exhibit pathological behavior in the form of exponential runtime in the size of the search text, it also can be handily beaten by PCRE in a number of non-pathological cases.
There’s that kubernetes thing of course ;)
Story time... when NeXT pivoted away from hardware, they ported OpenStep to Windows NT 4. Since they needed to look like Windows NT, they included MS Windows UI images. Those images are gone now but were still present in OS X as of Snow Leopard.

(And now the show is on the other foot with Microsoft/WinObjC)

http://www.theregister.co.uk/2008/09/02/mac_images/
Tesla's Value to the California Economy
I have been working with elm for 2 years now and shipped 4 projects.

I can say a lot of good thing about elm, but the most important one, and something that outweight a lot of thing is maintainability. Each time I had to change something in a shipped app it was painless, stressless (I know I won't add regression) and fast.

I won't say JS is bad, but the absence of a compiler makes it much more fragile, especially when working on old code.
True, they just erase people, destroy careers, blackmail etc.
A very small amount of people have such an abundance of opportunities.
Travel tool
Works in one of the well known Machine Learning course taught in Chinese
As a Mac user in the Pro market this is what I currently admire about MS over Apple.

MS genuinely seems to be trying hard to scratch the itches of people in the workplace and more importantly sticking with it while Apple couldn't even commit correctly to a screenless pro desktop.

So many people in the Apple circles made fun of the Surface line, but look at Apple now the iPad Pro with it's keyboard and pen is a direct response and attempt to imitate that niche MS worked hard to carve.

Definitely got my eyes on Surface line with how bad my experience with the USB-C MBP has been, 6 months in both my command key and return key are screwed.
Show HN: Small service to debug REST requests
A good step in addressing depression is to talk with a licensed clinical mental health professional. Clinical depression is not caused by vocational choice. It is a medical condition. Good luck.
Of course capacity is always greater, average twice greater as that kind of deals you are taking from T1 providers. But depends how much commitment you have, what kind of deals and traffic patterns you are using. CF has 10 Tbps capacity but probably a lot less throughput, they need high capacity because they are DDOSed a lot.

I wasn't taking those numbers from nowhere. Read this:

https://www.cisco.com/c/en/us/solutions/collateral/service-p...

I think people are misinterpreting what they claim, It's not about 10% of internet throughput of HTTP traffic, it's about 10% of all HTTP requests.
It would be OK if handled with a preference where the user could choose between 'always autoplay', 'never autoplay', 'ask me whether to autoplay each and every time'. Plus the ability to vary that setting on a site-by-site basis.
JS is ok, TypeScript is pretty good. Still I would rather use say Elixir for a large project on the backend, but for a small project node is not a bad option.
> If you are under attack

If. Much, if not most, server software is written under the implicit assumption that it will not be under attack.
The font was commissioned from Dalton Maag, who specialize in this kind of work (as the second highest ranked comment notes). So if anything it is money that is being wasted, not employee time.
Still up at http://gen.lib.rus.ec

This is also a good time to remind people that there is a torrent backup. If you have a seedbox or just space on your computer consider downloading a few and seeding!
http://gen.lib.rus.ec/repository_torrent/
Writing a command line app in Elixir (2017)
Octomore is amazingly peaty, unfortunately that price..... $200 isn't wallet friendly. On the plus side the bottle will last a while since you won't be drinking it in quantity. I haven't found anything comparable peat wise.

I didnt find port charlotte very peaty at all, but its been a while.

Agreed, Talisker Storm is interesting for the price(~$50). (is there a dark storm & storm? i've only seen storm in the usa).
Arch Mission teams up with Astrobotic to send Wikipedia and more to the moon
Vimtutor did not work for me, but vim adventures taught me enough to be comfortable using vim on a daily basis. I think it may be because vimtutor focuses on one topic at a time, while vim adventures forces you to use everything you learned up to a point, so it is more of a spaced repetition approach.
Apartment baiting with Facebook Ads
> “You are not an independent contractor if you perform services that can be controlled by an employer -- what will be done and how it will be done, the IRS rule says. “This applies even if you are given freedom of action. What matters is that the employer has the legal right to control the details of how the services are performed.”
DynoRoot1111 (CVE-2018-1111)
It's so strange--I never would have expected the boot of tyranny to come from private corporations, but here we are. And what all this proves is that technology is value-neutral and can wipe us all out, or just make us incredibly miserable, if we let it.

Hopefully there will be a way to opt out. Otherwise, I should start selling faraday bags for devices. Probably should anyways.
Haskell was the first thing that came to mind. I can show with one hand, by joining my pointer-finger and thumb, the number of people I know that use it.

It looks lovely, and it's something I'd very much like to learn some day but I can't for the life of me think of what I would use it for. Are there any killer apps out there for it?

At least with lisp, I can configure emacs ...
Frauen+Sexy+reizvoller+Wäsche+Spitze+Kleid+Unterwäsche+Nachtwäsche+++G-string
Inefficient, mostly not new either because in the past you'd have one person with that responsibility: the one who has experience with ledger. Now everyone's a notary. How it'd happen with centralized/specialization is another person would cut wood, yet another would hunt fish, and everyone would do their part (you can see this in effect in the movie The Beach [1] though the group is larger than 4 like in this example; also in Cast Away its just that there's only 1 person there who has to do everything by himself which makes it a redundant example). Everyone specializes in something because that is more efficient when HR are scarce. Because the group is small its easy to keep track who's doing what; instead of pet peeves like ledger.

So in short either you're so bored that you don't have anything better to do, or you're busy with surviving. If you're bored and you happen to have pen and paper I can recommend something different: PnP RPG. Such relies on something you'll always have with you even when you're alone (see Cast Away [2] as well): your imagination.

[1] https://www.imdb.com/title/tt0163978/

[2] https://www.imdb.com/title/tt0162222/
Mysterious hackers ingenuously reveal two #0Days to security community
How hackable would that be?
Previously discussed yesterday, and again two days before that: https://news.ycombinator.com/item?id=17069459

This is one of the reasons I use a public-facing Twilio number, which forwards to a private number which I never hand out.

This isn't something that people should have to do to opt-out of tracking like this, but it doesn't seem like there are many other reliable options.
Planning to Sell Your Company? Increase Your Valuation with This Simple Strategy
Ask HN: Recommendation for outsourcing of a small SaaS MVP
Hello,
I am from Bulgaria and after organizing ofa startup around SaaS based product. It will be SPA web app MVP, with on .net core backend and angular 6 for the frontend. I need to focus on the bussiness endeavours while the base for the product is being built rather developing it by myself. On the other side the developer costs locally grew to absolute heights and I am unable to afford doing it locally.
This was came to the idea of splittting the non tricky web implementation that is requiring more work and outsource it to cheaper locations, while me and other founders around doing ML work on the backend and securing the clients.

Do you think it is a good idea?

What regions and websites you would advice on for getting a freelance team to do it?
Does anyone need help understanding the GDPR?
It also includes other crimes such as harassment and is not based on actual police reports.

https://www.thelocal.se/20171116/a-growing-number-of-swedes-...
Yes it's a compliance nightmare. Context for my WhatsApp comment is SE Asian market if that makes a difference. Also curious if prohibitions are effective or if people still negotiate on other channels and then document on official one.
Your keyboard(s) must drink more coffee than you.
> And you can't do something like this in a clean way:

That's what nonlocal is for: https://docs.python.org/3/reference/simple_stmts.html#the-no...
Just stick "nonlocal counter" in your function and it works.
I think your organization might suffer from groupthink and it might healthy to hire someone with a different viewpoint. Just because someone uses a certain word, like cyber, doesn't imply they are not qualified.

Also, there are hardly any novel new attack techniques, its all just old basic concepts applied to new technologies. Being in the industry for 15 years should allow to put things into perspective.
IMHO, it sounds like the job of the compression algorithm, not the format.
I literally thought this was about the Windows emulator.
Oh really. The whole point is to figure out ways of inhabiting outer space. The " negligible" results gave such silly things like advanced radiation shielding, thermal clothing, advanced air filtering, developments in radioisotope generators and solar panels, material science, even project planning (though saddled with bureaucracy).

What it did not improve is the cost of space travel.
> Some amount of dishonesty is required if you want to avoid being an awkward social pariah.

Not at all. When people ask "did you like the food?" they want to receive honest feedback, including a perfectly acceptable "actually not that much", at least where I live.

You can teach people that you will refuse to manipulate them and lie to them - and that this is a way to respect their dignity.

It's also unpolite to ask direct, potentially embarrassing questions that put people on the spot. There is nothing wrong in asking people not to do that.

People can find your (polite) honesty refreshing and warm.
Dude, no. Someone who would lie this much to get what he wants will lie when you're working with him.

If he makes a big mistake he will lie about it to avoid getting fired just as surely as he lied to get the job.

Citing Neil Gaiman -- or some other celebrity -- doesn't do anything to make this less true.
World’s First Open Source Insurance Policy
How to Keep Networking from Draining You
Must-watch Programming Talks
Spot mini the robot, next gov
They say this look robot looks like a dog? It looks like a mutation of a dogs body and then a dinosaur head was placed on top. Scary.
Outsource Android App Developer for Mobile Application Development
Then people would go back to doing their animations with JS at the cost of more CPU usage, worse frame rate and worse battery life.

Finding out whether JS is currently animating an element is about as hard as solving the halting problem.
"The language of algebra is symmetric". This is the key phrase where he gets it wrong, in my opinion. He talks about algebra when he should be talking about formal logic, which absolutely has the power to describe causal relationships, just as you said.
I love The Curious Expedition; did a presentation on it at work recently.

What can you tell us about The Curious Case?

http://curious-case.com/
The first person people lie to is themselves. For a person that doesn't have a personal commitment to integrity, when they are placed in a position where they are incentivized to lie, they will first convince themselves that this lie is either harmless (we are going to lose the account anyway, what is the point of getting everyone mad at me) or the lie is for a good cause. Once that is done, usually unconsciously, then they can tell the lie.

I used to own a business, and I hired people that I knew, nice people. I learned that I should never hire anyone who was not trustworthy, to myself or others, it's just not worth it. One of my friends attended part of the hiring process by telling his current employer that he was sick. This raised red flags in my mind, but I thought, surely he wouldn't do that to me, his friend? Later he did sloppy work and hid it from me with lies, the company almost fell apart. One of many similar stories.

If you have a habit of convenient lies, when the pressure is on and the fear is in your gut, you're going to lie. Don't lie to yourself about it :)
I also like to think of Haskell as a great language. But [0,1\3..2] being a wart? Here's an old HN thread that bashes Haskell:

https://news.ycombinator.com/item?id=9434516
I fine rowing on Ergs particularly hard work as cardio goes. There's no momentum stroke to stroke, so every single one requires full effort. When I did this at uni, my strategy for coping was to spend the entire time doing mental maths / projections for how much any drop in rate would impact my final time (and conversely how much could be gained by an increase if kept up until the end).

It's not hard maths, but it was the perfect distraction from the problem of dealing with how little effort I had left vs what I wanted to achieve. Trying to think on abstract problems was more than I could achieve. Not thinking about anything but my next stroke wasn't enough. It was (and remains) the perfect strategy for me.
A couple of people do, if I recall correctly.
I would say Svbtle had gone experimenting. At some point I decided I wanted to be a part of something livelier and more inclusive and announced in a review of Book Worm Lab http://ratedbystudents.com/services/bookwormlab Svbtle dead too. But now I'm using it again:)
As parent mentioned, python!=cpython. You've got pypy, cython, typed cython, nuitka, and probably some others I forgot about. Without knowing what you're trying to achieve and what you've tried, "extremely slow" is pretty hard to accept.
Tip #3 is pretty silly. Lots of people don't use LinkedIn, it's a horrible site, and a LinkedIn profile isn't proof of anything.

Spend more time talking to your candidates and ask for real references. Don't trust phone numbers and emails given by the candidate, if someone references someone who works at a company then contact the company through their public contact methods.
The most obvious use of the data appears to be by credit card companies to detect fraudulent use of a card and decline those transactions. This is something I'm relatively comfortable with, though it's plainly in the interests of the bank and I only indirectly benefit from the tracking.
> the Electronic Communications Privacy Act only restricts telecom companies from disclosing data to the government. It doesn't restrict disclosure to other companies

Clearly the US has their priorities completely the wrong way.
Ask HN: Looking to branch out into remote work, how to start
As the title suggest, I’m trying to learn more about remote work to find better opportunities than what is available to me locally. Where should I start? Any tips about where to look for work, how to make my resume attractive, what to look out for, etc. I’m not in a hurry to change, I want to learn what I can before and make an informed decision. I’m interested in a full-time job preferably as an employee.

I don’t know if it helps, but I’m a full-stack developer with 8 years of experience, located in Canada. Up-to-date with the latest web frameworks (React/Angular/Node.js/TypeScript) and have mostly worked with C# before that on enterprise software, with a bit of React Native on personal projects. Have worked in both back-end and web front-end projects depending on the need of my employer. My GitHub profile is pretty bleak, but I have personal projects that are public.

Also, will I need a work visa if I’m to be employed by a US company, even if I work from Canada? Do US companies typically hire you as a contractor or can you be employed as an employee? I’m asking because contractors usually have no benefits here, including holidays/vacation/sick days, insurance, company-paid parental leave and all other perks so it has a huge impact on effective salary.
They're perfectly fine with the last point. While the govt ous not reading emails they can infer enough just given the metadata that reading the actual contents is irrelevant.

(A detective can do so as well. But that is much more expensive and doesn't scale.)
Yes. 1366x768 and 1920x1080.
To Err Is Human – So Test Your Error Conditions
The GDPR doesn't have a blanket ban on publishing personal data! The problem with the WHOIS database is that it's forced upon individuals. The EU has no problem with a WHOIS database that allows people to freely opt-in to publish their data (Whois "privacy" services don't count - privacy must be the default, and you certainly can't be forced to pay for it).

The reason the database is going dark is that ICANN has completely bungled this process, failing to address the GDPR in time (it was adopted two years ago!), and so now they have no choice but to take it down until they can fix it. And it might be that the future WHOIS database won't let you publish data, but that's ICANN's decision, not the EU's.

So to take it to the patent database, all that means is that the patent database must ask consent from the patent author and owner (assuming it's an individual) to show their personal data.

--

But let's assume they actually couldn't show names at all (which, again, is not the case). All you'd have to do with to get a (digitally signed) certificate from the patent office saying that you're the author, and then you'd send a copy of that to whoever you want. Hardly a terrible thing.
The consensus here is trivial to control by the strongest of the group. What if when Hugo sent the 200 coins, he said “oh we’re allowed to generate 200 coins if it has been over 3 days of no coin generation” and his statement would be impossible to verify because:

1- They have no way to get in touch with the central authority, the developer (author of the blog post), who can tell the users if the new consensus rule is allowed or not.

2- They have no written account of the consensus rules, which would help to at least invalidate new consensus rules that seem to conflict with the written ones.

So what would happen if Hugo did this? Well if he’s the strongest of the bunch, he could simply impose on the group and say “this is a new consensus rule, accept it or else”. So much for decentralized consensus!
Understanding the rise of China (2010)
I tried it a long time ago (1.5 years?), it sucked.

It had pretty much the same fundamentals information you could get anywhere, including the tools that come with an Interactive Brokers account. And...that's it. Nothing else.

I wanted to pull up some options data and run some calculations. Very doable on something like Bloomberg, provided you read the manual (the school nearby has a terminal; I could certainly never justify the cost). It's like money.net had never even heard of an option. No analytics capabilities whatsoever.
You can get a pretty complete overview at https://blogs.msdn.microsoft.com/dotnet/2017/11/15/nullable-...

But essentially they're not solving it: you will get a warning on explicit default-ing of a non-nullable reference, you will get a warning on implicitly initialising/defaulting class fields, but you will not get warnings when doing so for structs or arrays.
gotta say, tabloid british journalism science articles are worse than US anti-science articles by far
Dan Abramov: A gentle introduction to Prepack
If you take that cell phone home with you regularly and don't live in a multi-unit building, it would be relatively trivial to figure out your identity using this data.
The way I understood it is that the requester of the location is trusted to have gotten consent from the subject of the query. The providers will answer any queries.

So Securus works on the "we're sure our customers are getting consent for their inquiries" presumption. What are the consequences if a company is found to not have gotten consent? Business sense dictates there to be no consequence at all if Securus can avoid it.

The way this should work is that the carriers can get permission to share location data with third-parties. They should not do it without having gotten permission from their customer. But then they probably get that when you sign the contract. Or do they just not mention it?
HTC Exodus Unveiled: Blockchain Powered Android Phone Soon to Release
The most obvious use is insurance companies looking for excuses to deny claims.
Ah, it's by Chandrawickramasinghe. He's a known crank.