skysight-inc/HackerNews huggingface dataset:
Yeah, the fact that it's hard is partly why I haven't implemented a working one one myself. :-)

Regarding streaming: I don't remember exactly when I ran into this, but a text or hex editor which you also mentioned for the other use case is a clear example (e.g. if I want to search for a pattern on my disk). I would have to think back to what the actual use case I ran into myself was; it may have been this or something else... it was quite a while ago.

> Is the trie data structure containing all of the file paths in memory?

Well obviously not in network example (the network aspect would be moot) but there are also times when this is the case. Thanks for linking to your library! I haven't learned Rust yet but I'll take a look at it.
Agreed! How could anyone consider Tandem Nonstop[1] boring when it let you rip and replace RAM, and CPU, etc on the fly with no downtime. Fun, fun!

[1] https://en.wikipedia.org/wiki/NonStop_(server_computers)
There are sleeping tablets in the supermarket in Spain that contain it.
It's called living in the suburbs. I don't order everything on Amazon, but if I need some basic item (hangers, laundry detergent, vent cover, bathroom scale etc) it's a huge time saver! It would easily take me 45 minutes round-trip to drive to the nearest, say hardware store, locate what I need (assuming it's in stock) and drive home. On Amazon, I find the item, swipe right and wait two days. No need to stay at home waiting for the package, I live in a safe area.

Honestly I've had zero issues with counterfeits, but then again I don't have any kids yet, so I'm not buying many toys. I also typically pay more for name brands due to quality concerns in general, so that probably insulates me to a degree. I'm not denying people's experiences, but honestly Amazon's reputation is still fine to me. They're a marketplace like any other and they never really marketed themselves as premium. Curation and trust was never part of the deal IMO. I don't trust Walmart or Best Buy either.
Pic or it didn't happen.
SamSam Ransomware Crew Made Nearly $6M from Ransom Payments
No I don't think they do that here, not that I observed it. The switches are heated though, since they need to move for the train.

There is also a lot of different snow clearing vehicles that go around in the worst areas.

We do have trainbed fires during dry summers at times (like currently) but not winter, it was just some excuse for lack of trains or otherwise produced delays.
That construction is so weird that I'm going to assume it was a typo and that they meant "tens or hundreds"
> I really don't see how machines could distill the ideas out of a text and reinterpret them in a nice way.

Well, machines are already doing it with paintings: https://arxiv.org/pdf/1508.06576v2.pdf. There's no technical reason for not being able to achieve this sort of 'machine creativity' with texts. It's just a harder version of the same problem.

> I can see AI work for short, simple, well-written texts. Heck, even long manuals with repetitive blocks of text from manual to manual. But with creative, complex text: still a looooong way baby!

I (carefully, waiting for experts' feedback) disagree. ML works on data and algorithms: give a deep RNN a great lot of human made translations, time/cpu to produce a good model, and I think you would be astonished by the results.

Data's complexity is of little hindrance here, because the algorithm does not try to understands the data (as we humans like to think we're doing when reading), it's just trying to infer a solution based on learned behaviors. And it's 'just' ML, AI will come when your computer tell you that this specific text makes it sad, for example.
It sounds like you didn't even try. A few days after you've contacted the seller you can escalate to Ebay customer support and they side with the buyer and issue a refund so fast I'd be terrified to sell anything on that site. You can find it written in the Ebay terms that for misrepresented items seller has to pay for a return shipping label. I only ever had one seller refuse to and Ebay c/s said keep the item and we'll issue a refund.
>Direct democracy is still pretty awful though, especially for anyone who falls into any kind of true numerical minority category

That's a generalization its opponents make, but it isn't true.

In most places where it was practiced (ancient Athens, short-lived anarchist areas in Spain, egalitarian communities, etc.) it was shown to be more benevolent and inclusive to "true numerical minorities" than most representative democracies. Heck, the US had segregation in practice up to the 70s, with blacks being a 20% or so of the population (and more in some areas), and gays were persecuted throwout Europe representative democracy or not.

