skysight-inc/HackerNews huggingface dataset:
I also write it in Vim, but a script turns a kind of markdown derivative of mine into HTML, inserts it into a template, which in turn is converted to PDF by Chrome.

I have most of the bugs sorted out, which fonts work fine and render selectable text, how to deal with a single pixel white line in a full page background image, etc. It works, but it's an ugly hack. I'm dreaming of writing my own PostScript someday. From my initial research, it seems to be not that hard really.
I fill CSVs and wrote a small python tool to add the totals and add VAT if needed, outputs a TeX file. Then a Bash file creates snippets for month/date stuff and numbering. If I had to do it again I'd just use Go's text/template system & CSV support.

Edit: oh sure, the bash script generates a numbered (filename prepared for tax filing) PDF with PDFlatex
Here's a fascinating thought.

It should be possible to write an archive file that decompresses to a slightly different archive file. Say, the original archive file plus a zero byte. (Things get hairy because of the checksum in most archive file formats, but it still should be possible.)

Then a malicious party writes an archive file that decompresses to two slightly different archive files. And sets it up so that, say, 128 levels in iff you follow a specific path in said tree you get to the actual malicious content. You can't get to it unless you follow the specific path, and you can't find it unless you do substantially more than just naively decompressing files (as you won't be able to decompress 2129-1 files).
I hate to say it, in this comment you come off as a little narcissistic, selfish and immature.

What was it you gained by this prank? At what was the cost to those around you?
I don't see what it will break? Sure you might get a lot of warnings if you upgrade (if I understand the proposal correct), but everything is going to work just as before.
Better yet: a file the decompresses to multiple slightly different versions of itself. Say, one that is a version of itself with an additional one, and one that is a version of itself with an additional zero.
I think one point that doesn't really make sense to me is the strict separation of R/C/I zones and the land plot pricing curve for them. Surely nowadays nobody wants to live exactly in the city center? And it makes no sense to put industrial zones in the city center either. Most rich people obviously live in suburbs and downtown areas are not very safe in any sense.

Also the strict separation of industry being external-orientated and commerce being internal-oriented seems way too simplistic and childish. Surely many industrial products also sell to the city itself, and many commerces are nationwide even international ones? Unless you restrict the definition of "commerce" to "things like local restaurants".

I'd say the notions of the game are maybe a kind of too old, and seriously any of these "reality simulation" games for extremely complex systems are bound to miss the reality by some distance. The same goes for Football Manager etc. Playing them for fun is OK, but taking them too seriously is bound to disappoint and frustrate you to no end.
I use PayPal for my invoices. I have yet to regret my decision.
I stumbled over an interesting cross-platform approach that even has been audited: https://whiteout.io

What do you think about it?
We usually discover something contains dairy via the migraine. But she can have organic dairy all day long. That's essentially blind, right? She's not willing to purposely inflict herself with a migraine to test though, and I don't blame her.
How to manage beta testers in Django
I was referring to the comment that family loyalties seem to be all that really count, not specifically traffic accidents.
JS;DR

Why does this POS website have an "opacity: 0:" style? What an idiotic feature.
It's not like I have it written down, but...

* Plato's Republic. It's not meant to be read alone, I think. Read it with a like minded group of folks a book at a time. Our discussions of this work still inform how I think of all the ways people form groups together, in more or less ideal forms.
* The Master And His Emissary. This book opened up the ancient worldview to me, and also gave me a strong rap on the head that "figuring things out" might not be the best way to navigate through life.
I inherited my wife's old iPad but very rarely use it. Just hate on screen keyboards. Maybe I'll watch something on Netflix with it, but that's about it.
I'm really glad to see the discussion really highlighting that this is not a problem unique to China:

“Our findings in China add another documented case to at least two other known instances of governments tampering with unencrypted Internet traffic to control information or launch attacks — the other two being the use of QUANTUM by the US NSA and UK’s GCHQ. In addition, product literature from two companies, FinFisher and Hacking Team, indicate that they sell similar ‘attack from the Internet’ tools to governments around the world. These latest findings emphasize the urgency of replacing legacy web protocols like HTTP with their cryptographically strong counterparts, such as HTTPS.”

sasvari: thanks for posting this – it's a great followup to the earlier blogs posts from the authors now that the dust has settled a bit and everyone has had more time to think on it:

https://citizenlab.org/2015/04/chinas-great-cannon/

(previous discussion: https://news.ycombinator.com/item?id=9353785)
Intelligent Car Project
Very clean and well-written codebase, I just spent an interesting 20 minutes reading your sources and I have been very happily observing your strict observation of smart rules and well-planned architecture. Well done on some cool code ..
Nice! Though when I gave up, it didn't show me the word. :(
I have successfully used wkhtmltopdf to render PDFs from HTML. Better than opening chrome and printing manually.

http://wkhtmltopdf.org/
>> The EU is winning this. It shows that it goes by the humanitarian principles it claims to have. Refugees fleeing from a humanitarian crisis are allowed to stay and to become citizens. People fleeing from a bad economic situation are not.

Actually the "refugees fleeing from a humanitarian crisis are allowed to stay" only if they manage to cross the borders which EU still works hard to close:

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

There is a reason why people must pay the illegal boats to reach Europe across the sea.
My messing around in high school was comparably minor. Our network ran Novell NetWare and I managed to discover that there was an unsecured Website that had a number of interest. Most of them were read-only with pretty boring info. However, there was also a messaging function that allowed you to send messages to any machine on the network that would appear as a popup. A couple friends and I messed around a little and I promptly forgot about it.

Turns out someone else had found out about this and decided to make use of the much more dangerous broadcast functionality. I can't remember the message that was sent, but I believe it involved some profanities against our principal. Of course they didn't think such a message could be tracked but it was. I think this person was only suspended for a few days, but the admin learned his lesson and secured things after that.
I was certainly at the tail end of smallpox vaccinations in the US (1972). Had a big scar on my upper left arm well in to my 30s. Reading up, they were stopped in 1972 altogether, and from what my mom told me, it was optional at that point, but the doctor she saw was a fairly older and more conservative chap who had a "better safe than sorry" attitude, so vaccinated I became.
Postscript is actually really easy. The language itself is RPN based (like the older HP calculators) and really fun to work with. Grab a copy of the "Blue Book" (do a google search for Postscript Blue Book and it should be one of the first links) -- it has a lot of good examples and exercises in it. Should take about a good weekend to get the feel for it, then just keep a copy of the function reference from the end of the book printed out.
I was in the same boat, ended up then getting iPad mini. It's great, but I wouldn't buy it again. I think I would buy a Windows tablet next, just for OneNote and making sure it had stylus support.
LibreOffice is my go to office suite. When I decided to stop using hand written invoices I decided to take a look through their template library and I landed on this.

http://templates.libreoffice.org/template-center/simple-serv...

I've been using it now for over 2 years and its been great.
> From 1880 to 1980, it killed a half-billion people worldwide.

And it caused 1/3 of all blindness. Eradicating smallpox is one of the greatest human achievements in protecting human life and health. I wish it was more celebrated and its significance more well-known. Smallpox Eradication Day should be a national holiday. Humans, by human hands, killed only HALF as many people as smallpox in the 20th century (that includes WWI, WWII, Russian purges, Great Leap Forward, etc.) Edward Jenner, who developed the smallpox vaccine, Donald Millar and the others who lead the eradication fight are truly among humanity's greatest heroes.
Today's web is ridiculous. It looks like if developers and designers are increasingly becoming a bunch of kids with delusions of grandeur and IQ around 50, living in total denial about reasonableness of their work.

Just imagine you're going to the newsstand to buy a newspaper, and instead you get a package containing blank sheets of paper, a microfilm scanner and a roll of microfilm, with instructions telling you to go home, scan the film and print the content yourself. You'd be on fire. You'd write to the publisher, asking them what the fuck they're doing. Even ignoring the additional time and money you'll have to spend printing the newsppaper yourself, it surely must be cheaper to print it all with industrial machines than making an equal amounts of goddamn microfilm and scanners for it! Economies of scale and stuff.

And yet this is normal on the web. Prepping content for client-side JS generation takes similar amounts of time (if not more) to just rendering the page on server. And then they have to send a) the content, and b) JS to render it, which takes more space than a rendered page, and then every client has to render it on its own. They're wasting electricity on every goddamn step of the pipeline, from servers through the network to the client. It's like electricity is free so they can all show everyone a giant fuck you, because hey, if it's free then let's waste it all.

