jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
how does HHVM compare to PHP 7 in terms of speed savings? PHP 7 is supposed to be pretty damn fast from what I have seen. I guess benchmarks are hard to read because they're dependent upon a lot of factors. It would be interesting to see two sites at similar scales running competing engines for PHP (hhvm vs. PHP 7).
Precisely. Poker is one of the most advanced games that legitimately teaches you what you need to know! The language used by poker players should be adapted wholesale.
I'm not sure what having so many cameras has to do with that.
Nonstatic typing brings down productivity very noticeably whenever I use it on anything beyond a small script. It introduces a large category of errors to make that static typing prevents; static typing makes the program more cohesive, structured, rigorous, and predictable. The only compelling reason for taking it away is laziness that'll hurt you in the long run, or if the problem/script is very small or trivial.
Very cool site. There seems to be a ton of software out there for dog daycares, is there anything different yours does?
I have a lot of sympathy for his point of view. I loved Math growing up. High school drove the interest out of me, and I didn't get it back until senior Calculus, when I started doing well again. Then I learned to appreciate CS theory, economic theory, etc. Trying to figure out how to break the cycle for my kids: Stats for practical work, and math for curiosity.
No, I literally described giving people the same deal. Grandma wasn’t ‘established’ when she moved in. She had exactly the same deal you have.

Grandma already paid her taxes and now you want to force her out of her home.

Have properties in Redding or Vicksburg not appreciated in the last 30 years?

> Prop 13 only kicks in meaningfully for people who basically won the lottery

You keep saying ‘won the lottery’, when what you mean is they bought a property in a place where properties appreciated in value.

That just sounds like a good investment decision.
As the DeFi ecosystem develops over the next 10 years and likely governments get involved, something like FDIC insurance will emerge in those systems—probably both centralized and algorithmic versions. Rudimentary versions of many financial instruments already exist, including insurance. Bitcoin will become a piece of a much bigger puzzle.
I believe their point was that they would refuse service to vehicles that used those parts, theoretically making a theft of a Tesla for spare parts pointless.

> refuse service to anyone who used parts with stolen serial numbers.
Previous discussion: https://news.ycombinator.com/item?id=26254301
I’ve been a long time Azure user, their SQL Azure product was very glitchy and had constant outages (“just add retries!”), it’s gotten better in the last year or so, but it was totally unacceptable.
The US in general is a low density country and is a popular destination. Does it mean it should pay to whoever expressed the desire to immigrate to the US?
If you need very high throughput I can appreciate this advice. Generally though, cloudsql-proxy is fast enough for most use-cases.
Having more than one owner is just basic common sense though. What if the single owner is hit by a literal bus?
Yes, I would characterise a lot of programming as "cargo cult" programming.

I'm not sure what the details are here besides init script, but in this particular case the job is boring and difficult/slow to test. Who wants to reboot their machine all the time to test it?

... Which is why sysv init has taken so long to fix. If it's not obviously broken it won't get fixed.
Looks like the chrome debugger. I just built a react native app, and for the basic Ajax + list view, it is far easier than the usual drag'n'drop/imperative iOS we are used to.
tl;dr - I'm upset because the raison d'etat for Go's name doesn't exist.

Correct, no -- practical, probably. No matter how many gophers swear that {searchterm} + go returns just as good of results as {searchterm}+golang, it just isn't true.

Maybe I'm just bitter because the reason Go was named Go was because -- and obviously I'm paraphrasing here... "we thought Oogle would be a really cool name for a debugger."

Years later, here I am stuck searching {some search term} + GOLANG and step debugging with GDB.

