skysight-inc/HackerNews huggingface dataset:
That's basically the 'you probably don't actually want to do that' answer that i mentioned at the end of my comment. I don't think its a good answer in the context we are discussing:

1. If you gave this response to the hypothetical five year old, you will simply make them cry, and then they will quit programming.

2. If you give this response to the hypothetical fifty year old, they will feel you're hemming and hawing to cover a weakness in the language rather than giving a more direct and honest answer.

In regards to (2), I'm not literally a 50 year old learning Haskell, but I am an adult teaching himself how to program for the first time, starting with Standard ML. Perhaps if you have a few minutes you'd be willing to let me elaborate on my complaint and check my understanding?

The main issue i'm imagining is modeling homogeneous data vs heterogeneous data. With tuples, the types of data are encoded in the tuple type, and are known at compile time. In SML its a product, so a tuple of length 2 is a different type then one of length 3. Presumably this is what you meant by 'not really collection types'?

Tuples of different lengths having different types is, if i'm understanding things correctly, the key point for this discussion. If i want to write a mythic 'tuple length' function in SML, it has to be generic enough to work on something of type a->int, and a* b->int, and a* b* c->int, etc... And so it has to make sense for any 'a->int (where 'a is a variable), which is to say it can't know anything about the structure of tuples! Is this reasoning correct?

Assuming it is, you can see why I called those answers 'hemming and hawing'. This is clearly not something put in the language based on some prior logic about indices or collections or fixed sizes...nobody wants to not be able to write functions from arbitrary tuples; it appeared as a design trade off in order to access type information at compile time. It also is not specific to the length function.

A second strategy to model heterogeneous data is to use a homogeneous collection like a list but then use a sum type to introduce heterogenity. This makes a different trade off: the types are the same for different sizes so we can write functions easily (including length!) but the types are the same so we've lost access to compile time information, and the class checks from the sum are done at run time.

Thanks for taking the time to read this far and correct my misconceptions!
Echo!
Then nobody would ever bother investing in new drug development.

A better model would be for the state to fund this research and have the results be public domain.
Gedit and Kate are both pretty great.
"I think we're gonna look back at this in 5 years and collectively say, what were we thinking?"

Many of us are already thinking that :)
I do too. The solution is to write those ideas into one place, always the same place. And read the place once in a while. Then when you have time, read the list often and force yourself do small (very very small) thing. Suddenly big ones will look attractive.

But also, partly it happen because you don't really think about those ideas into detail while you don't have time - while simultaneously your brain have tons of inputs from projects you need to work on. So it is easier for them to look cool. When you have time, your brain considers reality of it more.

Plus, what you can't have is always more attractive then what you can have.
Can somebody explain what problems tourists are creating?

I live in Toronto and was surprised to hear that the population doubles during the summer, because of a large number of tourists.

Having spent most of my life here, and some of it right next to the biggest tourist attractions - I never thought any of it was a problem. It hasn't affected my quality of life in any way that I'm aware of.
Just looking over these examples, one gets the impression that it's all by the same artist. Maybe not?
Type-safe and high-perf distributed actor systems in Rust
https://www.cnbc.com/2018/04/26/amazon-earnings-q1-2018.html
5.4B in AWS sales in q1 2018.
I would rather wait for reports of dangerous JavaScript exploits in the wild, myself. Considering that no real-world exploits of Spectre and related attacks have actually been reported, the odds that I'll fall victim to such an exploit without hearing about it in plenty of time to mitigate it are in the millions to one.

Instead, everyone has to pay the performance tax proactively, regardless of their individual threat model. That is not how this sort of thing should be handled.
They showed malevolence when they deal with the errors they made. That makes them the worst among the biggest companies.

Facebook has good "We are sorry,errors were made." PR game but it's not sincere.
Ask HN: Is a MS in MCIS a good choice?
Hello HN~

