skysight-inc/HackerNews huggingface dataset:
> I prefer writing markdown to html.

Really? Well, this is just personal preference. I actually find html clearer for very simple documents. There are so many different markdown flavors that it is in practice rather ambiguous. You cannot easily copy markdown text from one conntext to another. For html, it is much easier.

> I want an automatic table of contents.

That's a really good reason, and probably the only reason that i can imagine to use generators.

> Source code highlighting is nice too.

I have been beaten not once, not twice, but three times by silent changes in jekyll setups that changed the rendering of my code (so everything looked really bad, with negative red blocks, etc). I hated this so much, and was so enraged, that I converted all my documents to pure html and now I am much happier. The reasons for the changes that broke my pages were completely banal ones, like moving from pygments to ruby-whatever (or vice-versa), etc.
It is generally slower and much more predictable and regular
The Sims 4 CD Key Generator
iOS is different in a subtle way: once you grant an application permission to use location/microphone, it will show a banner if a background app is using it.

Once you grant e.g. permission to access the microphone to an Android app, it can do so at any time without you noticing. Until you manually go to the settings and revoke the permission, that is.
Yes I'm aware of that :-)
It's mentioned here too : https://jekyllrb.com/docs/themes/#converting-gem-based-theme...
In fact, I have added that as an update on the post too.

I can't see why someone should use gem-based themes, when eventually they'll need to dump the entire code into the Jekyll project.
We have a semantic disagreement. I'm saying startup means something different to people in SV and on HN than pizzeria or local accounting firm. A better term for those is SMB: small and middle size business. And for startup, we reserve the idea that it is an organization in search of a business model that intends to grow very quickly. Neither is true of most SMBs. They are copying well-known business models and content with not scaling.

> Legislation finds a balance between business development and quality of life for its people.

This is a naive view of legislation, if only because there are many more interest groups than "population" and "big business". Legislation does not find a balance. It is the product of a complex process whose results are unpredictable, and it is heavily influenced by both the permanent bureaucracy of the state, re-election-seeking lawmakers, and all of their donors. Sure, big business is one of the donors, but money does not map directly to votes.

> For decades, legislation has been skewed in big business's favor, leading to an incredible spike in income and wealth inequality. While immigration reform isn't what's best for business, it is in reaction to a growing need to help our middle class again.

Immigration benefits many SMBs and society as a whole, including the communities that wouldn't have doctors if it weren't for immigrants. Big business is not the driving force behind encouraging immigration -- it's a cross class, cross-sector issue. That said, when economies go wrong for other reasons, marginalized voters tend to blame immigrants for lack of a better scapegoat. Even if you accept that immigrants are the cause of citizen's being out of work in America, which I don't, no one thinks that they're taking middle class jobs. The immigrants vilified in the news fill working class and service class roles in construction, cleaning, ag and food service. These are actually jobs that US citizens tend to avoid. But they like blaming fictional brown people when Fox news stokes the flames.
You might have to be using the older Dropbox/iCloud sync method rather than a 1Password.com account. It’s definitely there [1] if you do.

1: https://i.agilebits.com/megan/sync_location.jpg
Top Movies
but that's exactly the purpose of HTML and CSS

an <em> emphasized </em> word

and then you style the tag however you want. You just change the .css file, no need to rerun anything.
Understanding the Python GIL [pdf]
Which VPN provider are you talking about?

Are you sure that it is not just NTP servers being served via DHCP once the connection is established and your computer trying to use those provided by your VPN?
The difference being that all c++ code is 'unsafe' in the rust sense, whereas a typical rust program will have only a small portion of unsafe code (or none), making it easier to fully validate - hence 'doesn't really have this problem'.
I almost always write the major steps as comments (beginning with 'TODO:') first and then do the implementation once I'm satisfied that I know what a good solution looks like. Over the years I have had the misfortune to discover way too many functions that just were 50% implemented or simply did something that was not at all what they were supposed to do.