Even more, the most horrid persecutions of minorities have happened under elected representatives (like Hitler), or authoritarian regimes (e.g. Stalin), as opposed to any "direct democracy".

It's indicative that the arguments in the lemma ( https://en.wikipedia.org/wiki/Tyranny_of_the_majority ) are contrived though experiments and not historical examples.

There's no "tyranny of the majority" that's inherent in direct democracy, any more so than it is in representative "democracy". The tyranny lies in an orthogonal axis (namely: the prevalent passions and ideologies of the era), and can be applied regardless of direct or representative democracy.
How U.S. film critics reviewed Bruce Lee movies in his day
Missed my favourite part of learning the mainframe: where the enter key is.

Return and enter and two different keys, but, on most modern systems, they perform a similar function. On z/OS Return moves down a line (similar to Tab, but ignoring all entries on the current line) and Enter actually sends to data off.

Once you get used to it, it's really no different to the Linux or Windows command lines. It's certainly dated, but that's what you get from running a system designed to be fully backwards compatible (with 24-bit, 31-bit and 64-bit addressing modes) that can continue to run software that's over 40 years old.

[For reference, the mainframe originally had 24-bit addressing. When IBM wanted to add 32-bit addressing, they found that people had been using the remaining byte to store other data, such as flags. So, to avoid breaking customer applications, the 32nd bit is used to identify whether the address is 24-bits or 31-bits]