I'm an analyst with about 3 years of data experience. I do customer engagement analytics for an online bank, mainly dealing with large transactional datasets stored in SQL databases. Recently I have been moving into developing engagement strategy based on my analysis work.

I'm considering doing a MS in Computer Information Systems with a Data Analytics concentration to learn some new skills, mainly in R and data mining techniques. My undergrad was in International Relations. I'd like to work my way up to a more "Data Science" role down the road.

Is this a good choice? Does this degree have value in the market? I have been hearing a lot of conflicting information.

This is the program I have been accepted into: http://www.bu.edu/met/programs/graduate/computer-information-systems/data-analytics/
Then in which architecture?
How about a less fancy "heavy pollution mode"?
Note that in the text the quote it's from, this approach is considered "worse" (but viral).

The author of the text values correctness and ease of use over simplicity of implementation and interface.
> "Those who would give up essential liberty, to purchase a little temporary safety, deserve neither liberty nor safety" - Ben Franklin

OT historical trivia time. When Franklin wrote that, the "essential liberty" he was talking about was the government's liberty to tax, and by "purchase" literally meant to buy with money.

The Pennsylvania Assembly was trying to raise money to defend the frontier during the French and Indian war. This would include taxing the lands of the Penn family (which ruled Pennsylvania). The Governor, appointed by the Penn family, kept vetoing this, each time finding some new excuse that made little sense to Franklin and the Assembly.

Franklin's quote was in a letter he wrote to the Governor concerning this situation, rejecting the notion that the Assembly should have to give up its taxation power over the Penn family in order to get a bill approved to purchase arms to supply those on the frontier.

He later did write something similar but about personal liberty rather than government liberty. I can't quote it, though, because I stupidly saved a link to a Reddit comment that cited it rather than the direct citation, and the Reddit comment has been deleted.
If by UL you mean Underwriters Laboratories in the US or the other US NRTLs, compliance testing costs are borne by manufacturers, not insurance companies.
No grounds for complaint? This is criminal.
Nozick?
In the USA I think the general populace is tax averse. Passing a new tax even one that could arguably be good for the local population or region, is a good way to get unelected, even in very liberal states.

Local governments are incredibly susceptible to this, but it very clearly plays out nationally as well. The idea that government can “do good” in the USA is very co troversial at best.

This is a great article about it, as a simple litmus

https://www.nytimes.com/2012/08/15/business/economy/slipping...
Meditation Boosts Melatonin, Serotonin, GABA, DHEA, Endorphins, Growth Hormone
Ok, I wasn't going to comment, but since there are now further comments about this, I will. I was watching just now while bsvalley posted a long ranty paragraph in response to thenaturalist[0], about "I don't know why people don't understand affiliate marketing, it costs the customer nothing", then deleted it after a few minutes because it was being downvoted, then edited their original comment to say "(Affiliate link)" and added a childish one saying "I already wrote it was an affiliate! Didn't you see that! Dah!" or something.. then also deleted that because of downvotes (I was impressed by how fast this downvoting was occurring!) and edited their comment again to childishly mimic thenaturalist's comment, again without mentioning that it was an edit.

I'm grateful to thenaturalist, I didn't realize it was an affiliate link, they do seem like ads, or at least cast doubts on the motives of people posting them.

[0] which I flagged, as seemed appropriate.
For most strings I don't care about language, encoding or related overhead. In my scripts they are best dealt with as ophaque bytes with a few specific byte patterns that are the same in ascii and utf8, as well as various other encodings.

Last unicode issue I had was on a system german characters, because some library assumed it had to explicitly perform encoding with a bad default setting. If the library didn't try to be smart the program would have worked independently of system or language, instead it failed on any non english system by trying to convert a perfectly fine, system specific encoding to utf8.
I worked on an online test with different types of question with video viewing.

The hard part is the video viewing progress is tracked by system. I have to implement my own video server and player. Youtube was new and wanted to use it but I can't track their view progress.
Quite the opposite. If the worry is "too much tourists" well, just raise the tax until you have the desire amount of tourists! (and a lot more money in the coffers).

