skysight-inc/HackerNews huggingface dataset:
This is correct and leads to conservation of energy — to see why, imagine a frictionless pendulum. If you prove that it returns to original position once, you know that it will swing for eternity because if the system is in the same state and only the time has changed, it do exactly what it did previously. Which is to say that the energy of the system will remain constant.
Agreed wholeheartedly. The word passion is over hyped. And it makes very less sense especially when we are from a poor country like India where people run to make their ends meet.
Well, I once spent about, oh, 6 hours writing and rewriting a solution and kept on getting the same wrong answer. Turned out I hadn't trimmed the input properly. Hey ho.

But, I'm slow, and I try to do it TDDish in a language I'm not so familiar with so there's that.

This year my aim is to finish all the problems by Nov 30th 2019 :) Even when I try go _as fast as I can_ (in ruby) I've only ever managed about 120th on the leaderboard. Now I just aim to have fun and learn as much as I can.

But to answer your actual question, if they're easy, within half an hour or less, hard ones, anywhere up to 5 or 6 hours (I'm slow, I'm OK with that :)
In India, the Supreme Court is enthusiastically involved in many things. It considers it to be its job to keep the government honest, etc. See this blog post on the tenure of the most recent Chief Justice of India, by a lawyer and expert: https://indconlawphil.wordpress.com/2018/10/01/ends-without-... (See also: https://indconlawphil.wordpress.com/2018/10/30/constituting-... )
Why did you have to call it Clippy?!?

Of all things you could have called it....
Shoddy construction or not, it is a beautiful design. Can you recommend a source for that? I can imagine that he was in a hurry to have it built before he died.
Dynamic AppEngine Configurations Using Gradle Part 2
Fixed – Fixed-place decimal math library for Go (github.com)
https://news.ycombinator.com/item?id=18559625
https://github.com/kristopolous/BOOTSTRA.386

enjoy
> Please file an issue with any feedback you have! We’re also looking for people with abilities of all kinds to help maintain the site, and especially people with design, CSS, and marketing skills. If you’d like to get involved, please email us!

Just a reminder that if you've got some time to type out a comment in this thread voicing your dissatisfaction you could type that comment out into a Github issue[0] and become a certified open source contributor(tm)!

One of the best things about rust is it's community and it's willingness to change and find better ways to do things.

[0]: https://github.com/rust-lang/beta.rust-lang.org/issues/new/c...
I found this article incredibly thought provoking, particularly the jettisoning of axioms necessary to understand more and more phenomena.
I never gave a sh about worthless hotel rewards inviting you to stick with their brand, pay more and sacrifice more important reasons for questionable (always in a future) benefits.

I choose hotel for proximity or convenience to my destination, or cost.

Hence this loyalty turbulence is largely a non-event for me.

I never played hotel currency games and when their values goes down - it does not affect my decision to stay at that hotel or at their competition next door.
I prefer to imagine our descendants being happy.
We detached this comment from https://news.ycombinator.com/item?id=18562804 and marked it off-topic.
So Sheryll is now a conservative? Uhhuh.
Yes. I used my phone to log on to a wechat group chat Wednesday night from at least 10m away, probably 15m. Said QR code was on a big screen.
You don't control when the transit operates, where the transit goes, or what type of equipment is used. You have no ownership. You can do nothing if the line shuts down due to snow on the tracks. This is not independence.

The car is fine in snow. There are numerous modern alternatives to the old-style heavy chains, which of course are still available.
There's this[0] one from 10 hours ago, but it's pretty buried by actual discussion at this point.