((And yes, for the record, I am an IBMer, working in a z/OS product that's over 40 years old))
Pretty much the first sentence on the page:

> No runtime exceptions, ever. Every bit of Grain you write is thoroughly sifted for type errors, with no need for any type annotations.

That's... weird to me. That seems to posit that ALL runtime exceptions are necessarily type errors. Huh?

What about full disk, DB errors, data verification error, parsing errors, network errors, and tons of other errors that don't appear to be type system related?

[A] This language only doesn't realize this class of errors exist, which, um, seriously? That can't bode well.

[B] The language uses the type system to propagate such errors. `Either<Result, ErrorCode>` for example. The language is somewhat unique in that it is designed to enforce such code style for ALL possible error conditions.

[C] The language returns null or blank objects on error conditions, such as how (early) javascript returns 'NaN' when trying to parse "hello!" as a number, instead of raising an error condition. That's a style choice I really wouldn't like, but I guess to each their own.
Show HN: A solution to the broken IT recruitment
I’m looking for feedback from the developer community regarding the project me and my colleagues have been working on during the past few months.

As we all know, developers are heavily contacted by recruiters, who, unfortunately, often do not have a technical background. This makes it hard for them to deeply discuss the most inspiring parts of a job for a developer: What he/she is going to create to help the company, with which tech stacks he/she will use to master the challenge, and why the project is a technical challenge in the first place.

Therefore we aim to tackle the status quo of IT recruiting by reversing the order of contact. When CTOs and Tech leads are the first touch point, the discussion starts with the inspiring aspects and you’ll know immediately if the job is for you or not.

To achieve this we have built nexten.io – a platform obliging employers to let their tech profiles (instead of non-peers) contact developers who have registered and look for new opportunities. We have been online since April this year and have on-boarded more than 120 companies who agreed to let a technical profile do the contacting. Now we're working hard to improve the experience (with many tickets in the pipeline) and hope feedback will help doing so.

If you’ve read this far, I hope you’ll take a look. We’d be glad to know if our approach makes sense to you.
More Space for Big Ideas in Dropbox Professional and Business Standard
I'm assuming 'tens or hundreds of millions'
Well, by strings I meant 8-bit/16-bit chars (std::string/wstring). One "problem" with these string patterns is that they let the engine do more than mere comparison -- they let the engine actually enumerate all the characters in between. If I remember correctly, I've seen linear-ish-time regex engines (i.e.: I'm not talking about the backtracking ones you see in most languages, although they might sometimes do this too) take advantage of this by making lookup tables for the characters in an interval, and this clearly doesn't scale when you go to 32-bit or 64-bit "characters". They really have to implement efficient set intersection for large sets, which is possible, but I'm not I've seen them do this.

If you're looking for specific examples of "large alphabets", there's a very easy one in my mind, which is UTF-32. If you're looking for data that isn't a plain sequence of integers in any shape or form... I have to think back, as I don't remember what the use case I ran into was, sadly. I'll post here if I remember.
Study links depression to low blood levels of acetyl-L-carnitine
Thing is, there was not a single speculative mania in the history of humanity that didn't crash and burn. Some of those new industries eventually outgrew expectations, but universally they achieved this long after the original speculators lost most of their investments.
I thought that indicated REM sleep which is supposed to be the best type. (I heard that alcohol and pot do the opposite,so you have less refreshing sleep).
Nothing. Its a pretty common problem in sales. Lots of sales people are constantly moving jobs and pushing their numbers up.
I think OP is referring to the widely used CAT (computer-aided translation) tools that save every sentence you translate into a translation memory (XML file, known as TMX, usually) to be auto-inserted when those sentences (segments) re-occur. It can be a huge timesaver. Sometimes identical segments need different translations, so they still need checking.

Most of these CAT tools integrate machine translation at some level, either through their own engines or APIs. This is traditionally to save the translator time on the simple segments (numbers and their formatting, lists of countries, place names etc.) but can also be good for avoiding multiple dictionary lookups in unfamiliar fields. Obviously professional translators should avoid working in fields they are unfamiliar with, but there are always new terms and technologies to contend with.

https://en.wikipedia.org/wiki/Computer-assisted_translation

As for the incremental improvements decreasing, that's a tricky statement to make with AI/MT creeping ever more into the software translators use daily. Might be more representative of OP not exploring all new features in the software they use.
It’s closer to 15,000 in terms of PPP. https://en.m.wikipedia.org/wiki/List_of_countries_by_GDP_(PP...

But even 8,600 is high relative to the US in 1920’s when the economy was seen as booming. In many ways it’s the perception of wealth and a poor social safty net that’s at issue not resources.
I agree with you, but I think this makes more sense to someone in Europe where being multilingual is the norm. In the US, a lot of people only speak English which leads to at least two objections to this idea. First, and this is the objection I grew up with, many people see it as unfair to require everyone in the world to speak "our" language. And second, this is the one that concerns me more these days, is that being monolingual makes it harder to understand your neighbors even if they've learned the same language as you as a second language. In the US, we're extremely intolerant of people who have varying dialects or accents in English. In addition, if you don't speak a second language it's hard to be aware of which figures of speech and other idioms you may be using that make your own communication less clear.

Ultimately, I think we'll end up with English being the common language of humanity. We're already more than half way to that point in terms of geographical regions where one can communicate using English. And though it's not a perfect language, it's pretty well suited to wide scale usage since it's got a large vocabulary and relatively simple grammar. But I don't think having English as a universal language will be without problems.
US Michigan tap water pollutants exceeded 20 times and entered the state
If you have to create pw you want use one time and tell it to someone over the phone or use it for "Guest WiFi" network, I don't see why I got downvoted.

It is not like I am going to use it for my main email account.
Russian secret-spilling site https://dossier.center/ steps into spotlight
I would argue with programming languages that it's less bluespeak-esque and rather that they have a more or less one-to-one relation with the mathematical principles they are based on.

Often programming features end up with a math name (matching the element they are based on) and a developer friendly name which in some ways makes life easier (by separating high/low level discussions) and more confusing (everything now has different names which get used based on author/speaker preference).
Crossing the bounded context, events-first, the REST is not needed
Like many of you, our friends and family have been duped by third-party sellers on Amazon; therefore, we created a free browser extension called ReconBob.com that provides seller transparency. Try it and if you like it, please share, post a review, create a video. If you have suggestions or comments-please contact me. Right now, most of the reviews are from deceptive 3P sellers.

Amazon and third-party sellers profit from limited transparency and seller oversight. They make money from counterfeits, expired goods, used products listed as new and many other deceptive behavior.

You can read about the company behind ReconBob in Google Cloud's case study: 3PM Solutions: Using data to detect, remove, and protect against online marketplace fraud. https://cloud.google.com/customers/3pm/
The only problem I've found is that if you reject cookies form their main site it boots you to this homepage instead of whatever article you were on.
There is a semi-successful media campaign against studies published in "less than reputable" journals in Germany right now. Elsevier always features prominently as "a good example", while Open Access often is associated with "bad practices".

Geez, I wonder who might have paid for that campaign.
Sounds like the RIAA needs to do more campaign contributions. \s
> The entire OpenNMT system (with pre-processing, the authors note) has around 4,000 lines of code. The Moses SMT framework comes in at over 100,000 lines of code, according to the paper’s authors.

Although it probably is more compact/understandable, that's not quite a fair comparison since actively developed systems tend to accrue a lot of cruft for dealing with edge-cases and experiments and rewrites etc. Running `cloc .` on the current master of https://github.com/moses-smt/mosesdecoder gives 450963 total lines of code (153741 in the top language, C++), while the commit for the initial sourceforge(!) checkin 12 years ago, 32edb3d66, had 12200 total lines of code (2942 in C++, 5702 in sh). If OpenNMT has success, it too will grow in size :-/
https://github.com/arnoldrobbins/mcilroy-regex/blob/3cc2cb9c...
You can get it in Mercadona's sleeping pills.
NYC Subway Mess Caused by an MTA Typo
علاج مرض الصدفية
I don't doubt people will get pirated copies instead of using the paper versions, but the existence of the paper versions allows them to pretend they read the paper in a legit way. I'm not taking sides for that sort of behaviour or against it, just that I expect that will be the workflow.
Bandits are probably one of the most underrated machine learning algorithms. One possible application is recommendation systems. Shameless self promotion. I wrote an article about it: https://towardsdatascience.com/how-not-to-sort-by-popularity...
Nice use of CSS grid! Noticed special characters seem to break the site. e.g. …
Ironically the only thing complicated about Chinese is its tonal pronunciations and writing system. It's grammar and vocabulary are markedly easier than English.

Additionally, English has some horrific consonant/vowel clusters and minimum pairs.
draw.io – Open source interactive diagram building
The Chuwi HiGame PC is a cheaper, noisier mini gaming rig
Why are we blaming the employees when these kind of things come from high pressure management.

Everyone is aware the Elon works his employees to death at Tesla, SpaceX, and apparently SolarCity.

I feel like these tech companies are great for consumers and shareholders, but employees are worked like dogs to keep the profit flowing.
I don't make any health claims; however, un-processed salts, such as Celtic Sea Salt contain much more than just sodium. They contain many other minerals.

In other words, Celtic Sea Salt is more than just NaCl.
> because the JIT can perform optimisations which are impossible for the compiler

Is there an example of at least one such optimization? As JIT is not magic, it also compiles things ahead of time, but a little bit ahead of time and it is very constrained on how much time and resources it can waste. It also can't afford to slow down interpreter too much, can't do excessive profiling, can't do big changes to the code that touch half of all the functions and data structures for example, etc. While AOT can do that and I can't think of anything JIT does that AOT can't do.
You'll also find large alphabets quite difficult to deal with in an efficient DFA implementation. Naively, a large alphabet will either cause the size of each DFA node to be very large (a dense representation) or make accesses into the DFA transitions slower (a sparse representation).

For most DFA engines I've seen, they take advantage of "strings" themselves and define the alphabet to be the set of bytes. If you're searching UTF-8, then this also implies that your DFA must include UTF-8 decoding (which is generally the right choice for performance reasons anyway).

Regex engines with modern Unicode support do generally need to support efficient set operations on large sets though, in order to support the various character class syntaxes (which include negation, intersection, symmetric difference and, of course, union). Usually you want some kind of interval set structure, and its implementation complexity, in my experience, generally correlates with the amount of additional memory you're willing to use. :-)
Cheap in terms of multi million dollar hardware budgets.

1980: IBM introduces the first gigabyte hard drive. It is the size of a refrigerator, weighs about 550 pounds, and costs $40,000.

That’s ~1/10the the cost and 1/4 the weight they where looking for. You really could do vastly better in 1990. For ~2,300$ you could get a 700 MB HDD buy 3 and your talking 1.4 GB with redundancy for ~1% of his budget.

PS: If I extrapolate current trends and say we might get a self driving 400 HP Honda Civic in 2050. Then someone says sort of a Tito costs 3,000$ has 50,000 HP but nobody drives that under powered piece of crap. It would be a shift in how you think about things.
My own anecdote hints that it's even worse than just fake reviews... I actually just wrote a detailed multi paragraph 1-star review of auto parts I received from Amazon, with several photos, too.

They, Amazon, would not post it because they claim it doesn't "adhere to the guidelines".

The review was exactly as follows:

These are "SURTRACK/TRAKMOTIVE" brand axles, part numbers BM-8040 and BM-8041. I only installed the left side but since it didn't fit properly on my 2006 BMW 530xi I'm returning them. The OE part number is: 31607570275 and MFG part number is: BM-8041.

The problem was that the inner boot fits improperly and deforms/creases from being stretched when installed (see images).

Looking at the product images for this product on Amazon, as well as elsewhere online, you can tell the boot is very different from the product I received.

/end

Can anyone find anything that goes against their review guidelines in above?
Why wouldn't you expect a subscription to auto-renew?
Next year is in Heidelberg from 21 to 23 September!
> The Windows 9x line evolved indirectly from DOS

Not sure what you believe to be 'indirect' about that relationship. That Windows codebase started out running on DOS and ultimately wound up so closely coupled that they shipped together in the same box as the same product.

> Windows did not evolve from UNIX:

Windows, through its DOS lineage, does indeed have some roots in the Unix tradition. (This should be unsurprising, since Microsoft was one of the more successful Unix licensees in the early 80's.)

https://blogs.msdn.microsoft.com/larryosterman/2005/06/24/wh...

To put Cutler's dislike of Unix into perspective, DOS (and Windows) had close to a decade of development prior to his involvement. (DOS shipped in 81, Cutler got involved in ~88, his first product shipped in ~93, and the old DOS-based Windows wasn't fully deprecated until 2001-1.)
I used to work for Cogent Communications, this was common practice in customer service. Comstat scores are 100% gamed.

The Global Director of customer service has his managers change ticket parameters for two weeks around ticket closure so that only 'happy' customers get review emails.
Very nice and useful! I guess that's not your main concern, but when I tried to type some Hebrew characters the whole board disappeared (try שלום).
No, I was not talking about being reliable. I was talking about the stereotype of Brazilians being laid back (or even lazy).
5mg, sometimes I take a whole one, break in half or nibble. I'm not sure which amount I've taken when I get restless. That could play into it
It isn't? I thought it carried the death penalty...
> This is hard for me because screen is life.

I find that a pretty depressing thing to read.
Who are these poor souls paying out bonuses and commissions on unrealized revenue?
CppCon 2017: CNL: A Compositional Numeric Library
Just tried using this for a project last week. Whatever algorithm it uses for positioning nodes is terrible. You end up with a huge confusing spaghetti mess of a diagram.
I experienced this in Sweden. A Indian colleague was having a party for family and friends at x hours. I showed up fifteen minute early and most guest arrived 1-2 hours later...
The countries that have universal healthcare don't think that way. They understand that it's about economics: they offer the benefit, but they pay for it by levying heavy taxes on the middle class people who can't up and leave the country, and they ration it. (Even then, it's not sustainable, but that has more to do with their demographic problems.)