I don't doubt that conscientious developers can arrive at good code however they prefer. But there are a lot of people out there who will start with a quick and dirty implementation that they then debug into a more or less functional state. I see a push towards making people stop and take a moment to think about what they are going to do. Test-driven development is another tool to achieve that end.
Ask HN: How was your experience switching from product development to pre-sales?
I've got about a dozen years of Java and C++ and am currently in talks with a company for a pre-sales position. I have always had a job with lots of software design and development, and so I am a little apprehensive about jumping to a role where the focus is in selling the already finished product.
Can't recommend this project enough! Used it on several projects with great success. Plus the maintainers are amazing!
Why not just Postfix or Exim? (Postfix should be easier to use.)
Software is a long con
'Amazon Effect' Leads Investors to Sour on Retail
I'm a bit puzzled by the statement “But the team says there's no reason why the technology couldn't be integrated into standard mobile network infrastructure”

There's obviously many reasons. Transmission range, security, privacy, reliability, ...
How consumerisation of IT leads to content integration
The challenge of attribution by IP address
Yep. Before the ACA passed, 50% of my claims (of which I had many) would come back denied and I had to go through and appeal all of them. After the ACA, no denials.

However, the actual prices have gone through the roof. Before the ACA, the total amount paid to Labcorp for some bloodwork was about $28 a few years ago, same bloodwork today I get a bill for $300. This year I needed some labs where my doctor normally charges $60. However, there was one test he couldn't do and I'm a hard stick, so he told me I should just get it all done at the hospital. I know hospitals are expensive, but I figured paying another $200-300 would be worth not getting stuck twice. When the bill came it was $1150 with the special test only being about $30 out of the $1150. Insurance never would've allowed this rate before but now they're incentivized to make prices higher.
> I agree: there are no rules in a language.

Really? Isn't that a bit broad? It may be half true for some languages but definitely not for all.

For example in Germany we have the "Der Duden" which is not only a dictionary that defines the correct spelling of words but also contains a huge set of grammatical rules. It's still the de-facto standard for correct language in German.

And even in english you'd probably agree that there are some rules, e.g. when it comes to the correct spelling of words.
Hi Thomas. Thank you for sharing your story. I'm sorry about your brother. I'm going through a similar situation with someone very dear to me, and I'm wondering what will happen to them. Would you have time for a quick chat or phone call? My email is in my profile; please email me if you see this.
Statebus: a Synchronized Web
Photo and Video Mirror Editor
> There's probably a German word for that

As a boring compound there is Schneeregen (snow-rain), but there is the shortened "Schnegen". Although the latter isn't used as a noun often, more commonly as a verb ("es schnegnet")
I am ready to accept a better definition, but I have not seen one.

Why do you need one? Why not just accept reality as it is - that reality simply doesn't match the simple, "everyone is a man or a woman" model? Sure, sometimes reality is just too complex to work with and we need to create a simplified model of it to work with, but this really isn't a complicated concept.

What are you talking about?

I'm talking about the wider problems caused by refusing to accept reality; gender segregated facilities, for example, that cater only to those who fit neatly into a binary definition. Problems caused by legislating, for example, that the only acceptable genders of record are "male" and "female", and in doing so excluding people who don't fit. Those kinds of problems.
Indeed, so give me the option for that. I don't mind paying for software. Hell, I used to pay for my browser. Or, you know, stop dumbing it down in the first place.

When you design for the lowest common denominator, you get users that are the lowest common denominator.

I get it, it makes good financial sense. However, those of us with an IQ higher than room temperature are left out in the cold. You had those options in there - you took 'em out. Put 'em back.

Joe Sixpack will learn and improve. You'll get better and smarter users. You'll get users more confident and needing less support. Take an extra day and write good help documents, put the options back, and give ol' Joe a web form to query the FAQs.

Ol' Joe will figure it out. I did. Joe can figure it out too. We all did, back in the day.