Ok, I got carried away. But my point still stands. Dear JS-first website maker - I'm not willing to view your ads until you start covering my electricity bills for all the coal that got wasted on your idiotic client-side-rendering contraptions.
Show HN: I Love Your Dad E-Cards – Express Appreciation and Love to Your Dad
I really liked your article and it made me remember that no matter what someone (an authority figure in your case) says, there is always a way.
Is that necessary? Do try less hard, please.
Is there a reason 3072-bit or 2560-bit RSA keys can't be used?
Just read the second comment on the link you provided and you have the answer.
My first X86 machine running Linux was a 386DX/33 with 4MB of RAM. It booted the Linux 0.96 kernel (IIRC) just fine and I also used X on that machine. As far as I remember, I did have 16MB swap as well to make things actually usable, but the kernel itself would boot just fine with just the 4MB RAM.
If memory serves me right, it was actually possible to get the kernel to boot with as little as 2MB in those days, but that was the limit.

I remember a custom kernel compile on this machine took a little over 24 hours. :-/
when you type in words in alphabetic order, like "Ape, Best, Claim, Dumb", you get to "Rate, Start" and it says after Rate, and before Start. So it must start with R or S.
I'm a huge fan of https://invoiceatonce.com. Keeps it simple, and it looks nice for the client.
It does seem to be though. Quite some time ago, there was about a week of articles every day in most German newspapers about refugees doing good things. Like finding money and giving it back and things like this. It was so obvious.
Show HN: A serverless real-time feedback app using Parse.com and RealTime.co
During my ugrad 2005-2008, I had a convertible tablet pc and took most of my class notes using it in tablet mode. But it had a Wacom pen and no distracting touch input. And when I needed a keyboard, I could just flip around and have a full laptop.

