skysight-inc/HackerNews huggingface dataset:
That is not really something I have to worry about if the server is in the datacenter of a reputable hoster.
I think it's because even for cold storage one copy is still persisted on disk.
> Another algorithm for unicode strings which wants to index by code point is unicode regular expression matching.

Why? This is certainly not a requirement for at least some levels of Unicode support.

> I once heard that complexity of implementing regex directly on UTF-8 is one reason why Python will not use UTF-8 internally.

It's really not that bad. Both RE2 and Rust's regex engine operate on UTF-8 directly, and this is one of the reasons why these engines are fast. If your automaton is byte based, then you can do a lot of nice tricks in your DFA implementation. (In fact, it's a critical reason why ripgrep doesn't slow down when handling Unicode features, unlike GNU grep.)

For Rust at least, the trickier parts of generating the UTF-8 automaton are available for reuse in the utf8-ranges crate: https://docs.rs/utf8-ranges/1.0.0/utf8_ranges/ (Which is used in at least two regex implementations I've written.)

I'd say the complexity claim might be coming from some other component of the implementation, or something more related to how Python strings are generally represented, rather than it being a fundamental complexity of building a regex engine on UTF-8 directly.
Context.IO – The missing email API to leverage email data
> That's actor model

aka the original OO. OO as taught today is nothing like how Alan Kay imagined OO [1]. Alan Kay originally imagined OO as biological cells only able to communicate via message-passing. That's the actor model more or less.

> dealing with immutable data in OO languages is tedious and error prone

Again, pretty different OO. Still, I'm curious what you find error prone? Tedious, perhaps. Scala and Java+Lombok make immutable data pretty decent to deal with ergonomically if not quite as good as Clojure or other languages out of the box. Even PCollections for Java reduces much of the waste and is fairly nice ergonomically.

[1] http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay...
Also if you're interested in inventors from the late 17th Century, I highly recommend: "The Man Who Knew Too Much: The inventive life of Robert Hooke"
I guess you're referring to the uncertainty principle, but this one is more related to the observer effect[1] (also described by Heisenberg): Observing a system alters its state.

In terms of software, it describes bug that change their behaviour (usually vanish) when being investigated. The reason is often a racing condition that swaps to one side due to blocking one thread through a debugger or additional delay through print statements.

[1]: https://en.wikipedia.org/wiki/Observer_effect_(physics)
It’s missing the old “+++” for non-Hayes modems.
I was always afraid that they would loosen over time but my pair of Geox Nebula shoes have held up great.
I concur with the recommendation. I used the book to get into C# after having worked mainly in C++ and knowing some Java 7 from the beginning of my studies (as well as some dabbling experiences in a couple of other languages).
For me, the book was a great help since seeks to inform about C# as a language rather than teaching the reader how to program from the ground up.

Interestingly, additionally to explaning the concepts of C#, Skeet also discusses the language versions the various parts got implemented in, which gives the reader a nice overview of the language's evolution. This is especially useful since it's easy to find old code or even .NET APIs and get puzzled by their "strange" implementations, which are usually perfectly well explained by the limitations of earlier C# versions (missing generics, for example).
I'm claiming that a unanimous consent ideal is utterly unworkable at the scale that even a city government needs to work at, let alone state or federal government.

If the argument against a mostly functional existing government is that "not everyone consented unanimously and willingly", I think the claim that to require such makes things less functional is an in-bounds claim. You can argue that I'm wrong, but you will have a hard time convincing me that my claim was non-responsive.
I don't agree that my argument is akin to wanting to ban short-selling. I don't see the link. You've brought up an argument about creating bottoms in the market, but my argument has nothing to do with those.
That's sort of like software transactional memory, which has a reputation for being slow. However, limiting transactions to one object at a time may avoid most of the overhead; in fact I suspect it would often perform better than locking. On the other hand, that sounds tough to reason about… do you just always use persistent (immutable) data structures? Because those have quite a bit of overhead (if you don't need persistence anyway for some reason). If not, how do you prevent one thread from seeing another thread's transaction in progress?
is it wise to just take this list "as is" as a black list for, say, valid usernames, on a backend system ?

are there any drawbacks to this that i can't think of ?

in terms of perfomance - i guess it could be somehow optimized (with dictionary and sorting algorithms etc etc)

