skysight-inc/HackerNews huggingface dataset:
For the downvoters, you have to appreciate how stupid the whole is. Nothing was revealed we didn't already know. Republicans widely panned the entire thing.

Trump has already talked about taking on the establishment, and that's who this is.

He now has an excuse to fire if anyone doesn't do exactly what he asks.
Antarctica Just Became the Best Mapped Continent on Earth
Without doubt Kyle Simpson’s You Don’t Know JS. I am going to say not only is this the best book on any programming language, but that it completely changed my understanding of what a teacher and a good intellectual is.
Oh! I didn't realize I needed to specify anything before clicking "Generate". That could have been why.
I think the editors likely worked the content over as well to mix multiple styles into it, which would make analysis like the OP difficult or impossible. If you know people will analyze content using common tools, you can too and keep mixing until its too fuzzy to be id'd.
The question is - if you think problems from all this are going to occur, what is the place to be in from an investment standpoint? I see a lot of handwringing but not a ton of action and advice.
They do, but is it searchable?

The best solution I've found till now is to just create a text file with the same name as the pdf.
What are you talking about? I've been using a similar homegrown setup for many years and never had any issues. In fact, I've come to appreciate being able to write directly on my Mac shell scripts destined to run on Linux boxen in production.
They say they didn't, but that doesn't mean the author didn't do it themselves.
When I was at the UCs the percieved ranking among students was:

Top tier: Berkeley and UCLA, for sure

Second tier: most of the other ones; people love to argue about the order, but honestly most of them don't stand out above the others except for certain degree programs

Bottom tier: definitely includes UC Merced, and maybe UC Riverside

UC Merced opened in 2005 without many degree programs and faculty, and it's slowly growing. So its poor ranking is due to that more than anything else.
It's perfectly fine to say "this is an impressive project. I don't understand why it couldn't be done in Python. I would love for someonet to explain that to me. Thanks!"

It is not necessary to dismissively declare that some substantial piece of work could be implemented better in just a weekend.
The Anna Key-Value Store Now Has 355x the Performance of DynamoDB for the Dollar
Have you considered parsing .gitattributes and offering support for reducing files marked as "binary" down to a "binary file matches" notice?
Pinboard has an archive option at a higher subscription level.
It's totally OK not to like Mail.app, of course, but I'll still posit that you choose to use Gmail in your browser. You don't have to. You do have alternatives, but prefer your current multi-browser workflow.

Again, that's perfectly alright! Just remember that if you reach the point that you can't stand it anymore, you do have other options available to you.
I'll add a +1 to your list. I'm now in the fortunate position of being able to sit anywhere in the US or the EU and work, and I'm sitting in the US.

Pro: The weather is fantastic. Running a sole proprietorship is easy.

Con: Everything else. I'm absolutely not growing old in this place, and I will definitely move back to Europe before I retire.
I want an invitation to lobste.rs now!
I tend to reach for Firefox's dev tools (or a node REPL) more often these days. Firefox has a much better CSS editor. I will run some dev tools in Chromium but avoid it for browsing.

Once I saw that my account was linked to Chrome/Chromium without my permission, I cleared everything out of Chrome and stopped using it as a secondary browser. My secondary browser is now a separate Firefox profile:

alias ff='firefox -ProfileManager -no-remote &'
convert all the world's news articles -- past and present -- into unbiased, verified data

What is 'unbiased' news?
A cool aspect is how this algebra/calculus sheds light that maps(/dictionary/associative-arrays) have an equivalent cardinality to functions and that they are in many ways the same.
Cool, people are still using Brewfiles!

I hacked it together over a few hours and all of my original code has been completely replaced (and moved to its own repo, no less), but it's really cool to see people still using that feature.
The gdpr agreement form on websites usually requires you to enable 3rd party scripts and cookies otherwise you get hit with endless popups about it. Someone should make a browser extension that automatically denies every gdpr popup.
Here’s a tip - Tesla’s domination is only 80% due to the vehicle. The remaining 20% can be summed up as “minimize the pain in the neck that owning a car usually is” - the buying process, the maintenance, the warranty, the mobile app and the massive supercharger network.

