skysight-inc/HackerNews huggingface dataset:
> said command line behaves oddly

Yeah, there are some prompt bugs on master; try the beta-1 release linked in my other comment for a more stable version. Will definitely be fixed before the next beta release.

Edit: if you can provide repro steps for the prompt bug that would be super helpful.

> I gather your implementation language is Lua... is there for Lua anything comparable to PyGame for Python where you could leverage some graphics?

Sure; I could easily create a GUI for the ship, but that would be a different game than the one I'm trying to make. There are plenty games like that out there already. I want something that feels more like TIS-100 than Endless Sky. (Not to knock the latter, but they already do a better job at making that kind of game than I ever could.)

On the other hand, part of the point of the game is that if some players want to play a more GUI-centric game, all that you need is already included to turn the game into that kind of game from the inside. All the HUD stuff and the graphics libs are exposed to the in-game Lua sandbox.

> I zoomed out what seemed like quite a ways and didn't see anywhere to go.

You have to use a portal to get to another star system.
A nice metacognitive cheat sheet.

Missing a couple interrelated mental models I find very important:

- emergence: a process whereby larger entities, patterns, and regularities arise through interactions among smaller or simpler entities that themselves do not exhibit such properties

- decentralized system: a system in which lower level components operate on local information to accomplish global goals

- spontaneous order: the spontaneous emergence of order out of seeming chaos. The evolution of life on Earth, language, crystal structure, the Internet and a free market economy have all been proposed as examples of systems which evolved through spontaneous order.
Pepperoni is a disgusting low quality topping. I mean "cheese pizza" is basically a pizza without toppings. But when the cheapest possible pizza is being made, the topping is always pepperoni. It makes sense - it's cut paper thin and sparsely arranged around the pizza to save on costs.

The next cheapest topping is Canadian bacon, which is not even bacon, but a type of ham. That's basically false advertisement, since bacon is awesome, but Hawaiian-style pizzas are not. Again, arranged in thin small slices around the pizza.

And if your pizza has sausage on it, it usually has too many spices and tastes disgusting like pizza bagel bites.

I guess I forgot to mention "vegetarian" pizzas which have the cheapest toppings yet cost the same. Avoid at all costs.

When I get pizza it usually contains chicken, but I wouldn't mind bacon, pulled pork, shrimp, etc. I just avoid most of the above cheap ingredients since they make pizza taste the same as the $3.50 frozen kind.
We have differing levels for "worth it" clearly :)

Having had to work with requirements like "send pager alerts if outside normal business hours in the UK", where UK has a standard government-controlled definition of normal business hours and a government-controlled definition of whether Easter or a "bank holiday" is a business day etc, well, my life would be greatly simplified if it wasn't required that I personally collate and maintain a diary for each country...
DNA is a complex language, it's words are chemical signals and it exists in a soup formed of mineral and organic stuff. I think even a paramecium has quite a lot more complexity than we give it credit for. We also know that cells talk to each other by electrical and chemical signaling, so there is that external language besides the internal one.
It's amazing that TeX has basically boxes, glue, and two kinds of lists (vertical and horizontal) and does wonders. CSS, on the other hand...
Can you elaborate, because I don't understand what you mean. Is it because you think they're ideographs that have no corresponding phonemes? They do. Every character is a syllable complete with a tone.
5 Important Points to Make Long-Term Client Relationships
We had a big wtf moment yesterday at work.

Also see https://en.m.wikipedia.org/wiki/SYmbolic_LinK_(SYLK)
Generally representing dialog is not a problem. In the case that they want to represent a word/sound that does not have a character assigned to it there are a number of strategies to deal with it: romanization (pinyin), zhuyin fuhao (phonetic notation), non-standard character or pick a character with similar meaning or sound. Generally context is sufficient for native speakers to figure out what they are trying to convey.
I don't actually know. I never went down the rabbit hole of zero-copy, only watched various teams crash and burn.

I've had success simply reducing the number of data copies in userspace. I use tools like Ragel, lean fifo buffers in C with moving read and write windows (i.e. slices), etc.

