skysight-inc/HackerNews huggingface dataset:
This is pretty cool. Props for doing a massive amount of work and creating something open and extensible.

--

I just tried reading the code to learn how MineTest does voxel meshing, and it didn't go so well.

(Voxel meshing is about turning blocks into triangles efficiently, and it's surprisingly tricky. Mikola Lysenko wrote a great exposition of the problem and several solutions way back in 2012: https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/ )

I was curious which approach MineTest chose, and I still don't know. I think I found the files where the meshing happens, mapblock_mesh.h/cpp. The code quality is... less than perfect.

There are 200+ line C++ functions. There's commented out code and preprocessor "#if 0" ignored code.

There's a struct that looks important, but it's called "MeshMakeData", and I don't know what it represents. The comment above just says "Mesh making stuff":

https://github.com/minetest/minetest/blob/0a16e53b40d347db7d...

The file that seems to run everything, game.cpp, is almost 5000 lines long.

--

For an example of really clean game code, check out Quake or Doom 3. Both have:

* short and sweet main() methods

* comments that guide the reader and explain what does what

* clean decomposition

* short, readable functions, and...

* reasonably small files

So far, MineTest, at least in part, took the "big hairy ball of C++" approach.

Good luck with future development!
Ultimate Digital Nomad Guides
I remembered after all those years. Reminds me of school coach trips.
Yes, It looks funny. But I think they try to create some kind of panic like "you need to complete this procedure in next 30 minutes". not allowing time to think or talk about this to friends.
There is also selection bias among them. I.e. It takes motivation/drive/purpose to become an immigrant and travel to another country for work, permanently.
See the comment by dtnewman below. Sorry to be vague, I had that in mind. Amendment 4 was an important yes to kill the extraneous taxes on solar systems. The upcoming vote on 1 is a muddled mess that should be voted against until something reasonable can be introduced.
Collectively, computers consume far more energy than transport and so contribute more to emissions. Perhaps they should be banned.
With headlines like these I sometimes wonder if it's just a PR piece to make nation X seem progressive (if you think of a nation as a brand).

Reality is that Germany is very conservative and the car industry is too strong in influencing politics to follow their interests.
This works particularily well because the policy-makers are very worried about unemployment - so much that they'd rather risk sacrificing our children's future.

There was a panel with Elon Musk and the German minister of economics, where the minister said something along the line of: We can't allow jobs to be lost, even if it means we're going to have to continue ruining our environment. (!)

So no, unfortunately nothing will happen in Germany, a country where subsidies for (partially) electric vehicles are available only since this year and are limited to sales prices below €60k, conveniently excluding the Model S.
What also floats on water?
All i'll say is that in this case, where he was applying for a marketing position, he wasnt breaking rules, he was proving his qualifications for the job.

The broader discussion is outside my realm of expertise.
Wow, this makes doing your work suddenly a lot harder... I wonder how much this whole fiasco affects the software industry.
I have a Huawei p8 max and it is great. I have a cheap whitelabel Chinese Android as well and that is nice too: never overheats and has good battery life (and was $40). You need to reflash Android but other than that...
There is a regular pattern I've seen with a lot of subreddits where they initially start off being fairly lax in what they allow. Eventually the "old timers" get bored of seeing the same types of content being repeated and so they come up with rules for the sub. If the community is small enough this has the effect of putting off new users from posting and drastically cutting post volume.

If the subreddit is big enough on the other hand then this often improves the quality of discussion and effectively reduces the amount of what the old timers consider to be low quality content.
For those interested in AI I would add "AI algorithms, Data structres, and idioms in Prolog, Lisp and Java":

http://wps.aw.com/wps/media/objects/5771/5909832/PDF/Luger_0...

In fact I'd recommend that to anyone, regardless of interest in AI- it's a great programming textbook all around and accessible to anyone who knows at least one of the three languages (coughjavacough).
I figured as much. This whole thing sounds very sketchy. Whats next is wether or not the users on 4chan will accept it. I imagine for how audacious they have been in the past that there will be some sort of push back. But I get the impression that a mass migration is inconvienient and with no leadership there wont be enough interest in new places
The rules also tend to be largely similar.

- Be polite

- Be on topic

- Use approved hosting

So it is relatively easy for most of us to stay within the lines
The Chinese got a complete crashed F117 during the NATO bombing.
> the powertrain of an electric car requires only a tenth of the staff to be assembled when compared with a combustion-engined equivalent, which needs more workers to assemble cylinders, spark plugs, and gearboxes.

This is why an EV-dominated future is inevitable, even without the environmental considerations. Fossil vehicles simply won't be able to compete on cost.
It's not a fork. Just a well thought emacs.d
Building an AI Startup: Realities and Tactics
On a larger scale just look at Wikipedia and Stackoverflow and the discussions and blog posts about how bad they have become especially for newcomers the last few years.

Maybe a multi-layered approach could be tried, where people can choose to see content on different layers?

Long-time users fed up with mundane questions only get to see "advanced" posts, but beginners can still post a million "How do I (standard task)" questions without bothering anyone else. Instead of trying to split the people and direct them to different sites use layers. Same could be done with "funny" content (reddit especially, where every attempt of a serious discussion is swamped by 80% posts form people who don't really know anything about the subject, don't care, and just want to be entertained).

So instead of trying to achieve what now seems to be impossible I think we might actually be able to find better ways to keep disparate users in the same forum. The problem with trying to separate beginners and advanced etc. is hat people change. What was a beginner becomes a an advanced user, but they don't see that they should shift to a different site for "advanced users". After all, they've always been here! So sites like SO or Wikipedia seem to have a natural tendency to eventually become more and more beginner-unfriendly over time.
Cities will transform the way we conduct foreign affairs
Regarding the taxes (referring to the EU only), Minifree didn't do anything wrong:
If you buy hardware as an end-consumer, you're being billed the taxes of the originating country (in this case, the UK).

That's different for most services, e.g. if you ship a laptop to Minifree and they just flash it and send it back, they have to bill the taxes of your country. If they do any of it differently, they're doing a mistake.

There are other companies that can provide you with Libreboot, blob-free coreboot or other libre boot solutions on your Thinkpad if you're unhappy with their service (according to your experience that seems to be an appropriate response).

Minifree doesn't stand for the quality standard for the whole "libre community" as Albert Heijn (a supermarket chain) doesn't set the gold standards for the whole supermarket industry.
Ducks!
It seems like the turkish government is trying to create jobs here. Building a "nationalised turkish twitter alternative"? The way things are right now, they need a nationalized turkish github service first.
Someone warned about this like yesterday... https://news.ycombinator.com/item?id=12668079
I'm in Russia, and I really scared. This is the way we go here, too.
For those interested in what the leaked emails contained, here's a related article: http://www.dailydot.com/layer8/redhack-turkey-albayrak-censo...
I wonder when will the government sites be blocked? sigh
Trendy spots tend to be equidistant from everything else. Placing yourself in one means you can have the greatest # of suburban dwelling developers in your radius.

If you locate in a suburb on the east though, you're too far for developers who live in suburbs on the west, and vice versa. Being in the city, means you're equally sucky to get to for anyone you hire and since we already worked in the city before we already know how to handle getting to your place.
I challenge this opinion. If you have any ressources to back your claim, please share!

My estimates for the velocity where tire noise will be substantially louder than the rest of the car are much higher, more like 60km/h.
>> If you learn how the core algorithm works, you can use it in the same way you'd use a regular expression library to solve particular types of problems.

Aye, very good advice- also, keep in mind Prolog is essentialy Turing-complete pattern-matching, so like regular expressions but with the ability to describe any program you can hope to compute (and, er, some you can't- see infinite recursion).
There needs to be some kind of new censorship metric for governments, the weaker the government, the more they try to censor and hinder use of the internet by their citizenry.
Excellent stuff. If someone can repost the email leak to every possible service they can think of - then the Turkish government will be forced to make a difficult choice between 'security concerns' and being part of the modern internet economy. I don't think they have the ability that China has to build enough services within their own boundaries to prevent the latter choice causing some pain.
National Turkish government alternative may be a solution.
Many people want safe spaces not just far left movements. Do you think I want to go to a news site and the first thing I see is a post about white power? Freedom of speech is very hard to do without offending people which I imagine is better off being solved technically.
There is such a thing as a "situational disability"—one that causes you to be unable to be able to interact with things normally due to the current situation. Microsoft's documents on this page go over a few of these: using something that relies on audible feedback in a loud room, for example. Under the WHO's definition, these situational disabilities are included.
What sites are blocked?
> And really it doesn't -- it's not as if I need the karma points.

It's the principle of the matter! Does HN allow bot submissions?
>> A rough advance estimate of retention is the "toothbrush test": do people use it as often as a toothbrush

That fails to capture the power of recurring services. If a user needs to think of your service then sure, it needs to be a toothbrush. When the customer schedules your service, enjoys the benefits and pays without thinking about it you don't need to be a toothbrush (a lot of the SaaS world).

Then there's the insane profits between those two models like TurboTax. The toothbrush analogy is a nice way to categorize certain businesses, but it's only one of many profitable consumer software models.
Kids definitely learn languages more easily. I say this as a 42 year old living in a country where the language is different from my own.
>> One could argue that Prolog was primarily used for data (grammar rules, lexicon).

Weeell, more to the point: in Prolog data is your program so anything you do is data manipulation (or program execution, depending on how you choose to think about it).
This is interesting! Can this be abused with AWS-hosted services that reach out to fetch URLs? For example, image hosts that allow specifying an URL to retrieve, or OAuth callbacks, etc? Are there any tricks to be played if someone were to register a random domain and point it to 169.254.169.254 (or worse, flux between 169.254.169.254 and a public IP in case there is blacklisting application code that first checks to resolve the hostname but then passes the whole URL into a library that resolves again?)
They've clearly stepped up their design chops in recent years. For example, I'd argue the Windows Phone UI is very good (the main thing holding it back isn't the OS, but a lack of apps and desirable phones).
Lot of them. You can see a list here: https://reestr.rublacklist.net/
Well, the part where I step in to finish something isn't exactly peaceful. Whenever she catches me doing it she has this self obligation feeling that she should finish it. And then she feels I'm trying to force her to finish it when I want her too, or she lets me finish it but criticizes the execution details (which obviously are going to be different from what she would have done).
The screaming might be part of Zen training. They scream at disciples to focus their mind on whatever they are doing right now. No daydreaming or you get screamed at.
Just look for things people are complaining about, and build solutions for them.
Has Wikileaks Just Revealed the Existence of an Extraterrestrial Intelligence?
Penalizing emissions directly through gasoline and emissions-based road taxes would be a vastly cheaper and simpler way of reaching the same objective. What can be done to make this more politically palatable?
My take, correct me if I'm wrong but switching to electric transport means electric power consumption goes up by 25%. Nothing says we need to build more coal fired plants to provide it.
It seems highly unlikely that someone who made the effort flashing Libreboot to their laptop or buying a librebooted laptop from a supplier, would install proprietary software (Matlab) on their laptop because that misses the whole point.

Making some performance concessions and receiving something wholly libre in return is fine for the target audience.
Why do you think the average pace of life has increased?
Microsoft has a long history of providing accessibility options in their products (long before Apple or Google started taking accessibility seriously).

Microsoft have never been very good with visual and interaction design in their desktop operating system. However, Windows Phone is the exception. It's visually attractive, and has nice, well thought-out interactions. I think it's superior to Android and iOS in many ways. It's obvious that both Apple and Google took some cues from Windows Phone in the updates to their own mobile operating systems. (Undoubtedly, all these companies look at each others products when designing new features).
I still think the strict environmental regulations pushed by the green party a few years back gave the German car makers an edge over the US competition. And they complained a lot back then.

Huh? Automotive environmental regulations are much stricter in the US compared to Europe.

German, and other European, carmakers have an appalling environmental record, and have for years been getting away with pretty much ignoring the (already weak) EU environmental regulations. Just look at Volkswagen.

Or, just try to breathe the air in London, Paris or other big European cities where the stink of Diesel fumes has become more and more pervasive in recent years.
Have you ever applied to very large desirable companies / competetive positions? In most cases the system is completely broken.

Here are a few genuine personal anecdotes:

Friend applies to Amazon via website. Finally gets reply 6 months down the line. Seriously - who has 6 months to wait around for a job. In that time he had 6 months to get actual experience and have an even better resume.

Different friend gets summer internship at top legal firm, on leaving/ "you're hired" party, drunk HR manager admits they were very busy so the entire team decided to base internship interviews on the first sentence of the cover letter.

While at working at bigcorp see numerous roles, including positions in senior management go unadvertised to people who are recommended for the position.

More generally, there are a great deal of places that will bin your application if you didn't go to an Ivy, so how is someone from another country to even get a chance?

So is this unfair on the other applicants? Probably. But mainly, the system is unfair on applicants.
'All at once' is being DDOS'd so you wouldn't want that.

In general, you are going to be MITM'd near your endpoint (ISP level DNS tricks, or on your WiFi) or near the destination endpoint, very rarely somewhere in the core (although that has happened with some BGP hacking). To prevent the client being mitmd you can ask something else on the internet what their cert resolution chain was.

If the server can be mitmd with a valid cert the only solution is for all clients to contribute to a distributed consensus -- appending the cert chain they see to a distributed log.
Out of interest, do you do other sports that are in some way similar? I picked up skiing way faster than friends (or so they say). But then I already do or have done a number of outdoor sports. (I think controlling your fear is a large part in learning "extreme" sports). I am crap at languages but I see other people who already speak a few languages pick them up far faster than me.
The EC2 documentation specifically warns against allowing yourself to be tricked into loading your metadata for someone else.

So yes, there are probably lots of services which get this wrong; but they did at least get a warning about that particular failure mode.
because the German government is in a different situation compared to the american parliament. one of their founding principles is to literally lead the population in controversial topics after taking counsel from experts and forcing sane actions on the population.

i'd actually be glad if this would be passed, not that it has any kind of chance of ever passing.
it would decrease the car noise significantly inside cities, and i neither need nor own a car anyway.
>> So...in my opinion it is a little bit like SQL. You would not use SQL to write an application (I hope!).

Not a bad hunch, but SQL is in a way only half of Prolog.

SQL relations (tables) can be seen as first-order logic predicates that are always true.

Prolog has those (they're called unit clauses, or "facts") but also has relations that are actually implications (called definite clauses, or "rules"). "Rules", being conditionally true (or not) allow programming logic to be described. [1] [2]

The funny thing is that in Prolog both facts and rules are the same kind of thing (a special kind of first-order predicate called a Horn clause). In, er, fact, so are the queries you write at the command line (negative clauses which are always false, so that you can prove them true by refutation, binding variables in the process; this is how you "retrieve data" in Prolog, where your program is your data).

In this sense Prolog is very different to SQL, which has a clunky syntax on top of a neat abstraction- in Prolog you program with the abstraction itself so, yes, totally: in Prolog you use the database to write an application. Except it's not a SQL databse.

[1] https://en.wikipedia.org/wiki/Horn_clause

[2] http://mathworld.wolfram.com/HornClause.html
Or a decentralized github service ;-)
I really liked the view of the article. However it's assuming one thing that's not true for every on-demand or p2p service marketplace: the service provider is a "pro".

I'm co-founder of a p2p marketplace for dog sitters and dog owners and most of our sitters are not "pros" (as in people who do it just for money and full time).

IMHO that's the basic difference between a truly sharing economy platform and just an "on-demand service".

These two kind of companies tend to fall under the same umbrella, often because the ones that are just on-demand services use the "sharing economy" label to protect themselves against regulators.
It's a torrent file you damn ignorant politicians. Tell your favorite IT guys to block this : magnet:?xt=urn:btih:489b0cef1d7d49fe5ae2ae8cc2f0708b8286cbb3&dn=All+mail+Including+Spam+and+Trash.rar
Even China can only limit their citizens access to the extent that it doesn't totally hinder economic growth. They would never be able to completely insulate themselves from the "outer" internet without massive harm to themselves, the same goes for any country in this day and age.

The risk of harm will always outweigh the minimal discomfort through free and open discourse that the internet inherently brings with it.
There's a great video on youtube about the Advanced Passenger Train in Britain in the 80s where they tried a few too many new things with predictable results.
It's much like the same Problem with the Google Cloud. Even worse there I'd say.
http://www.geeksforgeeks.org/ has a collection of algorithms and puzzles split by topics.
When I eventually got to Microsoft's actual PDF that explains this I noticed two things:

1. The URL is http://download.microsoft.com/download/F/2/C/F2C19EC6-03E2-4...

Why the heck does everything at Microsoft have to involve URLs with GUIDs in it?

2. That PDF is one of the worst documents purportedly on design frameworks I've ever seen. It's not functional, or direct, the text is in a tiny font, there are pages that do nothing with no content.

Ironically in page 20 they specify a minimum size of 12 EP, yet the label on the side is like half this size! Wut?
How much CO2 does a square meter of this remove from the atmosphere compared to a square meter of the most efficient plants?
Someone on Reddit highlighted that the block seems to key off of the SSL SNI header, regardless of which IP you try to connect to. There must be some Deep Packet Inspection going on here, then?

https://www.reddit.com/r/europe/comments/56h0s3/they_just_bl...

Is the blocking able to handle stuff like fragrouter where the TCP stream is broken down into 1byte payload packets?
According to Marc Tarpenning (Tesla founder), EVs produce less carbon than combustion vehicles, even if 100% of the power is generated by coal:

https://youtu.be/hf15nMnayXk?list=FL68WumAcUAWIBaxczXoR-1Q&t...

The reason is that combustion engines - even modern ones - are very inefficient and lose most of the energy they produce to heat. Large coal plants are efficient by comparison, and EVs themselves are extremely energy-efficient even when considering grid losses etc.
Lewd Donald Trump Tape Is a Breaking Point for Many in the G.O.P
Prolog was slow in the '60s.

Not anymore [1]. It is, after all, an in-memory, No-SQL database. Even "slow" ish Prologs are pretty fast these days [2].

If your program is running slowly you need to take care with the way you've written it, but that's true for any language. It's more the case with Prolog and it's harder to optimise because it's harder to get your head around it, but beyond that, it's not "slow" in any sense of the word, particularly when you take into account what it is that it does.

[1] https://www.dcc.fc.up.pt/~vsc/Yap/

[2] http://www.swi-prolog.org/pldoc/man?section=jitindex
Oh this is so precious. As if we had a shortage of stuff to get angry.
I put libreboot on an old 2006-era X60s, and it wasn't too much trouble once I'd worked out which instructions to follow and which ROM to use (which was not obvious). That appears to be the best supported laptop, and you can pick them up very cheaply on EBay.

Picture: https://rwmj.wordpress.com/2016/04/10/libreboot-on-my-x60s/
You have to imagine it will have some affect. I purchase the phones for my company and the (all non-technical) people who come me to generally ask, "Should I get an Apple or a Samsung?".