skysight-inc/HackerNews huggingface dataset:
I've spent the last 3 years doing AWS stuff at work and agree 100%. If all you're using is EC2 then it's not a great value. Where it's worthwhile are the other services you can tie in to really easily. At work we're using:

SQS
SNS
RDS
S3
Athena/Glue
EMR
CloudWatch
Lambda
CloudWatch Events
EC2 Autoscaling, ELB, ALB
Elasticsearch Service
Glacier
ElastiCache
Route 53
CloudFront
Data Pipeline

It's spendy, no question. None of this is stuff you can't do yourself on cheap instances. We'd just need an additional 2-3 FTEs to maintain the homegrown jungle of crap that would replace the managed services. Oops, there went my savings.
Then Durov will be a fugitive in two major countries. I wouldn't envy him then.

As a general rule, if you're going to pick a fight with one superpower, try to be like Snowden and make sure that you can still take refuge in a different one. By contrast, Julian Assagne is what happens when you make enemies everywhere.
You are not allowed to speak positively of capitalism here. It is a messy system, far inferior to the more modern technocratic ways we should be following.
I've been doing cold showers after working out ... but when I do, I'm freezing _the entire day_. Does this happen to anyone else?
The article is conflating two things:

* What happens before main()

* What can you do to make code run before main()