The worst part though is hearing people tell me, "Oh you know what, I realize how powerful printline statements and unit tests are for debugging! I don't even miss a debugger!" Or-- "have you tried GDB? Go Supports GDB! I haven't used it -- but it exists!" GDB is a god damn hate machine. And the chorus of "print statements are good enough" is motivated reasoning at its finest.
You can tone down the brightness/contrast for those, and/or install an application like F.lux that changes the colour temperature based on the time of day / season. I've been using that one for years now and I haven't had any problems with eye strain or sleeplessness. Note that I don't remember if I actually had problems with that before though.
What works fine? How do you define "fine"? The whole world looks very pretty from space.

But regardless of your answers, its clear to me that many places have governments that are better at pursuing the their national interest, at least in some areas.

Well, one reason is many other countries have proportional representation. At least when its rationally implemented. In PR countries, people can actually choose to be represented by someone that agrees with their values. And if that person or party sells out, that party will lose support or the party members will pick a different candidate next time that will do what they want.

In the US, elections are winner-take-all. So representatives don't have to align their behavior with the beliefs of their supporters; they just have to convince the most people that they are better than the other options. It becomes a con job.

Candidates must tell different things, lie even, to get the most votes or they get no power at all. An expensive process that candidates in a multi-party system don't really have to do because the people pick their party by their values and the membership of the party know their own people. They don't have to struggle to get ALL the power or none; they get their share.

So what you get in the legislature in PR countries are groups that more closely represent the different groups in society. Some want more government, some want less. But in the US system, you just get people who want more power for themselves and have no incentives to stick to any set of values and many dollars given to them to go along with all of the piranhas that abuse our system.

And it probably will not change until the system hits a wall where all of the tricks and cheats have been exhausted and we are finally forced to live within our means.
combine nude.js with node-canvas at https://github.com/learnboost/node-canvas
That the author suggests that, since the iPad has a landscape homescreen, this could just be enabled for iPhone shows a lack of appreciation of Apple's design sensibilities that pervades this article. Just because the iPad has it doesn't mean it doesn't need designing for the iPhone.

Furthermore, the iPhone is primarily a portrait device. The iPad, not fitting easily in one hand, is as much a landscape device as it is a portrait one. I'd be surprised if Apple "enabled" a landscape home screen for iPhone in iOS 5.
Scheme R6RS: LET, LET* , LETREC, LETREC* , ...

I guess you have to learn those. Once you understand what the * means, you can easily see the difference between any construct with and without * .

It's basically the question whether bindings are done in parallel or sequentially nested. That topic should be described in a beginners book when learning some Lisp dialect.
Go for Clojure. It's a modernized common-lisp with access to the wealth of Java libraries. There are resources online, and you should be able to get up and running in a matter of minutes.
In most cases, tracking down memory corruption is pretty easy in C++. The simplest cases are solvable using gdb, and about 99% of the rest can be easily solved using valgrind.
Yes, it is really cheating. A publisher's test bank is very clearly not made for students to study from. The publishers warn students not to read them and try to make them inaccessible. In my experience, the professor almost always tells students what they can use to study from. Whether students can use past exams is almost always clarified - I wonder if a student asked in this case.

However, here the instructor has no way of knowing who cheated. He clearly made a mistake, knowing that using a test bank would make it easy to cheat. So, he should either let all the grades stand or he should point out the statistical anomaly and just make everyone take a new exam, which he did. I can't possibly see how students who didn't confess will be found out, especially if the exam was multiple choice!
I was going to say re: "How is this different from an API Gateway?" – this was a lot harder a question for me to get my head around than William suggests, _because_ API Gateway vendors, I'm sure quite intentionally, have been positioning their stuff as service mesh solutions or alternatives, not as service mesh complements.
hypothetically, lets say someone shares a link to a online newspaper article with me. I click through and encounter a pay-wall. knowing how these things often work, i simply google the title of the article, then go into the same article via the search results, get in and have thus successfully avoided the pay-wall.

have i run afoul of the law?
This was a great read. I am not prepared just yet to deal with the inconvenience of buying, storing and grinding my own beans, but our household gets through a small packet of vacuum-sealed preground stuff each week. It's a workable compromise.