What am I missing here?

As an example, the country of Bhutan has zero desire for tourists, but instead of banning them they just charge a $250USD tax per day.
No, but you still have to suffer the fact that the language you do write in is translated to JS, and doesn't have first class browser support.
Edit to original post reflecting that its an affiliate link was made after my comment, hemce it looks like echo, but isn’t.
It's worked for me. Few of my tangential studies have been useful, but the ones that were made me very productive at my job. I discovered programming through messing with games instead of studying in college, then learned to automate reporting instead of hammering away at an Excel workbook. Thank goodness I did.
According to this [1], the coffee lake refresh has hardware mitigation to meltdown variant 3 and variant 5 (which are only a few of all the things).

Would that hardware mitigation reduce this performance loss?

[1]: https://www.anandtech.com/show/13400/intel-9th-gen-core-i9-9...
I think it’s a bit dismissive to say they’ve been brainwashed. With some of the career choices I’ve made, I’ve given up huge amounts of my expectation to privacy. I thought about these things and came to my own conclusion for my personal life, and I don’t think brainwashing ever came into it.

I have a big problem with how deeply flawed the ‘nothing to hide’ argument is (it’s almost a direct Kafka reference ffs), but people are allowed to have their own opinion on privacy and surveillance.
Some discussion about this on Jamie Zawinski’s blog two years ago (link via Facebook for Reasons):

https://www.facebook.com/flx/warn/?u=https%3A%2F%2Fwww.jwz.o...
Cryptocurrency Trader Gets 15 Months of Jail for Stealing Bitcoin, Litecoin
Everyday Astronaut explained this pretty well: https://www.youtube.com/watch?v=SCCw_M8MAU0&t=110s

The Shuttle's heatshield had to deflect significantly more energy because of the different landing approach.
A couple obvious things stand out from your situation. First, only allow merges of code that's been reviewed and has enough tests along with it. Second, have a pipeline that automatically runs all the tests whenever you merge, and if they pass, then goes on to automatically deploy. It's really that simple. It's not easy to get to that point, but it's simple.

Mostly it comes down to organizational changes and everybody getting used to what constitutes "enough" tests.
I recovered the redacted text in this image:

https://btcblockchain.files.wordpress.com/2015/02/e2.png
Worse for the corvids too: it's surprise-tokai!
We were lied tov?
There are many reasons why Bus transportation in the US is usually terrible:

* Lower classes i.e. poor tend to use the bus more, and in general the middle classes in the US avoid contact with this demographic group.

* Infrequent routes means you have to plan your whole route in advance; if you miss your bus by a minute, you're whole days plan is fucked

* Infrequent routes have the additional drawback of making you wait for long hours at the bus stop; more contact with said lower classes, more inconvenience etc.

* Homeless folks tend to use the bus a lot, and they stink, and the whole bus will reek

When I was in South Korea, I LOVED using their clean, on-time buses. They were an absolute breeze. But most American bus systems are pretty gross.
> "Why would we? Pricing shouldn't be a political decision. It should be a rational decision based on merits and values," he said. "Hundreds of millions of investor money has gone into the company, and if there is no return for those investments, there will be no new drugs because nobody's going to do that in the future, right?"

As terrible as it sounds, this logic seems sound to me. If we think having this type of drug is worth the > $100MM it took to develop, then health systems should either fund the $100MM research, or they should let private companies do it and pay them fairly for their work. $1MM for something so expensive to develop with so few possible users doesn't seem crazy to me.

If the $100MM is in fact not worth it, then, well, you get the situation we have now.

I'm sure a lot of people will read this article and think the owners/funders of the drugs are the bad guys. But nobody can be expected to work for free.
There is a counter argument, if you continually shift your focus you will never allow your products to get to the point where they're really making money. Reusable stage two might be a year away, BFR five. That's four years of lost revenue.
How did you handle the database storage for recurring events? Did you have just one entry that represents the recurring event as a abstract whole, or a database entry for each instance of the recurring event?

