skysight-inc/HackerNews huggingface dataset:
> Diagnostic printf message in some embedded firmware. Do you need to drag Unicode into it?

Why not? The firmware itself would usually have no reason to care about the details of a diagnostic message's encoding, whether that be ASCII or UTF-8 - it can mostly just treat strings as bags of bytes. There might be some byte values that are special (nul terminator, % for printf, etc.), but UTF-8 is a superset of ASCII and represents extended characters using only bytes with the highest bit set, so there will never be 'false positives' of the special byte values. Other than that, the bytes can stay uninterpreted as they go over whatever serial port or diagnostic protocol the device is using, until they eventually show up on - most likely - some sort of terminal application on a modern computer, which probably supports UTF-8 already. So in most cases it should 'just work'.

Of course, there are situations where it won't just work, such as if the firmware needs to display the diagnostic message on a screen (by itself), but from what I've seen those are the minority.

edit: As for Git, what's wrong with people writing log messages in their language of choice? (Other than the social issue of it making it harder for English speakers to use the codebase.)
I recommend everyone interested in this subject to read "Why Nations Fail: The Origins of Power, Prosperity, and Poverty" by Daron Acemoglu

It's a great book that tries to explain why.
Because Google Docs suck for any kind of actual professional work, instead of playing at office.
What makes a good tech stack article?
Hello =) I'm kind of new to the tech/startup world and had a question I hope y'all can help me with.

I'm a writer and I want to write about tech stacks. I was wondering what kind of article about tech stacks people in the startup/tech world would be interested in, if you even find it interesting at all.

In my research so far, I've found that tech stack articles are either really complicated or very simple, and I personally would like to see more of a middle ground.

I had some ideas but weren't sure if I'm writing something useful for the startup/tech community.

I want to go beyond "how to choose a tech stack," because I think there are already helpful articles.

If you're someone getting started, what questions do you have about tech stacks, if any? Would it be helpful to know what kinds of languages are better for databases and why? Is that something you already have a good idea about? What kind of article do you think is missing?

Thanks!
Which i'm sure they would happily burn to the ground if it meant they weren't taxed there.
I don't think you want to go with the argument of physical presence. It rarely works well with any multinational.
Also I've worked places with this magic and no induction or documentation or time for anyone to explain anything. The more behind the scenes hard to discover stuff you implement the better the docs and onboarding needs to be. It can't just be done to fulfill a architect astronaut fantasy.
Discussed 8 days ago:

https://news.ycombinator.com/item?id=15179936
Beware of bugs in the above code; I have only proved it correct, not tried it.

Donald Knuth
thats what the bitcoin detractors said, didnt work out to well for them did it?

and anyway, even if you limit it to "real economy" (if anything in cyberspace can really be counted as real, which is highly suspect) it comes from ad revenue. all taxing eu ad revenue in cyberspace will do is ensure eu companies cant competitively show their ads in cyberspace, doing so will lose the eu a lot more than just "tax".
I "like" the use of North Korea as example of bad institutions and not of effect of embargoes.
Likewise South Korea definitely did not receive (and properly used) foreign aid. /s

The article clearly contradicts itself on the point by showing how ineffective Qing dynasty policy reforms were in China while later even bigger changes in communist China worked.

And definitely does not address anything related to USSR or rise of the USA. Or further back, British empire. (Each employed very different policies was successful for a time.)

And then you have to look even further back...

Conclusions are therefore a joke toy model.
CIVITAVECCHIA a 5 STELLE: SI DIMETTE ASSESSORE ALLE PARTECIPATE
> I had an interface (representing a tree node)