I've prepared coffees with french press (we call them "plungers" in Australia) and a mini espresso machine. Recently I've been playing with cold brew as well. Like the article suggests, different methods bring out different notes in the coffee.

For the next 10 days I am on decaf-only, so cold brewing has made life more tolerable. Decaf in the espresso machine is like liquid dirt. As a cold brew it has revealed surprising tastiness.
Well automation of the trade processing element is what has allowed for algorithmic trading to be possible at anything above a glacial frequency.

But I'm not sure what your question is in response to. Was there a suggestion of a link? I didn't see algorithmic trading mentioned, simply a description of the automation of trade processing that has occurred over the years (vs automation of the trade decision making process).
I heard back -- the incident in question for the other person occurred as a minor, so they could have it removed from their record, but had not yet done so. They explained this to the recruiter (a Google employee), who told them it would not be a problem, and so they didn't get it removed. Then they lost their job. Grotesque.
I don't know if it's safe here to admit it, but I always kinda liked the xterm fonts.

Is there something wrong with me?
I've been using the version for London since not long after its launch and I have to say that it is the best app of its type. The update notes on iOS are works of comedic art too. I've used the android version as well, which is also excellent.
My dad went into an Apple Store intending to spend £1000 on a MacBook. He ended up coming home with a £400 iPad which suited his needs better (and which he loves). I couldn't respect the sales staff more for that.
Perhaps space was more of a concern than cost?
I completely agree. I'd take this new Pebble Time or the Moto 360 as an "Apple Watch" over what Apple actually produced.

To be honest the Apple Watch looks about as clunky as Samsung's attempts (Galaxy Gear) but Samsung shipped a year and a half before Apple, and Motorola about a six months.

I admire Apple's advertising machine, they can sell anything. I think the Apple Watch proves that point. A $350 ($100 more than anyone else) fugly watch that was behind its competitors even before it shipped.

Does anyone here actually own one? What do you think?
If I remember correctly, it's more of a runtime for some .NET programs with access to the Pi's GPIO pins than a full-fledged OS.
It should work like the criminal system in most countries do - do a crime, go to prison for X years. Don't do the crime again, and you get to stay out of prison. Sure it might sting a bit until countries learned that doing things like that hurts them more than it gains them. But slightly longer term, the preventive effects should kick in, and we might get some semblance of civility in international affairs. So we wouldn't wall off the G7 from the rest of the world unless they were very stupid and kept committing crimes.
I'm looking at a human scale, on the order of thousands of years at most (in 1000 years, I expect we'll be able to live on space ships for considerable amounts of time, perhaps even long enough to reach nearby stars before we need to resupply).

Within a few thousand years, there are already cycles visible. If that's what you refer to, then I just mean to generalize that cycle to a new average. E.g. if we cycled between 19°C and 21°C every 11 years due to the solar cycle, then that would be shifted to 21-23°C instead. (I'm making these numbers up, they're just examples of what kind of effect I mean.)

Beyond those thousands of years, even if we're considering the sustainability of our climate even if we had never discovered the use of fire in the first place, yeah there is no "eventually settle" of course. It will change depending on things like the sun burning out, asteroids hitting, other geological shifts, changes in who inhabits the world, etc. That seems beyond the scope of the discussion, we can't simply change that by changing our habits.
> As an aside, HN comments with nothing to say except CSS comments is so shameful.

I see two top-level comments of this sort, and they're both at "I can't read it" severity.
This is a really interesting comparison.

We can’t know the small or incremental damage that VW’s emissions did to people’s health... but at face value, it feels like Boeing’s punishment is an order of magnitude or two too low.
>What people seem to keep forgetting is that only one Presidential candidate has ever gotten more votes than Trump got in this last election and that was Joe Biden. Both the far right and far left wings need to be reigned in.

I'd point out that here in the US, the Republican Party is a far-right party, and the Democratic Party is a center-right party.

