skysight-inc/HackerNews huggingface dataset:
Wow thanks! I appreciate the encouragement. The architecture has settled, and I'm slogging through all the features now, so that helps.

Yeah Python wasn't the original plan, but it helped me focus on correctness. I was able to iteratively reverse engineer bash and other shells, while keeping the code relatively clean.

I had hoped to rewrite it in native code, but it's a huge amount of effort, so the first release will be Python.
Existence and correctness are both higher priorities than performance :)

I disguised Python by bundling a slice of the Python interpreter, which will allow me to rewrite it over time without user-visible packaging/deployment changes. I'm also able to fork the Python language because I have the "OPy" compiler.

One thing that should make it faster is using integer offsets everywhere instead of dictionary lookups, and that should be possible without much code change. It is written in a fairly "static" style, although with some important metaprogramming.

EDIT: I also hope to resume blogging more regularly once the code is released. I have a big pile of ideas/notes. But getting it out there in any primitive form is the most important thing right now.
I do daily 16:8 fasting (only eat from noon-8pm) and keep things paleo/low carb when eating. Recently I've tried some extended 72-hour fasts and really like them too. The big thing for me is that I love exercising in a fasted state--I'll do 30 mins. of cardio and about 10 mins of bodyweight strength training each day in the most fasted state (right before noon when I break the fast). The combo of eating low carb, intermittent fasting, and fasted exercise is pretty incredible--I'm in the best shape of my life and still getting better. Two years ago I was 300+ lbs and now I'm a lean 155 lbs. and running half marathons--it's wild.

Just a multivitamin and magnesium supplement are all I take.
I thought iMessage was implemented as a protocol with end-to-end encryption. At least Apple claims that it is.

I don't see how security and usability can be opposites. They are in conflict with each other to an extent, but increasing security doesn't necessarily hurt usability or vice versa. There are many products which have become both more usable and more secure over time, or which are both more usable and more secure than their competitors.
For me it’s the bugs in Microsoft Office that make me want to avoid it at all costs.

Microsoft Office isn’t some side project tossed together last weekend, it is a decades-old product from a company with billions of dollars and thousands of engineers. Therefore, it should be able to create new items in a bulleted list without completely destroying indentation, it should be able to handle pasted text without utterly confusing the style of everything else, and it should not completely fail to save customization of the Ribbon (to name just a few things still true in 2017).

If a product costing hundreds of dollars is going to misbehave like someone’s open-source side project, then I would rather invest in the open-source side project (at least that might get fixed).
Please don't take the following as "lazy programmers unwilling to learn a simple build-and-install process": Please consider filing this as an issue with the SWI-Prolog team, to benefit everyone who runs SWI-Prolog as such an app.

Please note that SWI-Prolog is free software and depends on such contributions or at least reports to work reliably on all platforms. Alternatively, there are also several commercial Prolog implementations with professional support to help you in case of difficulties.
Micro optimisations can speed up cpython
> I know it kind of ticks me off when somebody says 'just ask for more money!' when I know damned well there's a lot more to it than that.

What else is there to it? The company can afford it, or it can't. If you ask for more, they probably won't cease negotiations just because they can't afford it. If you're in the pipeline with them for a proposal/SOW submission, you can make several attempts at the sale. If you're finding that most clients refuse your higher rate, there are two possibilities: 1) you have actually hit the ceiling you can achieve for this industry and niche, or 2) you're dealing with suboptimal clients.

I'm just okay at sales (or at least, I don't really like it but I do it), but I am particularly good at a lot of billable information security services and software development. Every time I increased my rates, I did it because I decided to on a whim, during the kickoff call, just to see what would happen. I too thought that the mythical five figure weekly rate was preposterous, until I got it.

I know this probably sounds horribly insensitive to you based on what you just said, but when patio11 et al talk about raising rates and people push back against the feasibility of doing it, there's an element of talking past each other going on. There are a set of premises involved in successfully raising rates to the "mythical" scale you're talking about:

1. You are in an industry where you know established players are billing these rates.

2. You have the market outreach, salesmanship or network to capture a percentage (even if its small) or the existing market share from these incumbents.

3. You have comparable skills (both technical and logistical) to the consultants or shops your clients could be going to.

4. You are able to differentiate yourself (this is not even strictly necessary, just helpful).

If you don't tick all or more of those premises, then yes, of course simply asking for higher rates is unlikely to consistently work. But if you re-read much of the advice that is put out by folks like Patrick, you see that the unspoken subtext of, "You need to be good at this" is there, where "this" means technical and sales skills. This is why he wrote Don't Call Yourself a Programmer in the first place - the technical skills are important but insufficient. The "willing to ask" part comes after the fact, and just boils down to reticence.

It's a straightforward formula. If you know other people are doing it, and you know you're as good as them at doing it, you can do it too. In my experience, most of the people who push back against this are either 1) not as skilled as they think they are (to be blunt, but I'm not saying this necessarily describes you) or 2) not very good at sales, generally due to a natural aversion. The point people like myself try to make is that if you have the technical skills, just getting over the sales difficulty will significantly improve your income.
An investment round is a way for the company to aim for a higher future level than they would otherwise achieve. That's the moment when the shares are presumably the cheapest, and there is already a deal in progress so it is very easy and convenient to roll in another transaction. Since the lawyers are getting paid anyway and money is flowing at an established valuation it is an excellent moment to offer your shares.

Later on you might have to re-establish a valuation and you will have to make a lot of overhead on a relatively small transaction.
3 Soylents in the morning and afternoon then cook a real meal for dinner
A Powershell Script Demonstrating Why Windows UAC Had Zero Security from Day 1
Buddy brain is priceless...
Three batteries that may power our future
I don't know about general-purpose, but I've seen Prolog implementations for specific logic problems. Most recently, chalk [1], a Prolog interpreter designed to be used in the Rust compiler's trait system. So I wouldn't say it's not popular, but the areas it's used in are probably not what most programmers deal with every day.

[1]: https://github.com/nikomatsakis/chalk
A house?
Show HN: Join a book club – build your network
Show HN: Search JavaScript libraries
Very early (and bare-bone) version.

You can search for "date", and then because there is a lot of matching results you can easily filter out pickers just by typing "date -picker".
You can also do "data* (table|grid|datatable|datagrid)" and similar lucene queries

Results are sorted by github stars (rounded), project activity, and latest release

Activity is a sum of deltas between release dates. Gaps > 1 year are ignored so it does not favor "sleeper agents"

I was using this myself for some time and because it already gives good results I've decided to go public and get some feedback :)

Any comments are very welcome. Thx
Neither were UFC Champions and they actually eat sea food. :)
Not aware of that. Thanks for pointing it out!
The poster isn't talking about absolute truisms, but generalities. And generally, men tend to be less selective towards their mates than women due to sexual dimorphism. And yes, those differences extend into psychology[1]. Acting like there are no norms between the sexes in an attempt to placate those outside the norm goes too far. Yes, we need to be accepting of those who aren't normal, but that doesn't mean we need to ostracize the majority of normal people in the process.

[1] https://en.wikipedia.org/wiki/Sex_differences_in_psychology
Redux Middleware for syncing state and a PouchDB database
> Why does every website ever want me to download and install their app, when the web is just as powerful an application platform for 90% of use cases?

Because the web is fundamentally more accessible for users, and web sites are easier to build, their web site was where they actually... you know... operated their business. Because of that, the business pushed the web site as far as it could go... embedded advertising widgets, third party integrations, one off marketing pages, random features for this user or that internal department. The thing grew because it was being used.

Meanwhile the programmers programmed as fast as their little hands could type, and drove complexity right off the complexity​ cliff, because there is no Complexity Cliff sign... at some point you just realize you already went off it and you're headed for the ground.