edit: newlines
My guess is both elevated and popularized their fields and are the only practitioner most people can name. However, almost none of their theories have held up over time.
[Packers vs Cowboys Live Stream FREE] (https://www.linkedin.com/pulse/watch-packers-vs-cowboys-live...)
I've owned 3 vehicles with cam chains. All of them have over 320,000 km (200k miles).

None of them have had issues with the chain or the tensioner.

That could be a testament to old Japanese engines (specifically Nissan) though, two from 1996 and one from 1982.
I don't consider either of those a desirable location, though. That's pretty key to this whole argument - SF and cities like it are places people actually want to move to rather than just buy properties there.
There's no such thing as “naughty strings”, just dumb code. Sorry.
Yes I am. Police/Courts works because people are non-aggressive. And when you do get in trouble, Police/Courts should be last in your list of things that will help.
Weren't those Dutch bikes changing hands for €50 once decent, €350+ bikes? I think they are, that's why they're still working.

I was given an £80 bike once, to cycle to work and back every day. It was ruined within 6 months -- the bearings in the hub and bottom bracket were worn out, the brakes wouldn't line up properly, the wheel rims were almost worn through, the gears didn't change properly. People in the Netherlands simply don't buy these bicycles, they'd rather spend €90 on a second hand one.

However, the £80 bike is OK for a British adult to cycle 10km round a nature reserve, once or twice per year.
How I made sure all 12 of my kids could pay for college themselves
Automating clicks on competitors ads might be beneficial for companies who are competing on the same keywords.

This could be of course just ordinary user behavior. When searching something, I'm opening tens of different pages. Probably I scroll quite quickly through most of them. Just made some quick tests and I think on mobile phone I also act as described, so just flick to the end of the page glancing stuff on my way.
If you ever need some joggers then the Salomon quicklace system doesn't really count as laces and is generally pretty awesome.

http://cdn.planetshoes.com/images/11141/11141_119_zoom.jpg
Why are the two gifs so vastly different? The times are fairly close to each other just 10 seconds difference but the Facebook/Google looks to be altered to give the impression of them doing nothing.

The replay shows them both at 1x but they're not the same at all, the second gif is like 10x the speed of the first.

That behavior looks exactly correct for mobile traffic.

Flagged the story, looks like title click bait to probably hit front page; There seems to be manipulation on the gifs to drive their point.
I figured that one out, but --- evaluate? mocha? expression?
I thought 花 and 鼻 were ambiguous in most romanizations - at least I would write it as "hana" in all romanizations I can think of, yet the pitch accent differs. No?
Is there anyway for us outside the US to stop the US government from spying on our comms, when we message people inside the US?
Here's a tool to generate problematic filenames: https://github.com/jakeogh/angryfiles
Does the auction-style pricing already take this into account?
I was disturbingly excited to discover why my laces have been coming undone for 44 years.
Not really, since a lot of the lines are examples of classes of input -> good for testing, but if you have an actual problem with one of them blacklisting them only protects you against this single example.
I think that OO languages are more natural, although most people are writing their objects "wrong".

OOP more naturally models a multicore system, because it bundles state and behavior. That more closely modelsthe hardware: multiple CPUs, each of which address a non-uniform portion of memory. That is like methods an an object that operate on local/private state.

What's missing in some languages is an abstraction for "thread of control", i.e. your program counter.

But that can be added, and has been -- people are just not using it as widely as they should. Whereas I think functional languages are great for some things but awkward for others. I like algebraic data types but I'm beginning to think they are orthogonal to functional programming, as in Rust, which has them, but is an imperative language.

I expanded on this style of treating OO languages in a more functional style state here:

https://news.ycombinator.com/item?id=11841893
I was seriously wrong about SnapChat
It's well founded.
> But if not knowledge then upon what is it based? Instinct? If so, then society would crumble into loose animalistic structures. Law? Then, to appeal to Hitler once more, would you still shelter a Jew against the ethics of the law?

Thats actually why I argue objectivism as being aligning better with what's possible within the field of ethics. The whole idea is you can only morally do what you want, without intentially removing others freedom, unless they pose a direct threat to your freedom. As a rule of thumb, this actually works exceptionally well.

Murder for example is wrong (morally), by that code of conduct. Traffic laws would be moral because it keeps others from removing your freedom by either not letting you access the road or accidentally killing you by being reckless. It also handles the Hitler argument, whereas some utilitarians my argue what Hitler did was moral.

The whole point of this philosophy is to maximize personal happiness, while minimizing conflict. Data has little to do with it, because respecting one another is the whole point. When you start discussing ethics in terms of "sociatial good" it starts requiring one to know the future. For this reason, I'd argue objectivism, when applied, provides the more useful form of ethics, where one only has to worry about their own happiness, while not intruding (too much), on others.
Supervised learning - is learning from pairs of input -> desired output.

Unsupervised learning - is learning based on predicting future, present or past data from current data.

Both use immediate feedback.

Reinforcement learning is based on learning from dynamic datasets as opposed from static datasets.

Games are like dynamic datasets. Of course game theory has a lot to do with deep learning. If the signal you are learning is dynamic, it's related to game theory.
I don't think that's been solved either or most physicists for that matter. I've read some of the attempts and they are not terrible good.

I don't think Ron Garret even touched on the Born rule, Everett of many worlds just hand waves and assumes it. The attempts I've seen are basically of the form that if the rule was different from the probability equaling the absolute amplitude squared then reality wouldn't come out as we find, so it must be so, which is not much of an explanation in my book.
The second gif animation is actually slower - you are correct. Both gifs were speed up 3X. The Google/Facebook one is a very very slow scroll.

The point I am making is that 80-90% of the traffic is a simple user interaction.

Sorry, but the scroll is so slow that I decided to speed up both animations 3X - that is stated in the article.
See the bottom-right of the GIF "Skip inactivity", which explains the difference you're seeing.
How Electric Vehicles Could End Car Ownership as We Know It
I came across this site at least 5 years ago and I learned from it I've been tying my shoes incorrectly my entire life. I always wondered why my shoe laces needed retying multiple times a day, even with double knotting. I had to relearn how to tie my shoes and it's been a significant improvement in my life, as odd as that sounds.
I dunno if this is the kind of advice you're looking for, but what I've found is forcing myself to do everything with an unfamiliar tool helps a great deal.
They missed # of warrantless wiretaps, and # upgrades on the human rights watch list in exchange for TPP support
Two brakes are required by law in at least four EU countries I'm familiar with, very probably all of them.

What's unusual is having a disc brake as the second brake, but I like those much more than rim brakes.
For a human, it's just called "learning". :)
There's underreporting and tax evasion in almost any business which can be conducted on a cash basis. I know of a heating air-conditioning contractor (now deceased I believe) who regularly got customers to write checks directly out to him and take those to a check cashing business. He was very clear he was doing this to evade taxes.
There's a large difference between the Nature news website which is on the better side of average, but still average, science journalism and the journal which is a far larger and more complex behemoth.
It could still be normal disks, if we're feeling conspiratorial. It's easy to make faster storage slower; just add waits. Or maybe they make it take up to five hours so they can avoid peak traffic times in whatever data center your info happens to be located in.
Best Road Trip Songs Ever
Powershell is frankly fairly amazing. Recently I found myself needing to open the Windows datastore.edb file, and before I discovered some interops I learned that in fact you can grab a C# member definition, then use it as a signature and load that type as a Powershell object [1]

Hell, I even found a C# code snippet and was able to add into a Powershell string, then add this as a C# type definition, and Powershell compiled it to an assembly and then loaded it as an instance of a Powershell object.[2]

1. http://www.leeholmes.com/blog/2009/01/19/powershell-pinvoke-...

2. I found how to do this here: https://blogs.technet.microsoft.com/stefan_gossner/2010/05/0...
PyBites Code Challenge 02 – Word Values Part II – A Simple Game
I don't believe it does. It seems from my data that CPM will always be more costly than CPM. I am suggesting this is artificial.
The Broken Code with 100% Coverage
30% of the programmers in IDF are women
Thanks for the interesting reply.

I haven't tried swift or Scala, but my experience is that I mostly work in C++ (in console video games). Even though there are thousands of files and millions of lines of code, the time it takes to recompile after a small change is typically 5-10 seconds which is nothing compared to the time it takes to fix the mistake if i type the wrong thing, so the static compilation step is very welcome in this case. Compiling can take minutes with certain kinds of changes (e.g. change the signature of a widely used function that is included in many other files) but that's also generally a case where the longer compilation time is welcome because it tells my all of the myriad of call sites where the function is now being used incorrectly and needs to be fixed. I have a lot of C# experience and generally find compilation times to be a non-issue there even on large projects.

It was interesting what you said about the advantage of dynamic languages is making changes while the program is still running. How does this work in the face of code that crashes? Do you just build some kind of well-armoured inner loop with lots of exception handling that you never have to change, and then all of your changes are in modules which are can fail without taking the system down? We have a python-based "pipeline" which manages the building of all of our game assets and takes a long time to restart since it has a database of gigabytes of information that it needs to reload on startup. And changing the code involves a restart, so the cost of getting the code wrong is a long wait. I know that python does allow for reloading of modules, but the architect of this system has told me that it would be a bad idea due to possible data layout inconsistencies between the new code and the resident data, whereas reloading and deserializing the information is safer.
You can only do that while moving; once you've stopped (e.g. at traffic lights) the pedals are stuck where you left them, unless you lift the rear wheel off the ground.

When I moved to Copenhagen from London, it took me several weeks to get used to a coaster brake rather than disc brakes -- I'd often stop with the pedals in the wrong place.
I think that would be fine. I'm not trying to prevent people from accessing money before the 6 (or 10 or 15) years is up. I'm trying to make sure that the value of the money they access is determined after a long enough period of time has passed to more fairly evaluate their decisions. There will be a cost to borrowing or offsetting their risk and that cost will be determined by arms-length financial arrangements.

My company is too small for anyone to care, but imagine that Apple or Google adopted such a plan. 5 years in, suppose it looks very likely that the Apple PSUs will pay out. I have no problem with an Apple exec borrowing money against their overall earning potential or even borrowing money specifically against the PSU payout.

The payout happens or doesn't based on the smoothed (moving average) judgment of Apple investors' reaction to those decisions and the financial and strategic performance of the company.

(Note that in many companies case, it is prohibited for employees [or a subset of employees] to enter into certain derivative contracts. Most prohibit outright speculation with naked options. Some even prohibit the selling of covered calls. I believe the full paperwork of our plan prohibits pledging these PSUs as collateral for a loan, but that doesn't prevent an underwriter from looking at my overall financial prospects and deciding to lend based on that overall picture.)
SQL injections too.
Stacer: Electron Based Ubuntu System Optimizer
Correct, thank you.
With a bit of pinvoke goodness you can load unmanaged dlls also.
Its funny that zero width space is considered weird and twitter fails on it. Its quite common in my language (Persian).
The great thing about 10/11 speed cassettes is that you can go single on the front end. I did that three years ago, and man is it better.

So I sacrifised the very highest and the very lowest gear compared to my old 3x9, but this thing never drops the chain off the front end, there is no front derailleur that always gets bent and fails to shift properly, and there are no awkward momentum-bleeding crazy shift-down-one, shift-up-the-other moves. And you save money, weight and complexity, meaning less maintenance and less failures.
>"Scoring doesn't necessarily mean you give with expecting something in return, rather you're cognizant of your own contributions."

It means being conscious of your own contributions so you know what to expect in return. If you were just interested in what you contributed you wouldn't need to keep track of your past, seeing the opportunities in the here and now would be enough.

>"If you don't do any scoring, you can easily become complacent"

I'm struggling to think of an example I can give you that shows an alternative to your current view on relationships is possible. What I'm talking about is a subtle difference, but something I personally think is an important one. It's not so much about particular actions per se, but more about the motivations behind those actions.

This is the best example I could think of to share with you, I'd be interested in hearing your thoughts:

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

>"Yes, both parties have a role in keeping the romance alive. I meant it as the "responsibility/duty" definition. It takes two to tango."

Perhaps it'll help if we look at what these roles are. What are the roles you're referring to?

>"Do parents not have roles in a family either?"

In the early years, parents have a role because their kids depend on them for guidance and survival. Once the kids reach adulthood the relationship can change into one closer to friendship. That's been my experience.

In a relationship with a partner, this is different. Both partners choose to be in the relationship. It's mainly about the chemistry between the two people, how they energise and comfort each other. However, this doesn't really feel like 'effort' in the sense of duty, or at least it doesn't have to. Consider the difference between play and work, both require effort, but they feel completely different. That's really what I'm trying to get across.
Sure of course there is value to curation. There is another problem these days with curation in that only "positive" and "new" result get publish. Which is sad, but is beyond the current scope. Though the current curation to price ratio these days is dramatic.

It would be great that movement like this one send a signal to publishers that in the 21st century we are waiting from them more than what they are currently doing. I'm all for publisher like Nature to change and show what _can_ be done. First acknowledging this (like this article) is a great step. And some people in these journals are doing an extraordinary job internally[1]. Just hoping this could shake things and wake up some people in management.

[1] is one example http://www.nature.com/news/interactive-notebooks-sharing-the...
As you get older, sex may become less appealing, or less realistic anyway.

For example, men seem to be most attracted to women in their 20ties. While I acknowledge the (evolutionary) reasons for that, I also think it sucks, sometimes to the point of disavowing sex just to spite nature.

It is of course possible to pursue young women even as an older man, but there really is a tradeoff between attraction, dignity and sheer waste of effort.
I basically used Camtasia and changed the clip to 3X the speed, I didn't do it via the Fullstory UI
Babbage.
Dupe. See: https://news.ycombinator.com/item?id=13404440
Qt added signals/slots to C++.

FPGAs will get us most of the way there. We will want to express programs as concrete circuits and message passing. Something like http://www.clash-lang.org . Stream level operations are preferred over "Object" messages.

There is a tradeoff between large bandwidth large area circuits, and smaller circuits with less bandwidth. Inherently serial stuff goes on small circuits.
Related, there have in fact been fabricated arrays of processors, at least in Academia, for some time:
http://vcl.ece.ucdavis.edu/pubs/2016.06.vlsi.symp.kiloCore/2...
I'd disagree on the subject of 'map data': Open Street Map is a good example of free, open map data.

Whatever map data Uber/Lyft started with (and have perhaps since augmented with proprietary GPS data supplied by their apps), is it enough of a competitive advantage?