There is no "far-left" party that has any influence in the US.
Interesting way in which this is achieved: https://en.wikipedia.org/wiki/EURion_constellation
Matrix and Signal seem to have very different use cases to me. I don't think they really "compete" at all
In Sweden between 1930-1970 we produced building elements from concrete where oilshale was used to burn the chalk and the ashes of the fuel was mixed into the concrete!

That shale ash was so rich in uranium that the concrete turned blue! Since then thousands have died by passively breathing the radon evaporation from the walls in some Swedish houses.

On the subject RTG elements are also used in space probes: https://www.youtube.com/watch?v=H62hZJVqs2o
can you expand on that? and also what do you mean by ways you couldn't even imagine?
Just. Don't. Care. About. Ads.
The article says so briefly, but what makes his show wonderful is the comedy mixed-in with in-depth news research and assessment. It's the kind of thing you'd want or expect on a constant basis from massive, 24-hour news networks, but is either largely absent or lost in the noise. I personally gave to the Society of Women Engineers (http://societyofwomenengineers.swe.org/) after his show because he did such an effective job of conveying his message. More news programs could learn from him.
If you inspect the files in the .git directory, you’ll find commits stored as trees of directory and file objects. But it is true that they can be converted diffs on the fly, which is exactly what the git show command does.
"Crawler" implies it follows links, this looks like it just performs keyword searches right?
Definitely. In my case, biking has a similar effect. It seems that I get most of my work settled during my morning bike commute.
Here's an idea:

Rather than complaining about the Electron apps, write better cross-platform apps that don't use Electron.

I know it's fashionable to dog on Electron, but if it didn't fill a legitimate need, people wouldn't use it.

It's easy to compare an Electron app, that actually exists, with some imaginary native app that doesn't.

It's not so easy to find the budget and personnel to actually build dedicated apps for minority platforms. The choice generally isn't between "bloated Electron app" and "sleek native app". It's between "bloated Electron app" and "no app at all".
The move to the Intel foundry cost Altera a lot - I don't know if it was to position themselves to be acquired or if it was for some other strategy, but it was a very expensive decision. Stratix 10 on TSMC may have landed at the same time as Ultrascale+ from Xilinx.

Generally, during and after a merger, there is a lot of instability in a company as layoffs in comparable departments get figured out and company infrastructures get merged. I assume that on the software side, you were insulated from this instability since they were going to need to keep developing Quartus (or its replacement) either way and Intel had no equivalent.

I was an Altera customer before and during the merger (including after it was announced). It looked from the outside like sales teams and chip design teams had significant amounts of instability. I personally experienced months of delays getting Arria 10s (and associated FAE support) from our sales team immediately after the acquisition. Our new sales team from Intel (figured out 8 months later) was twice the size, had to push CPUs and Intel's software in addition to FPGAs, and was also dealing with the embarrassing situation around Stratix 10 delays.
Intellectually, I know you're right.

There's also the angle that if I want to buy life insurance I may be better off not knowing.

After seeing how it's affecting my dad, I know how I'd "manage" it. It really is awful and decades of mental decline coupled with terrifying hallucinations is not something I'm willing to endure.
Sure, I agree. However, it is also a sign that no new features nor capabilities have been added.

> Quicksort is still a useful algorithm after nearly sixty years. Merge sort after almost eighty.

I am not sure specific algorithms really compare to a whole suit of algorithms and libraries (i.e., a tool) composing very specific versions of a software like GNU lightning, but sure, both Quicksort and Mergesort are useful since their inception. Try installing Windows 3.1 (don't use VMs please) on your current computer and see if we can really live without updating things..

But I'd argue that if we follow your idea, we can say that the democratic concept is also useful since the 18th century. And still, it has to adapt throughout time and be somehow updated (e.g. allowing women and black people to vote or freely use public spaces like toilets and elevators).
Are you happy with Cloud Monitoring?

I ended up moving away from it.

I find the UI to be too slow for the purpose it serves. I'm fine with a slow-ish app sometimes but not when I have to use it often and during incidents.

I also had a few instances over the course of several years where policies seemed to have transparently broke because a system metric name changed. It's possible the issues were of my doing but I don't think they were.

Lastly Monitoring, Tracing and Error Reporting are too disjointed. I wanted a solution that created a more holistic view of what's going on.
That also is a matter of choice. Curiously, the more you get paid, the more latitude you get.
"Availability zones are permuted randomly for each customer"

This statement is false. AZs map directly to physical facilities. If you and I both ask for instances in us-east-1b they will have lower ping times than if one of us has an instance in us-east-1c.

Disclaimer: I used to work for AWS.
C and Java apps with high contention don't scale well onto multiple cores, either.

The key to speed is to not share state, which Python can do fine. It's called fork.
I'm saying we don't spend enough given the tasks they have been assigned. If the President (whoever he might be) wants to be the World's Police Man than we need to spend accordingly and that's not what's happening now.

What's happening now is we're sending soldiers into harm's way with insufficient protection because we can't afford enough body armor.

Think about this for a second. From Bush's first day in office to now the National Debt increased from $5.73 Trillion to $14.3 Trillion dollars yet with all that money our Soldiers are having to ask their families to buy them body armor with personal funds because the Government won't. That's obscene.
What I love about Apple's success?

It's mostly based on design: good UI design and good aesthetic design. Apple is almost a fashion company.

It's not based on any of the things that the windup MBA idiots always harp on: marketing, performance, salesmanship, connections, etc.

Sure, Apple has those things. Apple is great at marketing, their stuff performs well, and they have plenty of salesmen. But so does everyone else. Apple's success is based primarily on aesthetics and user experience, which nearly all players in the industry have ignored completely in favor of the cliches beloved of MBAs.
Reddit has < 5 engineers working on it and in the last few months has been at 1 active engineer for a while. With 13mm unique visitors and > 1 billion page views monthly let's cut them some slack.
Scalable RDBMS is not cheap. Sure, you can use a MySQL or a PostgreSQL server that you didn't need to purchase a license for[1], but the design and implementation for Doing It Right take care, attention and time-- expenses that are not necessarily monetary. If you've built a fully scalable RDBMS-based web application, you won't be posting Show HN: My Weekend Project...

Until someone builds a cloud hosting platform with RDBMS that can do the necessary magic bits, that is.

[1] Yeah, yeah ... MySQL and their commercial licensing BS. It's been awhile but if memory serves and things haven't changed, you can't host a commercial web site backed my MySQL without A) releasing all your source or B) buying a license. IANAL.
- Brave New World (dystopia/utopia, short read)

- Pandora's Star (futuristic (2380), humans are immortal through rejuvenation and are colonizing new worlds using worm hole tech(I think they have 50 or so worlds), long read - lots of sequels if you enjoy the universe)

- Ender's game (futuristic, the movie cuts off 1/2 the book that revolves around Ender's 2 siblings, both also are geniuses, short read - lots of sequels if you enjoy the universe)
I've heard YC has an internal VC review database (somewhat alluded to in the 2nd footnote). I'm curious, has any consideration been given to making it public or semi-public? Or at least to publish a list of "The X best-rated VCs/seed funds/angels" every once in a while to gamify better behavior?
Hang in there. I'll second the advice to find something else you love and do that for a while instead of programming. If you like reading (a lot), try Robert Jordan's A Wheel of Time. Learn a little about cooking. Learn a little about playing a musical instrument; the bass is good - you don't have to be good at all to have fun playing along with your favorite bands.

Otherwise learn something new and unrelated to your day job but still in the programming realm. Learn Erlang or JavaScript. Make sure it has a REPL - the Chrome console is a great REPL for JS. Have fun with it! Don't worry about making something of "value" just make something small that's only purpose is to make you smile.

Hang in there; you'll get through this season.