If you don't give them incentive to learn, they're not going to learn. You're stuck with dumb users - forever. You don't want that, do you? Do you really want to have to keep telling Joe how to set up his email client? No? Well, give Joe incentive to learn how to set up his email client.

When Joe calls your helpdesk line, say, "Hey, Joe - did you read the manual?"

Give him a reason to mash those buttons until he becomes an expert button masher (also known as an admin). And, if you can't train Joe, you can use some pretty neat tools to lock his PC right down - and only let him do what you want him to do. If it's his cell phone, well - that's what he's got the restore option for. Ol' Joe will quickly learn to push buttons, fix his own problems, and actually understand what goes on inside that magic box - at least a little.

Seriously, we did this for decades. User friendly is good, but it's gone too far when there aren't even configuration options, a close button, a home button, or a help file.

DId y'all forget how to write help documents? There's some great examples out there. You can crib from those.

I'm not kidding about VLC pretty much having it perfect. Load up VLC and have a look in the options.

Open VLC > Click on Tools > Click on Preferences.

Once you're there, have a look around. That's pretty great, right? It's not too overwhelming, now is it? That's not the best part.

In the lower left, click on "All." It's right next to the Simple option - simple, like Ol' Joe. Click on that button and then take a peek at the options. It's a virtual cornucopia of button goodness. It has options for things they're probably just making up as they go along.

It's pretty much perfect. Even a plain text editor should have options like that. While not a plain text editor, LibraOffice is actually another example of a fine set of options. But, VLC gets it just about perfect.

Ol' Joe can still have the Simple options. Ol' Joe probably hasn't even got to touch them, as it comes with sensible defaults.

VLC could be the goal, not the Facebook app for Android.
> category theory, logic programming, LISP or writing functional specs

But does it fix my problem? I'm sure category theory is interesting for it's own sake, but it won't help my boss add this extra attribute to our product, so it won't help me get paid.

Given that I've already added fifteen form fields this week, my mind is too overburdened to care much about category theory, which will have exactly zero relevance to my next week of adding form fields.
If you're looking for a free resource, I found the Style Manual by the U.S. Government Printing Office a helpful reference on how to write and typeset things in English.

https://www.gpo.gov/fdsys/pkg/GPO-STYLEMANUAL-2008/content-d...
How to Study Physics (1949)
Assuming just the internet and SMS/MMS were disabled, most smaller companies would fall back to calling and faxing eachother. Esp. among wholesalers, faxing is still very popular.

With regard to voice auths, I doubt the state would have their hotline go down, rarely do they use the public internet to backhaul calls.

Most credit card processing is over IP. Chains like Kroger (and their 200+ subsidiaries), Walmart, etc would not be able to process cards. A small double digit segment of small businesses would fail over to processing over phone, but most Verifone and FD terminals have dial disabled.
Grundig’s vision of the future contains an oven that makes your food cold
Noticed that too when i re-read it, I do not work there and are not related to them in any other way than hosting my blog there. But I like their service and dont mind promoting it :)
I don't know. I think the problem with software is that as we become able to do certain things with it, people realize they can do that and then want to do more.

Ad infinitum this adds up to hopelessly complex software.
Playboy Founder Hugh Hefner Dies at 91
Data-driven insights and visualizations on AI leaders
Common sense isn’t that common
The largest chains would suffer the most. They don't train their staff on how to handle outages, and most are centrally managed, soviet esque command companies, with local store managers & staff not having the skills to price or order inventory. Some chains don't let anyone at the store level do pricing or promotions at all.
It's PureVPN.

I'm not 100% sure about any of the ntpd connection requests, they're not predictable in their appearance. Some sessions are very quiet (zero requests), others I get a bunch of incoming connection requests for smbd, and other odd things. I really should start taking notes rather than just deny the connections.
I'm concerned about the lack of type annotations. What about XSS prevention? Maintainability? An API? How are people supposed to use this code in future projects? Your variable names don't conform to Code Complete. This code smells funny. Haven't you read clean code? And I don't think it's general enough. What if people want to add columns, but preserve formulas? What made you think you shouldn't use React for this? At least Vue, come on.