To me, modern tablets seem like toys, except maybe the Surface pro (expensive). I have a Samsung Galaxy Note 8 and barely use it. The screen is uncomfortably small for taking notes, and the note taking software is exceedingly basic compared to the 13-year-old Windows Journal (which is itself quite basic, like a notepad for pen-input, but powerful enough to take decent notes and making drawings).
I'm not sure what you mean exactly but there are already differences between various .net languages there are things you can do with C# that you can't really do with VB.NET easily even simple things like bit-wise operators or the fact that you have literal control of overloads in VB which you lack in C# and the list goes on and on.

Since the languages them selves work quite differently the interpreter and the CLR can't really treat them the same way heck if you make something simple lika a hello world in VB and C# the MSIL won't be identical.

And with the current nullable support then currently supported Nulleable Type Values for VB.NET and Nullable Types for C# don't really work exactly the same way because they still need to conform to the specification of their language first and then to the CLR.
Yeah, I use my iPad all the time. I play a bunch of games on it, read Feedly/Facebook/Twitter/Tumblr, read books, occasionally watch TV shows. It's my go-to device when I'm riding the El. I have the iPad Air 1st Gen, and it's great. My girlfriend has the Mini, which I like more for reading, although it's not great for watching videos. I think they're about to get even better with the iOS 9 ad-blocking capability; that's certainly the biggest issue with browsing on mobile now.
Optimum Fish Oil enteric coated 200 caps softgels
It's public policy, not a car sale. There won't be any valuable guarantee for anyone.
RSA doesn't restrict key sizes to powers of 2, but powers of 2 are more optimised for implementation.