The former seems "better", but you also run into a whole lot of complications:

1) The user can delete specific instances of a recurring event. Eg: delete the event for thanksgiving Thursday but leave it intact for all other Thursdays

2) The user can make instance-specific edits. Eg: edit the event description with custom meeting-notes that's specific to that week's instance

3) The user can invite/dis-invite people for specific instances. Eg: invite Dave only for the event this Thursday, but not for the following weeks'

Creating a database entry for each instance avoids the above complications, but comes with its own drawbacks: if a user creates a recurring event with no end-date, you have to populate a large number of instances, all the way until some arbitrary MAX_DATE.

I was asked this question in an interview once and I recommended the latter option as the lesser evil, and the interviewer was visibly displeased with my recommendation. I'm wondering what the better solution would be.
>Is there an iterable being acted on? Is this blocking? Is it creating a variable? Two variables? What type is /tmp/test.txt when it has no quotation marks, and how does it handle spaces or concatenation/methods?

Well, if you knew the language, you'd have answer to all of those questions.

Plus, if you didn't know C, you'd be baffled by the other example as well...
I say large amounts, I really mean 'the amount of fresh chilli that would easily heat a curry or chilli con carne for 2 or 3 adults'.

Some meals she'll sprinkle them on, some she'll just eat before or after her meal. She's not a massive fan of spicy foods but the benefits mean that she's carried on with this. I think she read it in an article a year or so before she started - and then ended up with some chillies in the fridge and decided to eat them before they went bad and found a positive impact pretty quickly.

As I say, might all be psychosomatic, but she's happy ;)
Gadgets? No thanks. The fundamental problem with tourism isn't crowds (although they are unpleasant), it's inflation - tourists have more money to spend and businesses will naturally align themselves to suck up that money. Compare with situation of huge student populations in small towns in UK: their interests don't align with the incumbent community, therefore tension ensues. The effect is two-fold: increased prices for consumers and increased rent for businesses (with useful places like hardware shops, local pubs and locksmiths being pushed out by Steak and Lobster and Angus Steak House). Using IoT to spread tourists around the city (however that's supposed to work) just brings the problem to more and more communities. London turning into the next Venice isn't going to be stopped by some techies in SV (who, incidentally, ruined up San Francisco in a similar manner to the way tourists are doing so here).
No need to modify build config, this and other spectre mitigations can be disabled in cmdline (spectre_v2=off)
Thank you. Not sure why I'm getting so many down votes, maybe people are super passionate about MySpace time-line accuracy
This is why hotel taxes are popular. Voters don’t pay them.
They're already making money; reusable second stage would only increase profit a little.
Hey, I'm also working on something similar, namely automatic Elixir to Erlang code transformation at the AST level [0].

Despite it being really interesting, some features like scope analysis for variables detection and conversion, the possiblity of multiple modules in an Elixir file and the Elixir pipes which need to be translated to sequential function calls are honestly a pain in the ass.

Keep at it and I'm sure you'll crack it!

[0] https://github.com/jxub/doppelganger
So which social media site were YOU active on in 2001?
Because if you signal to health systems that you're not serious about your pricing, why should they pay you fairly in the future, rather than just stubbornly waiting for you to give up and sell at a loss?

It's basically the same reason most businesses throw product away rather than just distributing it for free.
Gross. Gross gross gross.

Tourists already get taxed. Hotel taxes are huge. It sucks. Traveling for conferences to meet new people and learn new things is soooo expensive and tourist taxes are a big part of why.