No you didn't. An interface representing a tree node would have a children() method.
> Competition, including taxes, is great for Europeans. If we study history we see that competition is one of the components that resulted in the dominance of the west. (see Civilization: Is the West History?

I don't know. Competition for making the best science, technology, music, literature, food, ... seems different to me than just giving big corporations clever ways to avoid paying taxes for funding education, social security, infrastructure, ...

Or, if that kind of competition is so positive, is the US tech sector doomed because it does not give enough leverage for google and facebook to avoid paying taxes there?
> IntelliJ enforces per-language indentation (what if you have multiple projects with 2 or 4 space indent? Tough luck)

Not the case. You can set it to match existing file indents if you wish (with a notification when an indent style is matched). And you can have individual project-scoped or multiple IDE-scoped language code style presets.
So what macOS stuff do you run in "production" to users? Apple gets a free pass when it comes to the hard stuff and I am tired of it. At least Windows is can be run in "production"...
C++ has something similar.
Because controlling people, who are struggling in their life, are much easier by dictators. Even with religious activities, dictators can make citizens pray for him. if politicians allow you to have lots of chances, then you'll start criticizing and want more. More improvement on life conditions gives you less control on citizens.

I'm Turkish living in Switzerland, I can say that it is the same shit in every developing country and i can ensure you they won't be developed due to the facts that i mentioned above. We need really high numbers of citizens to break the borders.
The wonderful thing is that we can mix the two.

One great method is to write your program using a nice functional language (Haskell, CL/racket/scheme, etc.), and where you want optimizations, replace functions with lower level imperative language implementations (C/C++, rust, etc.) and FFI.
i was in the same boot as OP, ordered maxed out XPS15 whiped windows from them and installed latest version of ubuntu. but i had problems with 4K display, hdpi support in ubuntu is shit if you want different dislplays with different dpis, and wayland is still not really production ready. And then is the support for GPU, drivers for nvidia, it would get so hot that i could almost burn my hands.

so i returned the XPS and ordered a new MacBook Pro. Sure touchbar is a gimick, and i dont like new keyboard even after so much time but its better then the alternative.
Man that is a cool site, all the robotic articles thanks for sharing
(Edit: mildly off-topic, hopefully fine since GP is grey)

From what I understand Eve takes a lot of real-time investment and dedication to succeed.

After you get far you have to maintain the relationships you built with people, and the responsibilities you share with them.

Tribal Wars (unfortunately now pay to win) and Puzzle Pirates are two games I've played that share that aspect, though both have no where near the same amount of mechanics, content, and dedicated playerbase.

But yes, if lack of enjoyment/reward crosses a threshold, players quit. Which often forfeit their position in these kinds of games.

edit: Not sure on the "rejoinability" of Eve, I assume it relies on the player's progress and social standing, multiplied by how lax the in-game trading rules are. (Giving away ships+currency before you quit, getting ships back when you rejoin)
... Which, despite what I imagine is an incredible amount of effort on their part, struggles to run acceptably not even half the software you throw at it ...

Wine is unfortunately not a reliable solution for a huge number of tasks mostly populated by windows-only software (e.g. professional CAD & PCB software - and no, open source "alternatives" in those domains are NOT able to compete, which is perfectly understandable IMO).
Even when you get something running, you get locked out of updates because the next version of your software might not work anymore.

When you insist on running those on a Linux system, it becomes better just running a dedicated VM, but you can then kiss goodbye to performance on 3D rendering for example...

It seems obvious to me that running windows apps flawlessly on linux is something Microsoft absolutely does not want: The migration path to a Linux-only environment and native apps would become incredibly more simple, and they would probably lose market share overall... I definitely know I would eliminate it in a heartbeat if I could.
I don't know why people are freaking out about this so much. It's one header.

Also, it's been made painfully clear that the source code is not covered by the EULA and is still licensed under Apache 2.0, so if you build from source yourself you can use it without any change, just like before this announcement.

It's not like this is some ungodly C project where you need to gather all your dependencies together and debug the build process when it doesn't work on your machine. The project is written in Go and has no external dependencies so building from source is literally just:

- Install Go if you don't have it already
- Run `go get -u github.com/mholt/caddy/caddy`
- cd to $GOPATH/src/github.com/mholt/caddy/caddy
- Run `go install`
- Use the resulting caddy.exe file for free like you always have done

If you don't like the Caddy-Sponsors header then you can just edit the `github.com/mholt/caddy/caddyhttp/header/header.go` file and comment out the lines:

if name == "Caddy-Sponsors" || name == "-Caddy-Sponsors" {
// see EULA
continue
}

Then build the project, except now you can remove the sponsor header with `-Caddy-Sponsors` in your Caddyfile.
If you need a plugin then just download the plugin you want from github and import it before building: https://github.com/mholt/caddy/wiki/Extending-Caddy

@mholt has made the entire process so unbelievably easy that the whole process takes literally minutes...
SMARTLINK+
I know what you mean, and agree to some extent. But I doubt that statement holds up in this case.

>Ifconfig could have been augmented to support the new, performant ways to do the things, and the new, cool things;

I don't think that could've happened. You are thinking very narrowly, just about ifconfig command. Linux has a lot more networking things that aren't there in UNIX (or even in the BSDs for that matter). There have been many networking concepts introduced in linux that would warrant creating a completely different set of tools.

Ofcourse, shoehorning all the new features behind current net-tools binaries is an option. But if you see the elegance in the current with which `ip` can be used, I think you would reconsider your stance.
>I can't eat a token. I can't live in it. I can't wear it. I can't buy Starbucks with it. It doesn't promise to return me more dollars or tokens if I hang onto it. It doesn't offer me any right to the governance or management of the money raised. It doesn't offer me a claim of ownership of some portion of an enterprise.

You can't do any of that with a lot of tech stocks actually either (ex: SNAP). SNAP pays no dividends, offers no guarantee of paying future dividends, you can't vote, you can't get more dollars if you hold on to it aside from the fact that someone else might speculate on it in an exchange. In a certain obtuse sense, newer tech stocks are becoming tokens and tokens are becoming quasi-shitty securities while trying to dance around securities laws. Honestly, I am not trying to troll, but I don't think there's any real difference between SNAP stock and Kik tokens in essence aside from a piece of paper saying that the SNAP stock is "stock" and the Kik token is a "token."
This is a great comment. I have never been a gamer... but now that I am moving back to windows... it just might become a thing.
LOL. And there we have the academic misdirection while brushing it under the carpet.
Wheat breeding and increased prevalence of celiac disease (2010)
Laravel – The best PHP framework for creating an eCommerce website
Experience a Smooth Abortion Process with Us
This is pretty dangerous thinking.
The EU only has half a billion people.
Thus, the truth is: Over time, these companies will make infinitely more from developing nations outside of the EU than they would from the EU.
especially if the EU is taxing them heavily.

Additionally, even if you say "don't care, if they leave we'll just build our own companies", now you are hamstringing the global growth of those companies.

(I'm just going to assume the companies that leave are not going to put your homegrown companies and people at a very serious technological disadvantage, which they might)

This is of course, why the EU wants everyone on the bus.
Not really. Ireland has some deals going with several digital multinationals.

The guardian writes:

"Google pays €47m in tax in Ireland on €22bn sales revenue"

https://www.theguardian.com/business/2016/nov/04/google-pays...
I have the same problem. Using the tokens for their service later is a big uncertainty so I rather think of them as shares in the company's service and wonder when those sortof-shares will be regulated like the normal stock market.
main = traverse_ putStrLn $ Compose $ fizzbuzz <$> [1..100]
.. each entity that touches the product along the way wants a big markup...

Oh, yes. I know a miller, where my brother did a intern ship- buy dry wheat, spray it with water till it gets too just the max allowed water percentage - resell it. So lets add 5 % scaming to the whole game.
Thanks. It's long overdue some updates as I've done quite a lot of work since (though still moving slowly) and it's pretty close to being able to fully compile itself now.

What you say makes sense, and I understand that it takes a lot of effort to clean those type of things up without hurting backwards compatibility.

This specific distinction though seems like one where it'd still be possible to get most of the benefit by changing the implementation of __dict__ to make it do something similar to __slot__ under the hood, but fall back to a dict for dynamic properties.
> Likewise South Korea definitely did not receive (and properly used) foreign aid.

South Korea did receive quite a lot of foreign aid from US, UN.

South Korea is the only nation to transition from receiver to giver in international aid.
https://poldev.revues.org/1535
US bans Kaspersky software in federal agencies amid concerns of Russian spying
Most arm servers perform incredibly poorly per core and are significantly less power efficient.
This isn't shown in the data in the article.

That could be explained as the data only goes back to 1970 (that I could see, apologies if there's a way to go back further that I missed).

Is there any publicly available data source that backs this up?
Yeah, but the IPO Snap had to go through is heavily regulated to protect investors. ICOs are the wild-west.
The policy you are looking for is "defense".

Problem is developed countries don't want to see poor countries arm up. Especially w.r.t. nukes.
Non-paywalled article: https://www.theguardian.com/technology/2017/sep/13/amazon-an...

> The criticisms were made on Wednesday at a meeting of the public accounts committee, parliament’s spending watchdog, which is investigating online VAT fraud. In recent years overseas sellers, particularly from China, have come to dominate many popular goods categories on eBay and Amazon, illegally selling products into the UK without paying VAT. As a result, many small British businesses have been undercut.
Thanks. I'm glad you agree, and I'm pleased that you liked my writing.
I'm using AutoHotKey on Windows. Not only for this, but for other things, as well.

For example (<^>! means the AltGr key):

<^>!4::Send „
<^>!5::Send “
<^>!2::Send ‚
<^>!3::Send ‘
<^>!+6::Send “
<^>!+7::Send ”
<^>!+8::Send ‘
<^>!+9::Send ’
<^>!-::Send –
<^>!.::Send …

Also to use Caps Lock as another Control key:

Capslock::Ctrl

Or make windows stay on top of others, if even they lose focus:

<^>!t::Winset, Alwaysontop, TOGGLE, A
It's useful to tell a text editor "This is UTF-8, not Windows-1252 or ISO-8859-1 or whatever you might be used to".
The '/s' at the end of that line denotes sarcasm.
Steganography through the RWX triplets in Unix
I found "tuple" to be an odd word, when I first came across it.

Eventually I figured out it is a generalisation of "couple", "triple", "quadruple", etc. It's one of those things, but we don't want to say the number.

(I just tried googling it, and the definitions I get are very maths-y and hard to understand)
Eugene Charniak-Introduction to Deep Learning [pdf]
Not just that nobody's helping and their system may be outdated, more powerful players are playing to keep them weak and use them as pieces in their competition with each other. The more powerful countries also don't really have an alternative, since stopping to compete means becoming weaker oneself, and helping others become stronger doesn't guarantee that they wouldn't become a new competiitor at the "big table".
Large tech companies employ hollywood accounting techniques to continually reinvest surplus revenue. In doing so they rarely post any significant profit, depriving the taxmax of corporation tax.

This 'reinvestment' is used to compete and drive profitable competitors out of business. This is an unfair practice. The result - no profitable companies, smaller taxable base and nothing for the taxman to collect.

The bigger the juggernaut, the more influence they have on the taxman ("but we're contributing to pay/income/property taxes - surely you don't want us to relocate abroad"). Large multinationals use their corrupting influence to strike sweetheart deals and use these deal-made tax savings to abuse the market even more.
That's literally what this article was about - a Windows subsystem for Linux.

Did you read it before you retorted with like 5 paragraphs? I'm guessing not.
In California, you must have your headlights on if your wipers are on.
GNU Social is low traffic, but it's alive and well.
This made me laugh. It's also sad to think that it might be true.
There is a movement calling for tax harmonization in EU. I think this is a "what-if" scenario. "What if there were no internal competition between EU state to make a race to the bottom in terms of tax on profits?"
I'll save you all a click:

The article answers the question with the following two points:

- lack of strong institutions

- trade barriers

It provides an example of North vs south Korea in defense of the theory.

It's a ridiculously simplistic synthesis in my opinion.
Reading the article it feels like they raised the major number for no reason. But actually if they changed the API a lot and have rewritten parts, then it's really valid. Maybe they should hire a real marketing person, or at least pay for some marketing consulting here and there.
I recently signed up for https://wwww.alphatrackr.com/main/ and then by pure random coincidence, met the founder during a social meetup about value-based investing. I have no affiliation, but it seems tidy and might be suitable?
economics as a field seems to be poisoned with fuzzy thinking. this guy says that the division of korea is an experiment that shows the results of communism vs capitalism, essentially, and then concludes that the lack of a free market in NK is the reason that it is very poor. is it not relevant that north korea is currently and has been for quite some time the target of heavy sanctions by the united states and its allies? a centralized economy is perfectly capable of performing as well as a decentralized one, provided that it is centralized well. pointing to this implementation of a centralized economy does nothing to advance the argument against the viability of centralized economies.

this guy says that the output of people is what determines the wealth of a country. this confuses me a little because isnt it true that if all the countries in the world were filled with productive people, there might not be enough demand for all of their services? would a large chunk of people not be left behind? and, according to my introductory economics textbook, if such demand exists that every person on this earth can be employed at a high salary, would that demand not have already been naturally met in this global free market of nations that has existed for some time now? and lastly, here in the united states, a very rich country, most people have relatively meaningless jobs. people are wildly overpaid for the work that they do here in many cases. there are professors of womens studies and social network or engagement experts who are paid a lot of money to essentially do nothing. i would be happy to be corrected.
Some person working at Google didn't know or care about Android? It doesn't seem all too unlikely that while he personally didn't care, his corporate overlords told him to work within the constraints of Android.
I tried making a simple Morse code trainer using the Web Audio API, which seemed perfectly suited to the task, but I ran into two major problems:

1. Firefox always clicks when starting and stopping each tone. I think that's due to a longstanding Firefox bug and not the Web Audio API. I could mostly elminate the clicks by ramping the gain, but the threshold was different for each computer.

2. This was the deal-breaker. Every mobile device I tested had such terrible timing in JavaScript (off by tens of milliseconds) that it was impossible to produce reasonably correct-sounding Morse code faster than about 5-8 WPM.

I found these implementation problems more frustrating than the API itself. At this point I'm pretty sure the only way to reliably generate Morse code is to record and play audio samples of each character, which wastes bandwidth and can be done more easily without using the Web Audio API at all.
Cui bono? Seems like it would just push Turkey into the hands of Russia and Iran.
Why don't countries just merge or join each other? Doesn't all the division simply create more fear and us VS them.
Like email or Google Docs? LOL.
Yes your analysis is correct - this would be a what if scenario
They are showing an approach that work, on a semi-realistic problem.

The idea of producing a rule-based system from deep-learning, while not exactly a breakthrough, is an interesting direction to take.

It is research. It is not designed to solve real-world problem but to give ideas to engineers. And really, I can see several simple systems that could be programmed by simple rules and learned from input/outputs.
> Contrast this with F#'s terminology ("computation expressions")

OK, great! And what did F# call monoids, profunctors, semigroups, free constructions, adjoints ... ? The fact is that there are a lot of concepts we use in computer science (maybe not your corner, but yes in computer science) that already have names and history in the mathematical world. If you can suggest better names that we can use in computer science then that's great! Please tell me. Otherwise it seems reasonable to stick with the existing names.
Dead keys support accents, and a few symbols printed on the keyboard are discoverable, but I find the Compose key is much more intuitive for occasional use.

I don't yet speak the language of my adopted country, so it's better for me to keep []{} etc where I like them in the British layout, and use three keypresses for typing the ø in a (place) name like København.

If I do end up typing lots of Danish, I'll probably map AltGr+A,E,O to Å, Æ, Ø. É is rare, so I'll still use the Compose key for that and German / Swedish names.
C++11 has this feature too [1], e.g.:

const char * str = R"*^*(This is string containing an embedded "quoted" string)*^*";

[1] http://en.cppreference.com/w/cpp/language/string_literal