For example, for a [now defunct] startup, I implemented a real-time streaming radio transcoder which inserted targeted, per-listener, dynamically selected ad spots into live streams. So, it would take an existing radio source (Flash, ICY, MMS, etc), transcode the codec and format to suite the listener, and when it detected ad spots select and insert a targeted ad.

On a _single_ E3 Haswell core (core, not chip) I was able to transcode 5,000 streams in real-time, each with dynamically selected and inserted ad spots, cycling between 30 seconds of the stream and a new 30 second ad for the stress test. All software; no hardware or even SIMD (other than what GCC could squeeze out). The Linux kernel was spending more CPU time handling interrupts and pushing out the packets then my daemon. At that point I knew I was already at the 80% solution and moved on to more feature development. I knew that after fiddling with the kernel I'd have more than enough performance.

FFMpeg, GStreamer, etc couldn't even come close to that. I had written all my own stream parsers and writers, both so I had control over buffer management, but also because I needed frame-level control for splicing in ad spots. The only libraries I used were for the low-level codecs and for resampling. Notably, there was actually more copying then you'd think; enough to keep the interfaces relatively clean. The key, apparently, was maintaining data locality. Some libraries go through extraordinary lengths for zero-copy, but they end up with so much pointer indirection that it's a net loss.
It's good to push back against glib dismissals, but please don't do it with snarky attacks. That's considerably worse, and degrades the thread for everybody.
Flexbox is basically boxes, glue, and two kinds of lists (vertical and horizontal). You can pretty much do all layout in flexbox these days, and all the other display properties are just for legacy compatibility.
8th or 9th, only 4 searches. Damn, I need to study more.
My path after 7 lean years self-unemployment following the dotcom bust on the wrong side of 50 was landing a full-time programming job at a small startup, followed after 6 months by being recruited , by a large tech company as a contractor in the slightly rare main skill I picked up in the startup. After 5 years as contractor I became full time employee and hope this will see me through retirement. Do the math on salary and benefits since my full time position appeared to be a pay cut but was really a 30% raise. Life will seem to enter slow motion for a while at large company, but don't worry it soon wears off :-)
This is t-shirt worthy.
We detached this subthread from https://news.ycombinator.com/item?id=12039815 and marked it off-topic.
At least in Hong Kong, "new" characters for spoken Cantonese are often derived from existing Chinese characters that sound similar, despite those characters having a completely different meaning. Wikipedia has a fascinating entry [1] with many examples of this.

[1] https://en.wikipedia.org/wiki/Written_Cantonese#Cantonese_ch...
The Ideographic Myth
Why exactly did you feel the need to share any of that drivel?
Please don't. People posting about situations they personally know about produce much of the best content on HN. I'm sorry you got attacked for it, but I'm sure that's not representative of the readership here.
Also reminded me of http://tburette.github.io/blog/2014/05/25/so-you-want-to-wri...
I feel like this is one of those bugs that would have taken less time to fix than it took to document.

You could even do something as trivial as "if Excel fails to open the file as SYLK, try again as CSV" and cut at least 99% of the problem away.
You can rent bare metal with the hardware managed by the hosting center. Hetzner.de provides this. If there's a problem with the software, you fix it, if there's a problem with the hardware, you tell them and they fix it.
I've run into this error many times for a decade, always when I make a CSV file of a table whose first column is "ID".

It seems to me that Microsoft by now could have improved its tests. If the first two letters are "ID", but if "there are no valid SYLK codes after the 'ID' characters," then maybe it was never meant to be an SYLK file. If the file's suffix is .csv, then maybe you should just treat it as a CSV file. If the file's suffix is .txt, then maybe you should treat it as a text file.
5 Game of Thrones Characters That Are Using Your App
Amen. Well-stated.
Maybe my bug? I wrote most of the original Excel text-based file import code in 1984 (including the SLYK format, which was the main way we migrated files from Multiplan to Excel).
Some Ashley Madison women were actually computer 'fembots'
For JavaScript, I use Tint2[1] or Electron[2]