At that point, the programmers subconsciously realize they need a new codebase, that time-to-feature is increasing superlinearly, but they don't want to admit their code is fundamentally flawed, but what if there was an excuse to start over....

Oh wait, an App! We can use Everything We Learned to try again with a Better Architecture, and really get The Design right and even add a couple New Features we've been cooking up! It's so much easier now to write an app than it was five years ago when I looked into it and it Seemed Hard, let's hire some iOS developers we'll have a V2 app in no time, and it's the Age Of Apps so most of our users will switch anyway. Especially since our web site is having... issues.

Flash forward plannedAppDevelopmentCycle * 3 and oh wait... our app takes 7 clicks and 97 seconds longer to get into than our web site. And only 38% of our visitors have a compatible device. And coding it is not easier. And damnit why are all of these users still using that crappy old feature don't they realize the app is cleaner and the animations are smoother and that makes up for any missing features?

And oh wait, complexity in our app is growing. And this new UI V2 concept our designer said would solve all our sign up flow problems isn't actually improving metrics. And jeez... Our web site is looking really old in the tooth now that we just spent 18 months prioritizing app development.

And what about Android?

Huh. Wait, how much is our runwa...
Somebody asked why I submitted this. I thought it was news that amidst the turmoil of the meltdown, people working for British Airways still managed to call the police on one of their customers.
Overwatch for quick 20 minutes- 1 hour session

Factorio - when I need to relax

I tried Rimworld, but automation aspect in Factorio is soo much nicer :)
Ketogenic diet for 2.5 years now. High fat, moderate protein, very low carb. Weight loss was not the goal, not snoring at night was the goal. Still weight the same as I have for the last 15 years but I've put on more muscle.
I don't over-think about it but here is the "usual":

- Breakfast : Either black coffee, or I add cereal (+ milk) when I have time. I do scrambled eggs if I really have lots of time to sit and eat.

-Lunch: Whatever is the "dish of the day" in the nearby restaurant. Usually steak, or some form of meat. Sometimes I order salad to feel a bit more "healthy".

-Dinner: Pasta or rice, whatever is easier to cook after getting home.

I have to say that this is not working very well for me, and I'm gaining weight.

I'm thinking about doing Soylent (or a variant of it) that would save me the 2 hours lunch so I can get out of the office sooner.
Avocado for Breakfast

Large Kale Salad for Lunch

Medium Kale Salad + meat for dinner

High Fiber small tortilla (8net carb) + peanut butter for desert.

Coffee liberally spread out over the morning to mid-afternoon (cream+splenda)

I take diabetes medication (Janumet XR- Slow release Metformin based medication).

I consume approx 40 net carbohydrates a day, and 2000 total calories a day. My fitbit says I get 500-700 calories of exercise a day.

I've lowered my HbA1C from 9.3 in december to 5.0 in March. I've lost 37lbs since december.
A good thing about this (being an open source project) is that anyone can fix it and create a PR :D
Is the CEO lowballing you because your relationship is adversarial?

If so, you will likely need to break through that emotional barrier to get his cooperation in selling the shares to investors. Assuming his cooperation will make it easier.
Intel Distribution for Python is really cool. Free speed up of code, without the need to do anything: https://software.intel.com/en-us/distribution-for-python/fea...
So they finally managed to reinvent git blame?
I think you left out the part where it brings enough joy and excitement to your life that you feel it is worth the risk of dying.

This is a valid personal choice. But with what you've written above, you're just convincing me to never ride a motorcycle. This is coming from a bicyclist who enjoys good downhills on my road bike at speeds in excess of 40mph (fast for a bicycle and little armor). So I get the thrill, but I've never experienced the number of issues and extreme physical trauma that I read about people on motorcycles.
I could have agreed with your claim 10 years ago, but not now. I've had such problems with MS software back in office97/2000 era, but not now - on the other hand, I have had interop issues with Libreoffice back when I used it last year, so it's currently not good enough (yet?) to be used safely.