ah, if only we could all code just what we needed, instead of over-engineering solutions to problems we wished we had
Useful article! There's one thing you didn't consider: Charging temperature. Lithium charging temps are typically 0 degrees Centigrade. Any lower could damage the cells. NiCd is a bit better and there are some low temp NiMh but for the ultimate go with lead acid. They are not small but there are cells the size of a D battery.
> What used to take a whole family to farm is now nearly entirely automated, causing food prices to continue to decline

I don't see the immediate causal relationship between these: cars are semi-automatically manufactured, but the price of cars hasn't declined anywhere near as much as grain/commodities.
“Hey guys!” he said. “So it looks like there’s a crew of Russian bridge destroyers with hammers and lighters who are running around in the middle of the night setting fires to bridges and knocking off braces with hammers. They started in Ukraine but they’re spreading around the world now, and we don’t know if our bridges are safe. They’ve studied bridges carefully and they seem to be good at finding where they’re most flammable and which braces to knock off with their hammer.”
I used the 'notes' app on my 5s for about 6 months before I realised it was secretly sending everything I typed to my Gmail account.

Why is this even a feature at all, let alone a default one? Why didn't my phone notify me that this was happening? I've since disabled it (and scrubbed the emails), but it's still the biggest breach of privacy I've ever experienced on a device.

I'm still not sure who to blame, either. Apple? Google? Or me, for assuming that my note-taking app wasn't secretly broadcasting all of my keystrokes online?
I know that it shouldn't, but the author said that it did in the blog post.
I'd say it's both.

Anecdotally, to me being able to see the whole title and in a vertical list is just enough to like it, it makes it so much easier to find something among a shitload of tabs. Also, I feel it's a much better use of space in widescreen displays.

The tree part of it is less important, but also very useful to visually group related tabs.

Task-managing feels wrong to me in most (all?) OSes I've tried. A browser window with 100 tabs, relating to different research topics and ideas, feels wrong.

For that, I'd rather use one window per topic, and have the tabs in there be related, and that's what I tend to do. It's not always comfortable, and having several big/fullscreen windows from the same app in MacOS is a PITA. Also, you don't always know how much a task is gowing to grow and branch out...

I'm always curious to know how other people deal with this and how they feel about it.
> any Bitcoin is insured privately in case of a breach of their systems.

This isn't entirely true, most of their coin is stored cold and uninsured. They only have insurance on their hot coins. https://support.coinbase.com/customer/portal/articles/166237...