[1] https://github.com/trueinteractions/tint2

[2] https://github.com/electron/electron
Yeah, pretty rough. The examples of asking questions are wrong.
Do you have milk? -> คุณมีนม?
No, Thai doesn't have a question mark (or any punctuation). The Thai actually says "You have milk". To make it a question you have to add a question word at the end.
Also missing the important topic of classifiers, which impacts the discussion of plurals making that section also pretty useless.
Agree that trying to do too many languages means none of them are done well.
I had to fake a csv file for testing yesterday, and started out with id, then went "ahahah", and used name.

I know that's boring but this is one of those generational pieces of knowledge like "keep your docs up to date" that we need to build into software training somehow. (Or rather, this bug is not important, but the kind of training that imparts this knowledge will be vital in building a real software profession)

But yeah, it's a real WTF
p.s. since you mention gay couples, worth noting that 94% of male partners killed in DV are killed by women. Also that 41% of lesbian couples in Australia report having experienced abuse by same-sex partners, 29% for gay men (AIFS, 2015) and even less for hetero women. Yet, government and the radical feminists dominated DV organisations in Australia still keep pushing the line that only men are violent.
Please don't post unsubstantive comments.

We detached this subthread from https://news.ycombinator.com/item?id=12037726 and marked it off-topic.
Yes you can, but at the cutting edge of science this is a big job because of the amount of assumed knowledge and concepts you need to explain the new concept. To translate the new concept you need translate all supporting concepts as well to enable the person to understand the new concept.

In practice this requires translating a significant amount of all scientific knowledge from English into the target language (lets pick Swahili for example). Because this is such a huge job with little return, scientists just all work in one common language and for historical reasons this is English.

Of course further away from the cutting edge the easier it is to explain concepts in a non-English language which is why science can be taught to undergraduates in a language other than English. Once you are dealing with the primary literature this becomes very difficult.
Chris Buechler Leaving pfSense Project
Two adjustments that I would make.

Remove Metcalfe's law. It is a massive overestimate. See http://www.dtc.umn.edu/~odlyzko/doc/metcalfe.pdf for the better n log(n) rule for valuing a network.

And I find Le Châtelier's principle generally applicable, and not just to Chemistry. It says that if you observe a system at equilibrium, and try to induce a change, forces will arise that push it back towards the original equilibrium. It is one thing to recognize this at work in a chemical reaction. It is quite another to be blindsided by it in an organization.

See http://bentilly.blogspot.com/2010/05/le-chateliers-principle... for my explanation of why this holds in general outside of chemistry.
aka buzz words to make you sound more intelligent.
Oh, I don't know. On the one hand, part of me agrees with you.

On the other hand, when someone tells me that they've optimized a compiler and it can now compile 3% faster I get really excited and pull their repo, I don't turn around and say "you mean 97% as slow" and keep complaining about how long compilation takes and how nothing can be done about it. Show that there are steps you can take to cut it by 33% more than we currently know how and you'll be a god among programmers.
Tesla told regulators about Autopilot crash nine days after accident
> ...includes anything humans do as natural which is a completely useless definition of natural.

Useless for your purposes, where you are comparing things of the same kind - you use behavior for that, not nature. Nature is used for comparing things of a different kind, like humans vs sea slugs. Also, nature is not the same word as natural...

> ...always naturally emerge in individual human development like language...

How is that any different from "Advanced mathmatics"? No known humans have had a written language but no numbering system, and speculation about the earliest humans without a written language is just that, speculation.

> Why do I need to differentiate them...

So that you can quantify, classify, compare, understand, intelligently discuss, etc.

> I think you're rephrasing is a strawman...

Eh, it conveyed the exact same meaning - it just more clearly demonstrated the logical flaw.

> ...and now we're beating a dead horse.