It suggests only the avenue of C++ global constructors to make code run before main() (as others have noted, __attribute__((constructor)) is basically the same thing for C). But there are other ways to make code run before main, such as by use of linker scripts and assembly files to put code in _start that eventually calls main() (note that it's this latter way by which all of the things they mention are done).
How the Chrome OS Files App Will Support Linux Files for Project Crostini
Go Amazon. The seattle government has been increasing is tax revenue 30% YoY, expanded its own salaries, expenditures all of that, and even then its not enough that they want to keep raising taxes.

If amazon doesn't punish their greed, then who can? The small business man? The dozens of loitering homeless people downtown?
I have advised hundreds of clients that have made this same transition, and it's not as complex as you might think. Much of the problem is how you talk about that enterprise experience, which includes both on a resume and in an interview. The company name and size are not really an issue if you position your experience properly and understand your brand and value.
And then we can repeat the process in 50 years when we decide 3D printed buildings look ugly and aren't functional :)
You can switch it back to “native” mode and then it lets neovim handle buffers.
I'm been chewing over your comment since last night, so thanks! These are just some thoughts, which I don't have a high degree of confidence in, but here goes anyway:

I guess the difference between astronomy and diet is that, in my conception, at least, the systems studied in astronomy tend to be less complex than the human body and, therefore, they can be modeled relatively easily. My hunch is that this has something to do the human body being a self regulating, though climate systems on earth are probably of a similar level of complexity, yet are not self regulating (or at least, not in the same way).

So, the difference in complexity between a astronomical system and the human body would be akin to the difference in complexity between a program which implements some relatively straightforward business logic vs. one that implements a system which can identify and hunt prey. You can probably prove the correctness of most programs which implement basic business logic, but I'm guessing a system which can identify and hunt prey probably cannot be proven to be formally correct. You would need to test it in the real world by tweaking inputs and measuring how it responds.
We would have never had NoSQL ...
Oh they're willing to pay for the talent. They just bring it in from the PRC or Eastern Europe, or India. And they can pay far less for that.

I'm not opposed to immigration at all. But prior to coming to Google Canada most of the people I worked with in Toronto were not holders of Canadian degrees. They were recent immigrants, permanent residents and not citizens and therefore themselves unable to go to the US. Many of these people were underpaid significantly, and a lot of them mistreated, in my opinion.

The homegrown talent from Waterloo, etc. had mostly left for the U.S.

Some come back after a few years, but many never do.

Add to that the dynamic of many American companies opening offices here as a 'nearshore' lower cost shop, where all the important and interesting decisions are made in the US and the Canadian shop's job is to just execute it.... crappy.
I'm assuming at least one job (or both) is remote-only? This would be a hilarious story if you somehow managed to hold two simultaneous 9-5 on-site jobs, in neighboring offices.
US embassy issues security alert to citizens Finland over terrorist attack
I’ll upgrade my phone as long as the camera keeps getting better which it does. I want the pictures of my kids to be at the highest quality, since 30 years from now they’ll be compared against really sophisticated imagery.
I have asthma and many allergies, whenever I have a cold, 80% chances it's gonna end up as a long and tiresome bronchitis. In HS, I decided to give no fuck, went to my 2h winter soccer practice (+ 1h total mudtrail bike to go there). That cold didnt last long and didnt end up causing bronchitis. That was surely half luck, but I always have a feeling that, to an extent, keeping your system active helps. More blood flow ? maybe trigger a more rapid and global immune response .. dunno
good pay? nope.
Unfortunately, it is quite likely that stochastic motion would be an effective defense against any simple ballistic weaponry. Airburst munitions (i.e. flak) would be a more robust solution.
Lucky there are plenty of options in this space. Maybe telegram just has the most features with a huge user base which sets it apart. Signal isnt bad.
That may adversely impact quality and desirability of the meat. The costs of transportation will also pay transportation workers.

Also, it depends on the prior competitiveness of the crabmeat market -- was it a sellers' market (prices are already at a maximum) or a buyers' market (prices at a minimum)
Off Topic: Can anyone identify the framework used to generate these charts?

[1] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[2] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[3] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[4] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[5] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[6] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[7] https://adriancolyer.files.wordpress.com/2018/04/google-clou...

[8] https://adriancolyer.files.wordpress.com/2018/04/google-clou...
Coming from Western Canada, the oil and gas industry pays pretty well, or at least it did when I last talked to folks. The O&G industry in Canada is on-par with that in the US.
Elegant but inadequate is common (to name just one combo.) "Not elegant for this purpose" perverts the meaning of elegant. You can say it's not an elegant solution 'cause it's not a solution, if you like, though.

I think you've made a "No true Scotsman" statement, in other words - just swapping "elegant" for "Scotsman."
Can we switch places? (Meager salary and doing the work of 4 people).
That one's gonna be the new "revolution vs evolution".
Remember, Apple seems to enter frustratingly late and frustratingly slow (unless it's to change a port, LOL)

IF wearables is going to be much of a thing I wouldn't expect to see their flagship products come out until everyone else has had some time to work out the kinks with early adopters. Then watch Apple come in with some of the sticky problems solved (like touch on the smartphone, fit/finish with laptops, simpler OS, etc...).
Exactly. I think this point is most easily observed through extern.
Unfortunately, copy/pasting a formatted comment on HN doesn't have enough newlines to quote the post properly.

Anywhere you want one newline in your output, you have to use two.
I don't think you're disagreeing? There will be reasons to have some local tech workers and entrepreneurs in all large cities, including Austin, Dallas, Toronto, and Montreal. But there will also be global nexuses of them in places like SV, and the higher wages in SV vs. Dallas/Toronto reflects the value of the nexuses (and is the economic mechanisms that induces workers to move there).
We get this confusion every time we talk about native compilation. GraalVM can do ahead-of-time compilation of Java code. That Java code could be an interpreter for JavaScript, written in Java. But GraalVM cannot do ahead-of-time compilation of JavaScript. We struggle to always make this clear.

And it's actually more complicated than that:

Of course GraalVM can compile JavaScript to native code, it just only does it at runtime, as a JIT.

GraalVM can run JavaScript during ahead-of-time compilation, so you can run your JavaScript program so far, and then compile it at that point with all its state compiled into the image. We use this to do things like pre-initialise libraries ahead-of-time so when you start to run everything is set up and ready to go.

Finally, the mathematical trick we use to compile JavaScript to native code at runtime, which is called partial evaluation, or more formally, the First Futamura Projection, has a theoretical more advanced variant called the Second Futamura Projection, which could be implemented in GraalVM to, indeed, compile JavaScript ahead-of-time to native code. But implementing this practically is an open problem and not really our goal.
The GDPR applies only when you provide services to EU territories otherwise every EU tourist would trigger this and yeah this won’t hold water.

Good luck asking the Hostel you stayed in Argentina about GDPR compliance.

And if the EU will try to force it via the payment processors which is quite possible then the only thing you’ll see is sorry we don’t accept American Express or EU payment cards signs at many places around the world.
Where in Canada did you live and gone to school?

I live in the US now, and don't disagree that Americans as a people are more...well, I like the word 'ambitious'.

But I think your characterization of Canada is overly harsh: in Toronto and Montreal I know (and love) misfits just as individual, wild, and free as anyone I met during my years in Brooklyn.
1. I think in the first instance, Excel performs type-inference and coerces it into a numeric type and writes a truncated precision version of numeric fields in CSV, which is an abominable sin. There are workarounds for this [1], but agree this is terrible behavior due to CSV's lack of types.

Arguably, there should have been an explicit Excel switch which forces all CSV data to be parsed as raw strings.

I've seen problems with Excel CSVs that are worse than that: I have serial numbers that have leading 0's that have semantic meaning, like 000002324122323. Most CSV parsers cannot tell that this isn't a numeric type and so handle it wrongly. So I resort to [1].

2. Big data is of course somewhat ambiguous nomenclature as well, but is nowadays typically understood to mean the Hadoop ecosystem or similar. Data is typically ingested into a distributed file system (HDFS, S3, etc.) in formats such as Parquet, Avro, JSON and often CSV. A schema-on-read database like Hive sits on top of this layer and presents a SQL interface to the user. Tools like Apache Spark provide programmatic transformations that operate on the data on the large.

CSV is often promoted as a format for storing structured data due to ease of ingestion and inspection (all you need is a text editor for troubleshooting). However, you pay a performance penalty every time an analytic query is run because CSV doesn't support indexes, predicate pushdowns, compression, etc. and records can sometimes be uninterpretable under certain schemas (in which case they are simply excluded or dropped).

Sometimes having one too many commas in a row can completely mess things up (all the columns get shifted in a record) -- I found this out the hard way when Spark exported malformed CSVs with un-escaped commas.

[1] http://support.pitneybowes.com/SearchArticles/VFP06_Knowledg...
Static initialization order may be defined, but that doesn't mean it's easy to reason about.
Can't we say similar things (transitioning from natural resources to tech) about Texas? Are you disagreeing with me?
Repl.it cofounder here. Part of what makes this project and others like it really cool is that kids on Repl.it are really interested doing things the hard way and learning from first principles. Here is another project by a 13-year-old that implements neural nets from scratch with zero external dependencies: https://repl.it/@pyelias/netlib
It is compliant to an RFC, just not a specific RFC. That's part of the issue, that's simply taken for granted because of ideology.
$65,000 isn't peanuts. It all depends on the cost of living. Where I am, my cost of living adjustment for SF or NY is double my pay. Where I'll be renting, instead of owning a house. I live 5 minutes from the office, everywhere is easily accessible within 15 minutes, plenty of parking, the food and cocktail scene is huge here, and lots of outdoors, lakes etc.
On most of the exchanges that deal in ICOs, they're usually traded for other cryptocurrencies like Bitcoin or Tether. These are "funny money" in the sense that they're unbacked by any assets or hard currency, but are liquid in the sense that you don't have any practical problem finding a buyer for them. (This is changing rapidly, BTW, since Coinbase and other licensed crypto-to-fiat exchanges have recently announced support for the ERC20 tokens that ICOs typically use.)

In practice it's not much of a problem, because you sell your ICO tokens for Bitcoin and then you sell your Bitcoin for dollars/yen/won/euros at a licensed crypto-to-fiat exchange like Coinbase, Bitthumb, Gemini, etc. You do lose anonymity because all the fiat exchanges have KYC identity-verification procedures, but each step of the transaction is legal (for the ICO buyer), so there's little risk.
This is by David Graeber of "On the Phenomenon of Bullshit Jobs" fame:
https://www.strikemag.org/bullshit-jobs

Previous discussions:
https://news.ycombinator.com/item?id=6236478
https://news.ycombinator.com/item?id=8561080
What is different in Canada that prevents you from losing housing? What happens if you can't pay rent?
It is proprietary, unfortunately, but you can pm me to discuss it.

Once you understand the problem it isn't really difficult to implement it. The trick is to decide what kind of properties you really need and only implement what is absolutely necessary to achieve it.

I did this in ANSI C using some of the stuff I have already implemented for the project. For example, I already had BER-TLV parser/serializer with very specific properties (managing collections within buffer of specified size, etc.) so I reused it for the file format and then again on application layer for the record format.

The basic database is KV store kept in the form of a append-only log file. The entries are records of modifications performed to the database. The keys and the values are binary and the structure is managed by the application. Application supplies callback to perform some operations (for example, given a base version of the record and a patch, calculate the patched version of the record).

The transactions were basically an identifier and a flag (is the entry end of transaction?)

All algorithms are very simple and focused on constant use of memory.

For example: coalescing operation was basically reading old file and writing alive records to a new file. I would traverse the old file entirely, for each record (O(n^3)) and, using callbacks supplied by the application, write end result of all committed transactions to the new file. After this was done to all records I would switch the files.

Fetching any record meant doing linear search through all database entries to find all entries related to the record, taking base version and then successively applying all patches until entire database file is traversed. This is inefficient as hell but the use case was that the database was very rarely actually accessed. The typical use was to just write data to the database and it was only accessed after failure or in some very specific background tasks.
The choice of board support stuff like crystal frequency is stuff that needs to be tweaked per board really early in the boot process.
How to Be More Creative: Simple Exercises for Your Product Team
That already happened, to a degree. Canada's dot-com darling was Nortel, which at peak accounted for 1/3 of the total valuation on the Toronto Stock Exchange.

Then the bubble burst and Nortel collapsed. A lot of institutional investors swore off tech after that, and it hasn't really rebounded.
I would love to check out the book. Can you mention it here?
I suppose you are unlikely to see anyone here back me up since HackerNews isn't exactly an athletic demographic.

One might think oneself able to safely make unfounded assertions due to the rest of HN being overweight nerds coding away in their basements. OTOH, one might be surprised to find out how many former Cat 1 bike racers and formerly national-class 5K runners frequent HN. And they're not backing you up because their anecdotal evidence says otherwise.
Interested why you chose to focus solely on uBlock Origin as an alternative instead of something more forward thinking like AdNauseum?
What is it about freedom that is so terrifying for you?
I'm a Mapbox employee so take my note with the typical grain of salt - live & historic traffic is available via maps and APIs in these geographies, https://www.mapbox.com/api-documentation/pages/traffic-count... and you can add turn by turn navigation into your own applications with the SDKs, https://www.mapbox.com/navigation-sdk/. Let me know if we should dive deeper ;)
Lies are not just a red flag but a stop sign, but how do you recognize them?
So here's the thing, yes your percentage might be higher. But what's left over is in absolute terms huge. For example, if you have an extra $3000 a month after paying for housing, that's pretty powerful even if you are paying 40% for housing. Sure in a different place you might be at 30% but your post-pay is like $1000. So net wise you're 3x better even with a "worse" rent percentage.
More people developing red meat allergy from tick bites
the battle for privacy, the no tracking options, and those to prevent unwanted ads, has really made for me at least using only one browser just not possible.

while I favor firefox even on my iMac I cannot visit USAToday because of some combination of settings and add ons. Yet Safari works fine. Now if I could just get Safari streaming to behave when I tab away I would use it more but for the most part I have issue with its UI.

fwiw my usatoday failure with firefox is always

found an invalid character in header value
Not sure about that - the Microsoft phones do it really well bit it doesn't seem to have taken off. Only place it has is the Nintendo Switch.
Kinda unrelated to immigration, but I've heard Canadian border patrol is actually more harsh than American border control. Anyone with experience that can verify?
So is the idea of a "time crystal is supposed to have periodic structure at the lowest energy state" out of the window?

If an external periodic pulse is required to drive the crystal to change its structure periodically, the time aspect is coming from the external pulse. The crystal itself doesn't have an intrinsic structural periodicity. The periodicity comes from the external pulsing. Is it still qualified to be called a "time crystal"?

The 2X slower reversing rate does show it has a time magnifying aspect, which can be huge.
I'm guessing they won't include it, but if they really do their job well it'll be easy to add your own.
That's a weird comparison, I guess you say that because California's population (39 million) is close to that of Canada's (36.3 million)? No doubt California is diverse, and by no means homogenous, but Canada... is physically huge, and relatively speaking, very sparsely populated. This naturally leads to more diversity within an already "small" population. To develop a business with a target market of "all of California" would be much easier than to develop one with a target market of "all of Canada."
So you expected volunteers to keep the service running?
An added complication is that one party will buy ad space from Google, and then turn around and sell it on to another party that may put up quite different ads from what was initially claimed.
I think the conservativeness of Canada is a bit different from conservatives in the USA though. It's less focused on "morality" and religion and more an aversion to change. Which is why I think it's possible for the culture to be simultaneously conservative and OK with things like gay marriage and legal cannabis, neither of which would be conservative positions in the US.
Definitely! CC not required for Mapbox account.

Note - I work at Mapbox, on accounts
Honestly I don't know how much consideration devs are actually paying attention to when most of them are probably using fairly recent high-end phones instead of the super cheap low-end mediatek android phones.

I've also noticed that low-end android phones tend cheap out on storage since most people only care about the size of storage not the speed.
You would deposit the money on yoir account, then wire it.
Assigning a 1.1.1.1 to a local modem interface? Cox: that ain't noth'n here hold my beer" and watch a 10.x traceroute go seven hops out the door and resolve somewhere on their network.
Ok. But I do not blame people who unify the two things, because C does not really stress the difference.

On the contrary - even in small details, like for example the equivalence of p[i] and * (p+i), so you can legally write 3[p] in C...(==p[3])
As a user I think it is. It doesn't have to be React Native but using actual native components makes applications feel so much better and use far less memory. Take Slack for instance, decent feature set but feels like a web app with how it works and some of the error conditions it fails to handle correctly (like no longer being authenticated requiring a _refresh_ of the app to fix).

I don't know if React Native is technically the answer but an approach _like_ RN, like you asked OP, makes the most sense to me from a user standpoint.

From a developer standpoint, even with cross platform toolkits like RN, it _really really sucks_ managing multiple platforms. I can understand why most go for Electron or similar. We really need some better, cross platform stories for developers.
I moved from Canada to London for a few months and I did appreciate the tech culture compared to silicon valley because it's not the #1 industry so you get a lot of balance. However the drinking culture is absurd and unhealthy overall.
> And you seem to be a bit underweight

Incorrect. My BMI is 21.4, which is almost exactly in the middle of the "healthy" range for my height. (Healthy BMI range is defined 18.5 - 25)
Here's a CL search just to show you what you could get on the Peninsula. It's not the city, but it's close enough. https://sfbay.craigslist.org/search/pen/apa?sort=priceasc&nh...

The "near downtown San Mateo" listing is a 5-minute bike ride from Caltrain, 600sq ft and US$1785. So about CAD$600 more than your rent.
Here the problem is that specialists aren't that great, and combined with long wait time that leads you nowhere you potentially put your life at risk. Complaint procedures are as bureaucratic as possible so you get no redress.
It doesn’t have a mouth.
That's the point. Just a glance tells you that glass cubes are more elegant than hammers, but it turns out they aren't efficient or effective.