(I don't intend this as a knock, I too recommend them.)
Yesterday I was blown away by both tetris and snake golfed out to this degree and now this. I feel like this is the modern reincarnation of obfuscated c.

Can somebody explain to me how:
"a[i]+-~j" is the same as "a[i]+(j+1)" ?
Erm, my Garmin GPSMAP 64 can get a fix after a reboot in about one second. And if I didn't boot it in a few months it takes 15 seconds tops.

You are thinking of very old and very crappy GPSes.

Today GPSes not only get a fix very quickly, but don't even use much battery. My Garmin records tracks continuously through daylight for several days until I have to replace the two AA batteries.

[1] https://buy.garmin.com/en-US/US/p/140020
I interpret that as meaning the difference between using stream copy and re-encoding videos when converting between different formats.

For instance, the user might upload an H.264 video as an MP4 file. Streaming services generally won't serve the MP4 file itself, but will create an HTTP Live Streaming (HLS) version where the video is split into multiple .ts chunks along with a .m3u8 playlist.

However, such services (including YouTube) will generally re-encode the video when doing so, and the end result will have poorer quality than the original uploaded file.

This is actually unnecessary because .ts files support the H.264 codec, so the video does not need to be re-encoded. Instead the streams can be copied to retain their original quality.

If additional compression is necessary, I suppose it would be possible to apply HTTP compression using algorithms such as gzip or deflate.

Of course, this is purely speculation. It would be nice if Cloudflare clarified what they meant. But it would certainly be great if they used stream copying where possible instead of re-encoding.
Yes and no. Firstly, I don't have the numbers to hand, but I've seen economic work suggesting that the 'real' rich (ie. 'our' 1st world 10%) are responsible for grossly disproportionate resource use. Those vast houses, yachts, constant flying etc all take their toll. Secondly, although no doubt true on average, you addressed your 'if you are posting on HN' to an individual, and you're wrong in this case. I'm on less than a third of what you suggest. I live in a small forest shack, use a modest motorbike for travel, rarely eat meat, don't fly etc. Even then though I'm well off by world standards, and I'm a beneficiary of rich-world infrastructure, an expensive medical system, yada yada.

But does all that matter? Pointing out that the rich are (almost literally) eating the world doesn't give any of us the instant means to change the system we live within. We can only do what we can do, but there's nothing to do without awareness.
There's address hash matching on our CNP transactions (in UK).

One could cross-check address with electoral roll/DVLA/(other commercial data sources) and verify a lot of transactions (name given was known at the address that matches the card data).
The problem is "not yet deleted" is not very strictly defined in a multi-threaded world...
“Maybe we need to make them out of non-flammable material and rivet them instead of using exposed braces and clamps.” this is a great analogy to make you see our software problem in a new light.
>Can somebody explain to me how: "a[i]+-~j" is the same as "a[i]+(j+1)" ?

-(~j) = Twos complement of the ones complement of j

Twos complement = ones complement + 1

So twos complement of (ones complement of j) = ones complement of (ones complement of j) + 1 = j + 1
I want a tax cut, thank you very much. The fact that this is from a publication owned by an entrepreneur famous for giving his company a billion tax cut is somewhat ironic.
Comparison: React Native vs. Native App Development
Right, so for this order to be "topsy-turvy", the pimp would have to have higher status than the innkeeper outside of the game.
If you like this maybe you also like this recently released book "GAME ENGINE BLACK BOOK: WOLFENSTEIN 3D" [0]
[0] http://fabiensanglard.net/Game_Engine_Black_Book_Release_Dat...
Well, I personally would not want to get paid with any cryptocurrency.
Virtually a prerequisite for anyone doing long range first person flying legally.
If performance is your only motivation, I recommend you have a look at cython (previously pyrex). It basically makes writing C modules a breeze for a python programmer because you write them in type annotated python. Regular python is transpiled into mess of python calls, your typed tight loop will be "raw" C.
Announcing Oracle JET 4.0 and Web Components
FWIW, I am using a 1Password.com account, which means I can't confirm (but don't doubt) this for Dropbox et al.
US and Russia agree to research future lunar space station
By extension, it is utterly impossible to avoid exposing information about yourself, unless you live completely off the grid.

I try to have as low an online profile as I can, though.
That's more like the carpenter drawing marks in the wood to tell him where to cut.

I feel like, complexity is a problem when there is more software than one person could write. At this point, you probably need to do some Business Analyst type stuff.

For instance, we are aware of race conditions in code, and maybe we can avoid them by writing purely functional programmes in rust or whatever people do these days.

But what about the race condition of several servers restarting repeatedly and coming back up in a different order? Or a customer registering online when he already sent a form in by post?

The oldschool way of doing this was big UML drawings. This was a compromise because both programmers and business subject matter experts hate drawing them equally.

People don't tend to do this anymore because it is 90s and smells of XML and Java. But what replaced it?
Also consider not doing mesh if you need a longer life. I would expect that LoRa modules could cover the same distance a mesh could, and would only transmit then power down. Some receiving would be done as well but not as much as a mesh. By contrast a mesh node is listening and transmitting quite often.