[0]: https://news.ycombinator.com/item?id=18561684
This is in part what Cloud Native Buildpacks is working to solve. Can you come find us (https://buildpacks.io)? I think it would be really helpful to have CNB supported in/as Layers.
Totally. I do it too and also have saved money by price matching things. The backwards thing is that besides all the technical limitation of price tracking that was already discussed in this thread, the ultimate motivation behind strategies like price matching or rebates, is that they give the customer the feeling that they are beating the system, but really is just an extra psychological incentive to get you to purchase something.
Look at https://adventofcode.com/2015 :) A lovely Christmas tree!
Medicine also includes positions like nursing. If you want to create a world that's pure 50/50 then you would want there to be programs to get men into nursing programs.
Ditto Kotlin.
Nix allows you to easily create from scratch containers.
Trello sold for nearly half a billion with a product that is arguably simpler than Asana and a monetization process that was far less aggressive. So I'd say that the 1.5B valuation isn't too ambitious
Necuno Mobile – open source mobile phone running Plasma Mobile
The key phrase is "who are not fully aware of their responsibility". The commenter is not wrong in identifying a subset of the candidate pool which has a high risk of inadequate experience for this kind of work.
I am 37 year old Indian. I find it actually crazy that a 17 year old guy is solely driven by only money.

I always have this impression that kids are usually driven more by interest. But maybe it is only me.
GIMP is an acronym (backronym?) for the GNU Image Manipulation Program. So I guess to blame GNU if you’re not a fan of GIMP’s name.
Everyone should read his comments[0] about Facebook and Google, before you criticize the guy.

> what their motivations might be by doing research is just common sense

The rhetoric that you guys use, especially when you talk about someone who's probably as genuinely committed to a civil, liberal world as George Soros: you sound like a South Park character. You can watch a clip that uses conspiratorial rhetoric (and makes fun of it) here: [1].

And I think the amazing thing is, it's not that South Park turned into this right-leaning children's TV show. It's that Republicans, libertarians and just cocky, downvoting male engineers alike have all started to turn into South Park.

"What you gotta understand [Hacker News], everyone has an agenda."

[0] https://www.georgesoros.com/2018/01/25/remarks-delivered-at-...

[1] https://southpark.cc.com/clips/mqwfxt/its-right-there
Imagine being so rich that founding a $1.5B company only adds marginally to your net worth
Google Container for Firefox – Prevent Google from tracking you around the web
Ask HN: Client's project can be a startup
Hello everybody,

So, a client is hiring me to make a project for them (software). It's a pretty sophisticated tool and the alternatives are quite expensive.

I'm trying to figure out how can I (if I should) communicate that to the client.

Do I reach an agreement in which, for example, I change them less but I keep ownership of the code?
Make it an open source project and provide it as SaaS?
Proprietary code and equity?

Thanks!
Redis 5.0 Streams feature is a great alternative.
2 - Okay all psychiatric disorders use checklist and interviewing, but that may reflective of a problem with modern psychology.

It's very hard to say with any objectivity how much happiness, calmness, or attention is proper when your life situation may be bad, stressful, or boring.

So even if there is a biological condition that stems from brain differences, what is the R^2 between professional diagnoses of ADHD and actual biological cases of it?
To break down the original sentence, "it describes a system that is too complicated at the current moment in time to unravel into a deterministic system," it implies that chaotic systems are not already "unraveled" into deterministic ones. The reality is that chaotic systems are all already deterministic by definition, and in fact many of them are completely "unravelled" (insofar as the equations that govern them are known.)
Valuations in Silicon Valley are not based on some rational price to earnings multiple. It is based on what investors think a large monopoly like SAP, MSFT, GOOG, CRM, etc would pay for it. Even the 8 times revenue is not a good benchmark anymore. The buyer will have umpteen ways to justify the price- new users, complementary products, etc. Just see SAP buying travel expense app for $8B.
It's not like he's alone in criticizing Facebook, and with good reason.
Most young women can easily find "serial monogamous", short term, male partners with highly desirable qualities such as physical good looks, relative success, social skills etc., but most of this limited pool knows they are desirable and do not really want to get bogged down with a family

Women stopped being overly monogamous compared to men since the introduction of birth control. I wouldn't be surprised if tables have turned.
I think that the rationale for using int for array indices and lengths and so on is to avoid shooting yourself in the foot with wrap-around arithmetic (again, my thesis being that when 99% of people use integers, they expect them to behave like integers and not wrap)

Take for example code which finds consecutive differences in a list, something like

for i := 0; i < len(list) - 1; i++ {
print(list[i+1] - list[i])
}

This code looks fine and reasonable, and we even avoided the off-by-one error at the end. However, if len(list) is a uint and we run this on an empty list, len(list) - 1 is then 2^32 or something, and the program explodes.

So this is the rationale for using signed integers rather than unsigned integers. I think the language semantics should go further, and use true integers pretty much everywhere. Note that the compiler could still easily see that the index variable in the loop above is bounded, and use a machine word under-the-hood. But the programmer only ever has to think about well-behaved integers.
Product page link:
https://aws.amazon.com/outposts/

From the FAQ:
Q: Which AWS services do Outposts support?

A: Customers can provision Amazon EC2 instances and EBS volumes locally on an Outpost. At launch or in the months after, we plan to add services like RDS, ECS, EKS, SageMaker, EMR. Like today, customers can use Private Link gateway endpoints to privately connect their VPC resources to regional AWS services such as Amazon S3 and DynamoDB.

Curious to see prices.
Whenever I step into Delhi, or any major Indian city, I feel like I'm stepping into chaos. The buildings are blackened and poorly planned. The sky, perpetually grey with pollution - India is more then few metro cities. It’s vast and varied.
Not really. Just a comment by a visitor. It’s said it took thousands of slaves about 20 years to build but aside from the architect they may not have had expertise.
“There is a false saying: “How can someone who can’t save himself save others?” Supposing I have the key to your chains, why should your lock and my lock be the same?”

- Nietzsche
Most problems are pretty quick to solve, maybe 30-60 minutes. Scheduling that time every day can be tough. Some problems are pretty tricky.

I still haven't solved all of 2017's, "some offset delay" indeed. I might not have solved all of 2016's for that matter - the closer it gets to Christmas, the less likely I am to touch a computer at all.
He stuck around for a while attending classes without being enrolled. That says something about how much he valued college.
Hmm haven't tried it but I would think it would work, it's all about focus and resolution, if you can take a clear shot of a PPT slide from the back row then QR should work too...

How about this for a test - display a QR from a TV hooked to your laptop and try to scan it from the back of your room, with the lights dimmed and at various sizes...

I think it ultimately depends on the focusing ability of whatever QR reader app you have.
You could probably get this from Carbon3D right now:

Caution: Marketing articles
https://money.cnn.com/2018/07/06/technology/adidas-speedfact...
https://www.carbon3d.com/stories/adidas/
> the people in the latter group do not want just to live in houses with gardens.

Pro tip: you are a very smart person, but not even you are good at reading the minds of everyone else. Not only that, there are people who live in houses with gardens who share your opinion.
I think the issue that GP is having is that we often expect this of them too young. We expect them to come in and be quiet and sit in focus at an age when they're bursting with pent-up energy, and then diagnose the worst of them as ADHD and give them a pill. Yes, we need to teach them to handle that type of environment, as that's (sadly) how the rest of their lives will be...But I think we need to do it a lot more gradually, or even a bit later, than we currently do.
A Nomad Story
I've recently published my latest article on Medium. It's titled "A Nomad Story". It's a real-life story based on my experience as a "digital nomad". I would appreciate any and all feedback! I just want to be a better writer!

https://medium.com/@jessehorne/a-nomad-story-c50a499b4866
TLDR. What's the theory?
The more nuanced and better side of that is that any language is better without badly designed and badly implemented generics.
What do you mean by paper trading account?
Yes, but the parent summarizes India quite well.
You need to add a lot more generic icons that are not tied to specific cloud providers. I found it very difficult to map out a system I built in a datacenter.
> It is very common for language runtimes to link and depend on libc on Unix

It is, and this is where you have to choose between a fragile executable that linked to a specific vendor and version of libc (glibc, musl, etc.). or a bloated executable that statically links it.

> MacOS doesn't guarantee backward compatibility for direct syscalls.

Sounds like Go should use the stable API MacOS does offer. If the stable API is libSystem (different than libc), then so be it.

But if we're talking about Linux libc, there's no reason for Go to use it.

> POSIX is defined in terms of a C standard library

Specifically POSIX.1 (not POSIX.2).

Also, for what it's worth, POSIX compatibility falls short of Go's goals for compatibility. Specifically, on Windows. So I'm not sure what there is really to gain by following a different language standard for a different set of platforms that you desire to support.
Is there a Net Profit target % too?
> This is because I value incumbent residents and future residents equally, but local control only can give the former group of people a voice. In this way, I do absolutely find it anti-democratic.

Maybe I'm just a hick who doesn't understand big city think. But I interpret this to read "The people around here can't make proper decisions for our future, so let's depend on everyone else from other places to make the decisions for us and force us to obey."

That logic seems flawed.
This is idiotic comment at some level, sorry to say.

Any historical monument should be preserved not only because it is beautiful but because it captures history. It is the history which is not written in textbooks, it is the history which is right in front of you to see.

Taj is just a building but it tells so many stories about architecture, mogul empire, passion and what not.
seems they they messed up the wget-1.20.tar.gz extracting it has a wget-1.19.5 directory name instead of wget-1.20 named directory

tar xvzf wget-1.20.tar.gz | head -n3
wget-1.19.5/
wget-1.19.5/GNUmakefile
wget-1.19.5/Makefile.am
And California also has problems dealing with water pricing during draughts due to the that precedent.
How to find the topics that attract the right customers to your site
What? FB didn't have George Soros shadow profile at hand?
> Are you assuming that each of those 75,000 people pays property tax?

Yes, because effectively, they are. Renters pay for it through their rent (landlords don't just eat costs for free) and obviously children don't pay for their own, and homeless folks don't and such. But effectively, most every resident is paying property taxes (or someone is paying their share for them) in some way or another.

> I too will engage in your random exercise. Let's pick Paso Robles, CA

So, using your approach for the suburb I picked, all road construction + maintenance + repair costs are about 20% of the total suburban budget. Approximately $8/person/month. (This is in Michigan, where we have snow+ice+flooding for 6 months straight each year, so that seems totally reasonable to me.)

Using your own link for Paso Robles to the budget they provided, they're devoting 12.1% of property taxes to street maintenance. With ~29k people, that's ~$4/person/month.

So, your suburb spends even less to maintain their roads (per capita) than mine does. Isn't that a good thing? Doesn't that just further reinforce the fact that there is no coming "infrastructure apocalypse" for roads? If Paso Robles needed to double their entire road budget for some magical reason, you'd still be paying less than what folks up here already pay every single year.

> In fact, if you look at the city budget, property tax can barely pay for the public works of the city. Without other sources of revenue, the city would fall woefully behind on its payments.

Isn't that also a good thing? In a perfect world, the total taxes collected would pay for all the services provided, with a little set aside for a rainy day and nothing more left over.
For others looking for their past year results, check out the URL: https://adventofcode.com/2017/leaderboard/self

Probably 15-20 minutes a day on average (edit: yep, my data from 2017 supports that), but with large spikes (and the average goes up towards the end of the month). (But I'm pretty quick — I was on the global leaderboard the last few years in a row.)

Edit: real numbers from 2017:

Excluding outliers and days I was absent at the start of the challenge: average 12.5 minutes for part 1 and 19.5 minutes for part 2.

Only excluding days where I was absent at the start of the challenge: average 16.25 minutes for part 1 and 23 minutes for part 2.

Edit2: 2016 was similar: 19-25 minutes excluding outliers, 23-35 minutes excluding days I missed the puzzle release by several hours.

If you're going for speed / leaderboard, Python is usually your best bet. Suggested libraries to be familiar with include:

stdlib: binascii, collections (especially defaultdict), fractions (gcd), itertools (combinations, combinations_with_replacement, permutations, product, izip, chain), md5, re, os/sys.

Non-std: networkx (graphs and shortest path), sympy (isprime()), numpy (efficient representation of large arrays).

It's useful to have a canned exhaustive tree search prepared (breadth/depth/"best"-first search).

You can use complex numbers to represent 2-dimensional coordinates and direction; turning the unit vector left and right involves multiplying by 1j and -1j, respectively, and movement is addition.

Oh, and sometimes pypy is faster enough that it can make a Python solution viable where otherwise it would have been too slow.
Work 80 hours a week, make sure they pay you at least $250-300k for it. Retire after 10 years.
As someone who quite likes generics, I'd love to see how a modern strongly-typed language solves problems without them. And I think that's what the Go community and developers have been trying to do up until now. It looks like they're giving up. I'm not sure whether we'll ever find another way to tackle composition/scalability as effectively as generics do, but such a technique would be fascinating to see.
The NYT has been around a long time and at various times has written multiple glowing articles about Joseph Stalin and Adolf Hitler and other despots of all stripes which does not speak well of ye old NYT. It is difficult to find a disparaging word in any of their coverage of current day neo Nazis in the USA when they have done extensive interviews. One needs to judge each article on its own merits.
Super Soldiers
I do know how to manually cast, although in my case I'm usually casting to Integer. I was arguing that a cast from Num to Float, Double, Int etc is a lossy operation, and breaks the semantics of arithmetic, and so should not be done implicitly.
> Postscript: There ought to be a scifi weapon that flings pyramids.

Theres a recurring trope of advanced civilizations (human or alien) using directed asteroids as weapons. In this case Starship Troopers is the first example that comes to mind.
i like the genre, but I think we are going too far to the point its making people nuts. i do think our movies/shows/music have a huge causal impact on your moods/feelings, so we should be weary of how much we consume it. so now i treat dystopian shows like a beer, toxic but enjoyable in limited quantities.

i also feel there story-lines are a bit trite. gee, another 'evil cooperation taking over everything' dystopia
(Disclaimer: at Google)

My team has ~200k lines of Go code and I'm exceedingly happy with the state of the codebase. Having previously maintained a C++ codebase of similar size, I can say that the pace of changes is higher, the effort necessary for large scale refactorings is lower, and our ability to reason about the system is similar.

A few examples:

- Refactorings are simpler due to the use of consumer-side interfaces. Say you want to inject an in-memory cache above a backing store. To do that you probably have to change the constructor and provide an implementation matching the 2-4 relevant methods. That's it.

- Tracing code is slightly worse, due to having to track callers through said duck-typed interfaces, but on the flip side multi-threaded code is sufficiently simpler to reason about that I call it a wash. Having previously had to do threading in the form of "control flow" state machines, and then fibers (which were better but not perfect, and still aren't widely available), Go constructs are great. Locks where appropriate, channels where appropriate, overall very fast and clean code.

- Performance is good, and reliable. Not as good by cycle-count as C++ - and e.g. the comparable RPC libraries are definitely less mature than Google's very-well-kicked C++ libraries - but on the other hand it scales almost linearly. We started a system at ~5 cores/task under AutoPilot, and then when we next got around to adding more tasks it was peaking at ~60 cores/task at essentially the same per-core throughput. I've never managed to write a C++ server that can accidentally scale concurrency by >10x without hitting _some_ bottleneck.

- We use Go for ~everything. Server code, definitely Go. Client tools, also Go. Simple scripts, bash until they need their first 'if' or flag or loop, then Go too.

- I'd prefer real generics to interface{}, but the number of places it comes up is minimal enough that it's no more than a minor annoyance.

I can't speak to the issues of package management - we dropped compatibility with Go's native package structure fairly early on and went all in with blaze/Bazel (http://bazel.io) to coordinate builds and dependencies and whatnot, and haven't had reason to try modules yet.
I don't see any support for switching human language on the beta site. Having the ability to switch on the page itself helps a lot.
If the choice is between badly implemented generics, and having the problem manifested as userland code, I'll take the latter. I've actually had to debug C++ production code produced by the confluence of templates that had no source code of it's own. At least with boilerplate, you can simply see what's going on right there.