Tourist taxes are how you destroy diversity and trap people into the tiny bubble in which they were born. We should be striving for the opposite.
Thankfully, Falcon 9 is already making money. Reusing stage 2 is an optimization that represents an allocation of capital - capital should generally go to the highest-expected-return uses.
That might be mine as well, https://medium.com/@raphlinus/towards-a-unified-theory-of-op... . It's very much unfinished work though. Certainly wrapping my head around the OT and CRDT literature took huge amounts of brainpower exertion, comparable to what I did for my PhD.

Also, I have your essay in my queue to read more thoroughly, it's high on my list of stuff to study as we possibly rethink the way this stuff works in xi-editor.
That's what I thought. Unfortunately that also affects locals, which diminishes the benefit.
15$ for a cotton T-shirt is still a huge markup.

And the way this operates, Amazon is just a middleman somone else manufactures the shirts they just don’t provide the brand. Which means the actual manufacturer has little reasons to care about quality.
I had the idea of measuring the index of refraction in the aqueous humor using something like a multi-perspective speckle interferometry on the iris.

I think with all of these non-blood approaches is that only the blood matters, and the rate of change in the blood will always be much higher than anything else.
Weighed against the investment to get a reusable second stage. It may still be logical.
The tourist hell mostly affects European cities, which at the same time are usually denser and have a more problematic transport.

In some European cities, native people can't pay the rent to live in reasonable places because tourists will pay more. This has been a problem in Spain (Barcelona & Madrid) and both municipalities are working on it, but it's difficult. At the same time, a lot of stores became tourist specific. In the end, you have two cities at the same time, the old and beautiful for tourists, and an outside city for native people, which native people who lived and worked in the old city, don't like.
> Wouldn't it be better for the awake syscall to take another syscall as a parameter (pretty simple to do in assembly and should be provided as a C library wrapper), in order to guarantee atomicity?

Plus in this case the awake call could be named something more intuitive (like syscall_with_timeout or whatever).
Okay. Let's say you were the dictator of the world. What model not involving "economics" would you propose for deciding how many resources to assign to which medical research projects?
>but instead of banning them they just charge a $250USD tax per day.

Hard to call that a tax when it includes lodging, a personal guide, a driver with car, food, and entrance fees to the things you go see. All you have to cover while there is tips and alcohol.
> At the end of the day it comes down to longevity. The longest lasting companies are ones which have bought themselves into relevancy.

I think it's a little early to say whether Facebook or Google will have the kind of longevity of a GE, ExxonMobil or DuPont. Longevity on its own doesn't actually seem particularly interesting, what makes those three stand out is staying large and relevant for so long, not merely surviving.

> All your other metrics are kind of random and I'm not sure if there is anything that says those things lead to longevity. The few companies who were good at this in the past (Standard Oil, Bell, Railroads) eventually got broken up by the government.

My metrics were directed partly at that point. Microsoft was a more recent target of government. It looks much more likely today that Facebook, Google or Amazon would be targets of government action (with plenty of public support) than it did just a few years ago.
That's like thinking that a city exporting its goods to a foreign market with high income consumers causes inflation in the city.

The businesses that cater to this influx of tourist spending employ locals, which pushes up local wages and spending. The goods/services produced are also not scarce. They can be increased in supply. In fact higher volume retail shops result in more economies of scale, which can reduce local prices.
I can empathize.

I have hundreds of tabs open in my phone’s browser. Stuff that sounds really interesting and that I’m going to read Any Day Now™.

But when Hacker News and CNN ‘run out’, do I read the open tabs?

Nope. I just continuously click Refresh.
Yeah, people just look at the price and think that's terrible, but it's a business not a charity. It's up to the government to step up if people really deem this to be a problem worth solving. With their tax dollars. I bet a lot of critics would go quiet at the point they actually have to pony up.
Some very quick thoughts.. Have something to resemble the event series as a single instance - then have 1...n relation to actual occurrences for occasions when there has been a change, added notes or cancellation. These should be created when the change/added notes/etc. are made.
Or just call them startups if that's what they are. If someone is starting a business selling something then it's a startup, no matter how small initially.