To be clear on definitions, my understanding of "interoperability" involves the following workflow - if I open a complex document made by someone else in MS Excel or Word, change one word in it, save it (in MS format) and send it back, then I have to be sure that I haven't corrupted anything else in that document - layout nuances, styles,references, pagination, whatever. Currently it's not the case, and it makes it unusable, since I can't even verify if something looks different on my computer than it had looked in MS Office.

I mean, it's a simple test - if opening ("importing"? "converting"? technically that might be more appropriate than merely opening) a document and immediately saving it changes it somehow, it's not ok.
How did keto fix your snoring? Fixing my snoring will really help my SO, haha.

Also, what do you do about fiber?
Related PyCon talk about this: https://youtu.be/bx3NOoroV-M
So you're just basically listing everything you know about Unicode and then state that every software developer MUST know the same. That's bullshit of course.
More games = more potential for injury. People need time to rest and recover after those games, Monday & Thursday night games are already extremely demanding on their bodies.
I did a 72 hour water fast and it was so refreshing !

And wow! You more than halved your size. That is absolutely incredible.
Agree with this. What the OP could have made at Google is not his CEOs problem.
soylent + coffee, later beer
Can you expand on what you consider the AI UI problem and why you don't think anyone's working on it? If it's what I think it is, people are trying, but it's just hard and in some weird way not as flashy as "company X revolutionizes the world by making a 0.05% improvement in speech recognition task."
Michelson: The Language of Smart Contracts in Tezos
Fixing the sort of bugs found by fuzzers doesn't always lead to cleaner, easier to maintain code. It depends on what the bug is and how it's fixed. Sometimes you just have to write something ugly and inscrutable to deal with how your compiler handles undefined behavior, memory allocation, etc. (Or, in other words: in unsafe languages, there's a class of bugs that occur precisely because doing it the straightforward, idiomatic way leads to the bug.)

This doesn't make this bad or mean that you should leave bugs around, but fixing bugs found by a fuzzer is unlikely to lead to improvements in Office compatability, UX, etc.
Whatever I want to eat that day. I don't overthink it. I wouldn't bat an eyelid at eating a pizza but I do try to avoid obviously unhealthy food in general. Generally the more colours in the food the better.

No supplements, completely healthy BMI. The key is to just not eat too much of whatever you do eat - portion control is everything.

Disclaimer - I do live in Spain, obviously food generally available in supermarkets and restaurants is probably quite different to what you'd find in the US.
I'm from Brazil, a soccer crazy country. All of my friends that continued to play soccer for fun started to get injuries after they were 35yo.
I don't think there's really a "functional gap". All generally useful programming languages including Prolog are imperative "in the end" no matter what the books say, and anyone good at using them will think about the programs imperatively. The language just has "special features" such as ones that go like "try to match this with that and examine each possibility separately". If you try to write Prolog by "describing" the solution instead of thinking about the steps to achieve it, the code will likely not work at all (infinite recursion) or be very inefficient, in spite of being logically correct.

What may look like a "functional gap" may just be the lack of ability for abstract thought, and more correlated with (in)ability to write well structured and generally "nice" code, especially to identify common patterns and create reusable code. Because functional/logical is just an implementation of some abstract pattern that is believed to be useful, and the person may have trouble understanding this pattern just as they would have problems understanding existing abstractions or creating their own abstractions.
I cannot recommend this blog enough, it has a lot of provocative and challenging content, very insightful. It's been three years since an update and I still check it occasionally.
There's very little difference between the terms 'Civil War' and 'War Between the States'. The former emphasizes the people, while the latter emphasizes state governments. I prefer Civil War because I am generally predisposed to thinking of war in more personal tragic terms and not as a struggle between governments.

Also, from the TFA:
"The term “civil war” concedes all that the North ever claimed, makes [the South] guilty of treason, "

Actually yes, the attack on Fort Sumter was an act of treason. To think of it otherwise is to partake in hagiography of white southerner's struggle.
Eat leafy greens (veggies can be a ketoers best friend)
Not for most people here, though. Do we really need to keep saying stuff like this every time anyone here mentions money? "$10 is a weeks worth of food for people in Africa, you know". $100k is a lot of money, no question. But it's only about 1-year's salary for a decently paid programmer. It's not enough to quit your job, and it's not even enough to buy a house in most major tech cities. Which is what the OP said "would it really do much for you in the long term?"
Assuming the CEO is lowballing to conserve cash, this is a great idea.
The extra energy can be dumped into pumping water up a dam. It is reasonably efficient, at 70-80%.

https://en.m.wikipedia.org/wiki/Pumped-storage_hydroelectric...
As they are paying you I would do a course or learn anything I wanted to learn. It can be related with your career, so you don't get stuck.
> I have to say that this is not working very well for me, and I'm gaining weight.

Try ditching the grains and sugar, they're doing nothing but adding weight. Eat foods that have low glycemic loads to keep from spiking blood sugar and causing sugar to be stored as fat: http://burnfatnotsugar.com/diet-2.0-explained.html
I remember coming across a comment from someone who worked on Word in the past. Most of the engineers don't know how it works and are scared of breaking backward compatibility.
Most Overlooked Security Threats to Your Business
Thank you for the insights.

Are there any numbers comparing colony collapse between normal and organic beehives?

I imagine that bees used for producing organic honey will have access to greater variety of plants, since their immediate surroundings doesn't contain pesticides, which obviously also lowers their exposure to pesticides.

I'm aware that bees used for organic honey travels outside their designated organic habitat, but all things equal, they should be better of with regard to the 1st and 3rd factor of colony collapse, than non-organic bees.
What are your favorite forms of high fat? Looking for accessibility, healthiness, and satiety.
Dude there's LibreOffice, Google Docs, Apple's Pages app, maybe some others. Why don't you try each of them and see how you like them?
TL;DR: Gambled on the stock market and won. Next up, a millennial who made millions on the lottery.
I don't see farmhand labor as a luxury good.
Assertible (https://assertible.com) can do this. Designed to be a simple API testing solution with flexible automation and monitoring. Disclaimer - I am a founder.
I played a bunch of high school football, and had a very severe back fracture that I'll be living with forever. I'm functional, but have to keep very on top of things to not suffer chronic pain.

I used to be absolutely obsessed about football, and getting used to not playing anymore was a real challenge to my identity.

I look back on it now though (that was > 20 years ago now), and I wouldn't choose to play the game again. It was an amazing way to push myself, and I learned a lot about character and determination. The cost really isn't worth it though, and I've seen a bunch of people pay even higher costs than me.

I also think - if I had kids, I wouldn't want them to play the game. It's just too dangerous, and that danger is built into how the game is played. People in the business often say "don't hit with your head" but watch any game, and you'll see lots of head contact on every play. The cumulative effects of that alone, not even counting the big hits - I think is quite substantial.

Unfortunately I don't see the game or the protective gear actually changing much to lessen the degree to which these (predictable) injuries happen. And to a great extent, more protective equipment means people just hit that much harder - often times still injuring, but in ways that are harder to see.
Keto (maximum 20gr carbs a day).

Lost 52 kgs (115 lbs) so far since October.
Well, that's kinda encouraging. Interesting to see the number of genocides fall off starting in 1989. Maybe normal statistical variation + dissolution of the Soviet Union at the end of 1991?
The investors will probably only do it if the CEO is on board. Assuming they value relationship with CEO
I eat my daily food between 10 pm and 1 am - just because it's convenient for me.
How to hide tiny artworks in your URLs
I'm not arguing for a coffee labor subsidy. I'm arguing for a farm labor subsidy. Or ultimately UBI.
I just looked into Angular4. the command (ng new new-app, yes it has its own cli). creates a tree with the following:
3098 directories, 21504 files
everything it does is printing "app works!"
well to be fair to angular4, the problem here is the cargo cult of js/ts and to get a full experience they just pack everything (which you might need) together.