http://crypto.stackexchange.com/questions/7849/why-are-rsa-k...
If I understand correctly and this is similar to Postgres' functionality, this is really awesome for any calculated value (particularly anything expensive) that you frequently need to search on.

It makes inserts and updates more expensive, because the calculated values must be recalculated, but it can be an awesome win.

Hooray SQLite!
This is cool but when i gave up it said congratulations and didn't show me the word.
It was just for fun at first and also to air some real grievances about the school itself. It was supposed to be religious but it felt like the school was more about money, there were some other specific issues that felt like they were important at the time as well.

I really didn't mean to hurt my brother or family, still feel bad about it. I don't think the teachers took it too hard as I heard that some agreed with what was said and I don't think I said anything too hurtful about any of them, just honest really.

I'm certainly writing here in a somewhat detached manner as it does still bring up feelings and I could better explain with an entire blog post like the original story here. Maybe I'll do just that.
> Nowaday’s fast Class 10 cards achieve their high read and write speeds only by buffering in advance, assuming that the subsequent blocks will be read or written next. That means they inevitably sacrifice random read and write speeds. This effect is in the order of several magnitudes. For instance, a card with sequential read and write speeds of 10 MB/s might collapse to just 0.01 MB/s for random access.

Yow. Yet another example of over-optimization to benchmarks.

...Except that, even then, how exactly is appending to a log file repeatedly random access? Bad journaling?
Thats a fantastic visualization. Speed of light actually seems some what slow over such vast distances.
From one animation fan to another, that's one of the best summaries I've ever read!
Well you sure seem to think so, while everything pointing to the fact that they are just bringing the initial pilot to full capacity rather than developing or scaling the technology further.
Victorian-Era Portraits of Black British Citizens Revealed in a New Exhibiton
I found it useless until I bought one, being a musician I can easily follow chords on it. I use it too for web development (checking responsive design), Android development and Reading (very important as HN user!).
I hadn't spent a lot of money, it's a chinese tablet with same iPad specs.
There's no one measure for aircraft age. Flight hours, takeoff/landing cycles, and pressurization cycles are all measures that tell you different things.

The program I work on tracks flight hours, engine operating hours, and takeoffs/landings.
I'm never entirely sure if these kinds of comments are parody comments or not.
It seems to work fine for them. And with the apparently simple invoices, why bother making things more complicated by using a more complicated tool? If the invoices were complex, I'd agree that this method might be the wrong tool, but for simple invoices, it seems like a lightweight and fairly straight forward approach. So it can be considered a right tool for the job.
I picked up a Nexus 7 years ago but found I wasn’t using it consistently enough compared to my laptop or kindle, so I gave it the boot.

But last year I bought an iPad to replace by broken Kindle. Between reading and deciding to put more consumption apps on it and stop using those on my laptop – Twitter, Facebook, Yelp, etc. – I started to get more use out of it.

In the end I have a tablet out of convenience of separating leisurely activities from work ones. Other than that it hasn’t provided significant value for me yet.
OMG, how embarrassing for OP. This is what scares me about technical blogging. Messing up unknowingly in an area I'm not experienced in and getting scathing critiques from my fellow hackers. Keep your chin up OP and next time remember to do your homework. +1 for the effort anyways.
That's just embedded systems that have always been there though isn't it? Someone just stuck a marketing label on it.
I must have gone to a great high school. I actually hacked our systems a few times.

We used a piece of software to lock down the PCs, IIRC, called Fool Proof. I'm not sure if it was supposed to be ironic, because it didn't take long to figure out that it kept the clear text admin password in swap. The machines didn't have BIOS passwords, so it was pretty easy to boot into a hex editor and dig it out.