And yet no manufacturer so far has been willing to even match the last 20%, let alone exceed it.
I love the idea, but is this a little bit overkill if you just want to mirror your bookmarks? There's several simple spidering tools out there that you could change the User-Agent on in order to get mobile or desktop pages, and then you don't need to maintain or run any servers or special tools. I would export my bookmarks, run a cron job on them with a spider tool, and commit the result to Git.
> given the stress and low pay, it seems a decent chance you'll end up in the same place you started.

Perhaps a solution would be to increase class size and increase teacher pay. Singapore has one of the highest student achievement levels in the world with an average class size of 36 students [1]

[1] https://www.economist.com/leaders/2018/08/30/what-other-coun...
$ files | narrow \.rs$ | narrow '!tests' | xargs cat | nlines
4251

It's 4k lines of Rust. Shedding the static typing nonsense will get rid of at least 25% of that. Writing it in Lumen will buy an extra 2x in productivity. And there's nothing to discover; the algorithms are right there, and my claim is that they will run nearly as fast in a non-statically-typed language. I don't think the weekend claim is that outrageous.

You don't like putting on a show for a crowd? It's one of the funnest things.
I feel like we are talking past each other. I'm fine with life story articles/books. I've even read the full steve jobs and elon musk books. However, the title is "Amazon’s Antitrust Antagonist Has a Breakthrough Idea". That alludes that it is about the ideas of the person and not a life story of "Amazon’s Antitrust Antagonist". I spent like 10 minutes reading through this long article trying to figure out what these ideas were until I finally realized it is not actually about this person's ideas and just a life story which is not what the title suggests and what I am mad about.

It is not that it is a bad article, it is just that it has a completely misleading title based on the actual content of the article.
>But the whiskey was ok with you? Should CEO's have to hide their recreational drug (of which alcohol is a subset) use?

Yes, given the fact that weed isn't federally legal and the fact that it could compromise SpaceX contracts with the air force it shows a shocking lack of judgment. It looks like he's coming unglued.

Until weed is actually legal federally, it's absolutely insane for the face of such a large company to take that risk.

Not a moral judgment, just a legal reality.
Faster than xsv?

AIUI, both sqlite and xsv rely on the OS filesystem buffer cache to keep their data in memory.
In Japanese publicly funded schools, teachers change schools every 3-5 years. You are supposed to change at least every 5 years, although some teachers are allowed to stay at the same school for a long time in special circumstances. I taught at the local high school 10 years ago and today, apart from 2 teachers who have been there for 30 years, I don't know any of the teachers. Even the principal, vice principal and even the office staff change schools.