Maybe, but I will say that your last post communicated your thoughts on the matter very clearly - I never would have known otherwise that we disagree on about five other fundamental concepts.
Infographic: 10 Interesting Facts About Internet and Social Media
Calling requires them to be free to talk at the time you call, and interrupts whatever they're doing. Emailing doesn't.
Yup. The best way to solve that is by having the ability to attach multiple arbitrary keywords to the books, then the collection can be sliced and diced anyway you feel. There's a lot of low hanging fruit.
We detached this subthread from https://news.ycombinator.com/item?id=12038870 and marked it off-topic.
His definition of a "strawman" is incomplete. It's not simply misrepresenting someone's argument, it's misrepresenting it specifically by analogizing it falsely to something similar that is easier to attack. The example he links to is a rather exaggerated strawman. I think most people would favor the strawman explanation in Wikipedia[1]

[1] https://en.wikipedia.org/wiki/Straw_man
This is one of the great things about HN, and indeed the internet at large. Someone posts a link to a little quirk of our world, and then someone is able to pipe up and say "hey that's me! I made that thing!" Even better when it's something like a software bug.
> Just because your family members might be oathbreakers

Personal attacks (which attacking someone's family is) are not allowed on Hacker News. Please don't do this again.

We detached this subthread from https://news.ycombinator.com/item?id=12038978 and marked it off-topic.
Very good! A few minor performance comments.

1. In your EncodeDictionary, you sort byte arrays by converting them to string. Correct but subeffective. See e.g. this: http://stackoverflow.com/q/19695629/126995 but add checks for nulls, authors of that code forgot about that.

2. You don’t need a dedicated thread to wake up every 1-10 seconds and do something small. Thread are expensive system resources, they own stack, cache misses are guaranteed then they wake up, etc. If your compiler supports async-await, use that instead + endless loop + Task.Delay inside the loop. If not, System.Timers.Timer class will do.
I think HNs font is small. I use a 13" macbook. My zoom level is around 150-175%. Here is a comparison (they are both shrunk, so just look at the relative difference). http://i.imgur.com/W2Q9IPp.png.

My eye sight is not great, but I'm probably short sighted so the screen is clear on both sizes.

It is just way more relaxing to read a big font. I used to use small fonts to keep a lot of info in the screen, not anymore.

I think this article was a turning point for me https://www.smashingmagazine.com/2011/10/16-pixels-body-copy...
This is why I like HN. Opening the comments and seeing "oh maybe this is due to something I did back in the 1980s when I wrote most of that, here's some inside info/explanation" about something as significant as Excel's file handling is something that will never grow old for me.
What are the protectionist policies (not cultural or linguistic causes) that prevent non-Korean mobile apps from succeeding in South Korea?
Pre-school education is vital to their development.http://www.crazysales.com.au/toys-hobbies/ Ues some toys to encourage their creative thinking and crafting. Then when they go to school with a prepared mind, they will perform brilliantly at classromm.
OS X.Pirrit the Minds Behind the Malicious Mac Adware
I had meant it in the sarcastic sense.
I have a similar list of useful concepts. My goal so far this year was to expose myself to those concepts as often as possible. I made an app for my phone that displays the concept of the day on my home screen (right now it's the rhetorical concept of periodic sentences). I also made images for each of the concepts that I use as my chromecast backdrop. I've seen each of them dozens of times by now, mostly unconsciously.

So far, mixed results. I would like to say that I think of "Bayes Theorem" at the perfect time because I wrote it on a list, but that never happens. I guess I've benefitted from thinking about these concepts more, but that's almost impossible to measure. A list of 100 useful mental models has limited value if you can't hold all of them in memory at once and retrieve them at the right time. I'm still trying to come up with a solution for this. Unfortunately I think this might be a fundamental limitation of human learning.
I think you are finally understanding what I am saying. Of course it is possible to translate all scientific concepts into any human language, just that in practice it is not done since the return is minimal and the cost high. Rather than waste an enormous amount of resources on translating every paper, conference proceeding, report and patent into the thousands of different human languages we have settled on just using English.

Any concept (and all the required prerequisite concepts) that have not been translated to the new language can’t be communicated in that language. Nothing more.

The only interesting aspect of all this is that it makes a large chunk of human thought only able to be communicated effectively in one language. It would probably would have been ideal to have settled on a synthetic language designed specifically for science communication (mathematics is part of the way there), but history didn’t turn out that way.
Robot lawyers could make expensive court conflict thing of the past
Instead, try and think of a situation in the previous day when you might have applied it, and imagine applying it to a problem in the coming day.
One way to think about Occam's razor is from a probabilistic perspective. Consider the Conjunction Fallacy -- for any two events the probability of both events occurring together is less than or equal to the probability of either one occurring alone. Yet it often makes intuitive sense to people that the more specific conditions are more probable than the general one. (See examples in the wikipedia page: https://en.wikipedia.org/wiki/Conjunction_fallacy)

So the more assumptions you're adding to the hypotheses the more you're getting taxed on the likelihood of it being correct. Therefore it's more likely that the hypothesis with the fewer assumptions to be correct.
Industry 4.0: The Rise of Smart Factory
I'm sorry, I'm probably missing something, but... Why even sell when you only get 1y of revenue from the sale?
GitHub uses linguist (https://github.com/github/linguist) to determine the languages associated with your profile. I'm not sure though under what circumstances a language actually becomes part of your profile data. I can only assume that it has something to do with the total amount of code in a certain language and the ratio between programming languages in your account. So unfortunately, there isn't really much you can do to get your profile to show up (except maybe to publish more code on GitHub).
Song on the BREXIT
Because startups are, effectively by definition, equity rich and cash poor. Trading $100k/yr in ISOs for $100k/yr in cash across 10 employees increases your cash burn by $1M/year, which is make-or-break for a lot of startups.
Ask HN: Do you use App  Retargeting/Remarketing?
I agree with your basic point - but doesn't "3% faster" usually mean that it runs faster in all cases? So the "97% as slow" does not seem to be clear. Maybe it should be said as the improvement is not significant enough according to some numerical threshold?
Blizzard Take Another Legal Crack at Cheat Makers
> Is it not plausible that sometimes we periodically really do lose something valuable and the conservatives in society notice this?

Even a stopped clock is right twice a day.
I posted my webapp ( http://nask.co ) twice: https://news.ycombinator.com/from?site=nask.co , received only 1 comment. I also posted it to reddit, but didn't have many comments.

While people find it interesting, I don't have any users, only bots visit it, until I post something here or there. Guess the webapp is not useful, the UX/UI is not good, the voices are not good, the domain name is terrible... I don't really know. I lost interest/motivation and just left it running.

Finally, I open sourced the Go library used by my project: https://github.com/pqyptixa/tts2media . AFAIK, no one uses it.
The navy is largely pork. The modern navy is defenseless against any modern state's antiship ballistic missiles.
This is the imagery released in January 2015. Though not brand new, this is an amazing image to contemplate, especially in light of the continued discoveries from Kepler.

Edit: Don't miss the link in the article to the slippy map zoomable version at https://www.spacetelescope.org/images/heic1502a/zoomable/
I think often the line between correlation and causation is not very clear except in textbook examples. Does poverty cause corruption, or corruption cause poverty? Maybe most of the actual phenomena could be feedback loops, vicious cycles etc.
They'll settle into ordinary earnings multiples. Sofware companies typically have much higher revenue multiples because they have much higher gross margins. In this case, the article is talking more about brick & mortar startups.
Weird, I hit this exact error 2 weeks ago
It's fairly common in English for authors to give phonetic spellings in dialog, to make things seem more "real" or to indicate accents. To pick a random line from my favorite book, "What for? You caint do nothin for it." I'm not sure if that's what OP is asking, but I'm actually curious how you would indicate the same effect (essentially, encoding nonstandard pronunciation in a comprehensible way).
Sometimes I let my biases get the better of me. Thanks for the reference.
This KickStarter campaign might change the way how you learn to code
Jbloomer: A bloom filter for Java in about 100 lines of code (excluding tests)