When my teacher found out I did this, he praised my ingenuity and even got me involved in vetting alternative options, despite the fact that I had been handing the password around to friends like candy.
http://www.wolframalpha.com/input/?i=N[Log2[Exp[%2864%2F9*Lo...]
That story would make a brilliant song.
Ah, the good old days. I remember in middle school when I'd set up my first webpage. I got my first and only in-school-suspension for going to that site during class. Just going to the website. I just wanted to see if it was up, since I had never accessed it from anywhere but home. My teacher's explanation was "It could have been anything! You can't go to websites I don't approve of!"

Now, this would normally have been something trivial I would have just shrugged off. But my computer partner also got in trouble for "not stopping me". What was he going to do, knock me out of my chair before I pressed enter? This kid was the stereotypical teacher's pet who always did his homework and was quiet in class, so I felt particularly bad for getting him in trouble. I even offered to serve two days of ISS instead of him getting in trouble - of course that request was denied.

To this day, I still cannot understand that woman's reasoning. How is "you could have done something bad," grounds for punishment? What kind of person feels the need to punish a child who's showing enthusiasm for a subject they're teaching?
https://www.adobe.com/devnet-apps/photoshop/fileformatashtml...
Adobe has made the file format available on the web, it's in the top three results from Google.
1201 days ago: https://news.ycombinator.com/item?id=4007229

461 days ago: https://news.ycombinator.com/item?id=7827828

This article reminds me of Schneir's article, [Are you sophisticated enough to recognize an Internet scam?](https://www.schneier.com/essays/archives/2003/12/are_you_sop...), where he talks about "semantic attacks."
Ah, school. I was suspended three times for various failure to comply with authority, got straight As anyway. College, high-paying tech job, no problems :).
Wait can you get this for Mac? I couldn't find it.

Edit: Apparently it's on homebrew but as "moc" (I was searching for "mocp" before).
SQLite gets better and better all the time. Considering that hard disks and memories get faster and cheaper as well SQLite is even becoming a serious option for handling "big data".

I use it in several of my personal and professional projects, especially in cases where data can be sharded well. The one thing that is a bit annoying though is the locking mechanism in SQLite, which prevents simultaneous writes to the database and locks it for reading while a write transaction is underway. If they could find a way to improve that behavior I think the use cases of SQLite would grow way beyond embedded application databases. Whether or not this is a good thing is of course a different question, but having a zero-configuration "plug-and-play" database engine could be a very attractive proposition to many people.

BerkeleyDB for example, which handles concurrent access much better than SQLite and also comes in a high-availability version is used in many production environments today, most notably as the backend of Amazon's DynamoDB key/value store.
> trusted websites like YouTube

...
The British Perfected the Art of Brewing Tea Inside an Armored Vehicle
A physics system good enough to support this is probably ~200loc. Probably less if you cut out everything extraneous. All it is is AABB collision detection+resolution, and then some update code.

I think the graph + graph algos would be trickier most of the time, but that could just be since I've written the above code many, many times.
> The results show a 2048 bit RSA key is equivalent to around 116 'bits' of a symmetric algo. Actually, 116.884, but since, you can't have .884 of a bit our JS implementation rounds down.

The number of bits is just the log base 2 of some complexity measure. You can certainly have half of a bit in this context.
Yes, that's the whole point.
This is much closer to random access than sequential access.
Counter question: How is appending to a log file repeatedly sequential access?

No meta data or other interaction required? Surely the sequential writes benefit from larger buffers?
Not to mention that the flash block is way larger than the appended message. You would need TRIM to not make that an extremely wasteful operation, not sure if the typical Pi installations make use of it but a quick google seems to indicate that it at least has been a problem. So writing that 1 kbit now means reading a whole block, edit the content of it, and writing that whole block back - which is hardly sequential either. 1 Mbit/s is starting to seem pretty fast.

The only pathological case here is the "not optimal sequential write case", which sure is enough to kill any random USB-thumbdrive or SD-card. Just copying two files two a thumdrive at once can kill performance by an order of magnitude compared to doing them one after another.
Very nice! Reminds me of a small project I did a while ago (minus the pomodoro part): http://binarymax.com/tree.html