As a student you normally you have a "home room teacher", who is responsible for you. As much as possible, that home room teacher does not change for the duration of your school time (at least in junior high school and high school. I'm not sure about elementary school). So you start in your home room in grade 10 and you have the same home room and home room teacher until grade 12. Occasionally they have to split up some classes if there are problems. Occasionally they have to replace a home room teacher (in case one gets pregnant, etc). But as much as possible they try to avoid it. This provides stability to the students.

If you are a new teacher to the school, you might take the first year not having a home room (or filling in for a departed home room teacher for a year). Then you go to the grade 10 group, you get a home room and you look after it until they graduate. You will either move to another school at that point, or you will spend one more year filling in, or taking a break from having a home room (it's a lot of extra work).

The schools in Japan are ranked. As a teacher, your performance is evaluated. As much as I don't like the criteria for evaluation (usually if your students do well scholastically, then your get a good evaluation), I think it's a good system. If you get a good evaluation, you move to a higher level school. If you get a bad evaluation, you move to a lower level school. Certain good teachers (and administrators) are selected to become the department heads in the low level schools. Their job is to improve the poor performance of the teachers. If a teacher falls off the end at a bad school, then they are usually fired. The school I worked at was one of those "last chance" schools and a few teachers I worked with ended up being fired at the end of the year. Unfortunately, due to a huge under supply of qualified teachers, those teachers (who are unbelievably bad -- trust me on that), can easily get work on a contract basis for a year at a time. But they lose at least 30% of their salary, a lot of benefits and job security.

I think it's a good system, though it's hard on the teachers because you are always commuting a lot. I live in a rural area, so some teachers have to drive a few hours a day to get to work. In the big city it's easier, because there are a lot more schools in a small area. Still, even if you have a big commute, it will only be for 5 years, and they offer subsidised housing if you need it.
> while the average life expectancy for men is 66.4 years

This is however life expectancy at birth. I.e. if you're born today, in average, you'll live to 66.4 years. Comparing this figure to pension age is not very useful, since this figure is heavily influenced by infant mortality (and also by registration practices for live births), and infants do not contribute into the pension system and if somebody dies in infancy, it doesn't matter what the pension age is, they wouldn't have a chance to benefit from it.

Properly estimating how the reform would influence people requires looking at life expectancies at more advanced ages - e.g. at 42 it's 27 years, and at 60 (current retirement age) it's 16 years. It's still a significant change, which people can be rightfully upset about, but making it sound like average person would just have little more than 1 year to live after 65 is wrong. More correct figure is almost 13 years.

Sorry for somewhat offtopic comment, but using life expectancy at birth to make conclusions about people of advanced age is just wrong IMHO.
Here's an example using csvkit:

$ time xsv stats --everything /tmp/nfl_all_plays.csv > stats.csv
real 5.723
user 14.390
sys 1.914

$ time csvstat /tmp/nfl_all_plays.csv
^C after 2.5 minutes

Here's the data: https://burntsushi.net/stuff/nfl_all_plays.csv

It's only 74MB. Let's take a smaller slice to see how long csvstat really takes. This is just the first 10,000 records, which is ~3MB: https://burntsushi.net/stuff/nfl_all_plays_small.csv

$ time csvstat /tmp/nfl_all_plays_small.csv > /tmp/stats.csv

real 1:01.85
user 1:01.70
sys 0.103

$ time xsv stats --everything /tmp/nfl_all_plays_small.csv > /tmp/stats.csv

real 0.308
user 0.576
sys 0.071

Now technically, csvstat is doing more work in that it seems to be computing a frequency table as well. But we can just do the same for xsv and add the time, with the knowledge that it would be faster if it were coupled into `xsv stats`:

$ time xsv frequency /tmp/nfl_all_plays_small.csv > /tmp/frequency.csv
real 0.251
user 0.187
sys 0.063

Now let's see how xsv fairs on a much larger sample, which is just nfl_all_plays.csv repeated 10 times and is ~800MB:

$ ls -lh /tmp/nfl_all_plays_huge.csv
-rw-r--r-- 1 andrew users 806M Sep 8 20:34 /tmp/nfl_all_plays_huge.csv

$ time xsv index /tmp/nfl_all_plays_huge.csv

real 2.041
user 1.876
sys 0.163

$ time xsv stats --everything /tmp/nfl_all_plays_huge.csv > /tmp/stats.csv

real 28.336
user 4:36.45
sys 24.212

$ time xsv frequency /tmp/nfl_all_plays_huge.csv > /tmp/frequency.csv

real 6.077
user 1:16.51
sys 1.873

That indexing step lets xsv do its processing in parallel. Good luck doing that in Python without blowing your memory budget. :-) csvkit would either take hours to handle that much data or would more likely run out of memory.

With that said, I was able to write a Python program that just counted records within an order of magnitude of `xsv count`, but it was still a few times slower.
If it were me, I'd make an outline and have my spouse write it (assuming I had a good relationship with my spouse).
Saw that for the first time yesterday. Was really, really off-putting. Felt like the website I was visiting knew about all of my Google accounts.

The Chrome Dev team is off the rails.
Developer mindshare.
Haha I wish I just had two. I have 6 separate accounts, 4 for various businesses that I use regularly. I have a particular order I have to log into them when setting up a new chrome install so that all my bookmarks work with their respective accounts (&authuser=1, &authuser=4, etc) in things like google cloud console, google domains, gsuite etc.

Note: for actually checking my email, I have ended up using mailspring.
You're correct DNSSEC and DNS-over-TLS/DoH (DNS-over-HTTPS) both provide different, and necessary, aspects of securing records in DNS.

DNSSEC == authentication of records.
DNS-over-TLS/DoH == privacy, and authenticity of the server/client.

Both are independently useful and enforce different things for us. The biggest issue with DNSSEC is that since it's not been widely adopted, what should you do with records that either are not signed, or are incorrectly signed? Most software doesn't really have a great way of raising DNS issues to the application in a way that users or something else could provide a security exception.
It is unlikely that I will uninstall it. It's a great way to talk/connect with friends within the US and outside the US. The ease of making a group chat and and group event surpasses a lot of the all-in-one apps, as if there are any, when there are greater than 5 participants.

With privacy in mind, the content you disclose is optional, and you can manage those content that you do disclose to see who can view them. I do not see how location tracking is a concern, and there is an option of not allowing FB to obtain your number and contact list.

For me the convenience surpasses the privacy given up, and I'll continue using it as long as my friends do.
Why data culture matters
The only problem with that is, then I’d have to do something else. And that would suck.
This is mostly because hybrids have brought the car averages up enough that they can now sell larger "cars" without blowing their targets.

And crossovers are cars. A Subaru Forester used to be called a station wagon, now it's a crossover.

Most of them also have a similar power to weight ratio to a 1980s 5.0 liter V8 Mustang, so I still don't see the argument that people stopped caring about performance.
https://github.com/attic-labs/noms

Import two snapshots of data like this:

csv-import --dest-type="map:0" dump0.csv /noms/mydb::data
csv-import --dest-type="map:0" dump1.csv /noms/mydb::data

Show difference between the two snapshots like so:

noms log --max-lines=-1 /noms/mydb::data

See also the `noms diff` subcommand.
I run a dedicated site-specific browser instance of Chrome for Gmail. That way I don't need to stay logged into Google for any browsing I do in my main instance of Chrome.
Running quantum algorithms in the cloud just got a lot faster
Situs Judi Qq Online Dewa99 Uang Asli Terpercaya
Mm, using someone else's parser would defeat the spirit of the challenge. I think xsv is worthwhile for being a robust parser, not necessarily for its performance. And my claim is that you'd be able to write it faster, without trading any security guarantees, in Lua, without sacrificing much performance.

There's that pesky word, "much" performance. And that's really the interesting part here. How much would you trade away by shedding Rust? My hypothesis is less than 50% additional overhead.

Thanks for providing a dataset. I think LuaJIT will match these stats, and it's a good baseline to start with.

But yes, the CSV parser is around 15k lines. That'd be the trickiest part.
This is a big reason why people buy SUV's. That, and the belief it's safer since momentum is mass*velocity, so the winner in a crash favors the heavier car. I think we need some more taxes to punish the externalities of driving taller/bigger/heavier vehicles.
First of all, take a look at Cargo.toml for the list of dependencies; repeat recursively. Projects like xsv and ripgrep are modular, with many components that others can and do reuse.

Second, lines of code hardly gives any but the roughest idea of how hard something would be to write, and write well.

Third, interesting that you're not counting the test cases; after all, if you're not doing any static typing, surely you'll want more tests...

Fourth, hey, as long as you're getting rid of the "static typing nonsense" you might as well drop the error handling and comments while you're at it. More seriously, though, type signatures and similar are hardly a significant part of the lines of code of the average Rust program.

But in any case, you've already seen the replies elsewhere in the thread inviting you to try if you feel confident you can do so.

> You don't like putting on a show for a crowd? It's one of the funnest things.

You're certainly showing the crowd something about yourself. Whether it's what you're intending is another question.

If you want to write a replacement or alternative for a tool, especially as an exercise in learning something, by all means do; it's a fun pastime. You don't need to dismiss someone else's work or choice of language in the process.
>and what it amounts to legally is a written admission of high treason, a felony punishable by death.

Here is the legal definition of treason in the US (at the federal level).

"Treason against the United States, shall consist only in levying War against them, or in adhering to their Enemies, giving them Aid and Comfort. No Person shall be convicted of Treason unless on the Testimony of two Witnesses to the same overt Act, or on Confession in open Court."

Nothing in that letter comes close to fitting that definition.

> He effectively ended the entire Manafort/Cohen news cycle overnight.

The Manafort Cohen news cycle was already ended by the Woodward book preview. All this letter did was make the accusations in the book look even more plausible.
> They do, but is it searchable?

Yes:

Acrobat searches the PDF body text, layers, form fields, and digital signatures. You can also include bookmarks and comments in the search.

https://helpx.adobe.com/acrobat/using/searching-pdfs.html

Other PDF applications do it too.
I regret how I phrased it. Thank you for writing to your MP; you are part of a very small minority and I appreciate your effort.

Consider the comment only aimed at those that don't take action.
DARPA Announces $2B Campaign to Develop Next Wave of AI
Show HN: Yime – Inverse of Google Calendar
Hey guys!

We're building Yime. It's basically a way to let your friends see when you're free this week and hit you up with potential plans. And even make group (squad) plans. Easier than texting everyone and trying to figure out when everyone is free.. and never actually come around doing that. App would let you pick friends and find common free time as well.

We're close to launching very basic MVP. I'd love to hear any thoughts as well.

https://yime.app
My productivity doesn't come from writing software. It comes from reading its code and maintaining it. You can pry my types out of my cold dead hands. :-)

How long it takes you to do this largely depends on how much you can leverage your language's ecosystem. If you don't have a robust and fast CSV parser already written for you, then you'd need to sink many weekends into that alone.
Genesis' mellotron would break down with enough regularity that they came up with a routine to perform while the technicians fixed it. I forget the specifics, but it involved a story from Gabriel and a one handed drum solo from Collins. You can hear it on some bootleg recordings from the 70s.
I have the same thoughts when seeing comments like "I switched to VSCode from Vim and I couldn't be happier".

Almost all software development articles on HN are feeling more like advertising than honest opinions nowadays.
In your example you started at 1/3 (33.33%) and moved to 58/210 (27.62%). What does this limit approach ad infinitum?
If it sounded like I was dismissing someone else's work, you're reading too far into it. Who would be silly enough to dismiss a tool from the author of ripgrep?
Except you reach the point where it talks about Apple and you start doubting every other single fact in it:

"Apple Computers is a famous example: it was founded by (mostly Republi­can) computer engineers who broke from IBM in Silicon Valley in the 1980s, forming little democratic circles of twenty to forty people with their laptops in each other's garages."

(Copy/pasted from web, but matches my memory of reading the book, so pretty sure it's accurate.)
If you took it, can you please give it back?
If you remove the requirement for "strongly opposed belief", this explanation neatly dodges the standard objection to psi that if something so obviously evolutionarily adaptive is possible, why doesn't everyone have it? In this explanation everybody does have psychic power, it's just that some are aimed purely at shutting down other powers. In a zero sum competition, preventing your opponent from gaining an advantage is the same as gaining an advantage for yourself. Does anybody know of any fiction where humanity is split into a stable equilibrium of psi and anti-psi?
Most politicians are lawyers or community organizers. They don't understand technology. Think about some aspect of the world you don't understand, like crop fertilization or NASA probes. That is how ill-defined the world of tech is to the majority of our policy makers.
Debt isn't valuable, investment is.
> My standing solution is to use one browser to log into big-G services, another to log into FB, and a third for everything else.

Check out Firefox container tabs.[1] You can isolate sites within one browser and save the associations between containers and tabs.

I use container tabs along with multiple Firefox profiles (for different combinations of browser extensions).

[1] https://support.mozilla.org/en-US/kb/containers