skysight-inc/HackerNews huggingface dataset:
The reason I asked was that it wasn't clear to me if the parent comment was measuring the same way or not re: memory accesses. It seemed pretty expected that a memory access would be more expensive per byte (it takes like hundreds of clock cycles...) but it wasn't obvious to me if it would be so per clock so I wanted to clarify which was meant.
I use this Amex card for everything, the 6% back on groceries is great and more than pays for the cards higher fee. The last two years we've capped out the 6k max which is $350 right there.

Bonus, the card is clear plastic which everyone comments on when they see it.
Show HN: A Website for HTTP Status Codes
We're working on it https://github.com/ocamllabs/ocaml-multicore
How do I get the compiler?

...or is this supposed to be the future of programming languages, compiler-as-a-service where you get a playground but not an actual compiler?
I have an earlier iteration of this with a lower cashback rate and no annual fee. I have to spend over a certain threshold per year to unlock the marketed cashback - it's substantially less below that spend.

One thing that should be made clear is that the cash back is not on groceries, it's on purchases made at grocery stores. Groceries bought at Wal Mart, Costco, Target, etc. don't qualify. Similarly, the percentage cashback for gas doesn't apply to gas stations attached to other stores, e.g. Murphy, Kroger, etc.

I suppose this card could be different, if so it might be worth the annual fee.
As an exploration of Svelte (v3.svelte.technology), I designed and build this fairly simple website that solves a problem I have often - quickly finding HTTP status code info.

It's pretty simple, but I think it can actually be a fairly useful tool in my workflow and I hope the workflows of others. I'd love to hear some feedback!

It's easy to use and super fast, especially considering my previous workflow was:

- Encounter a status code in some code

- Find the Wikipedia article on HTTP status codes

- Press Ctrl-F

- Type in the status code

- Hit return

- Read the explanation

Now it's much quicker for me. I might also make a Visual Studio Code extension to make the process even faster.

I'd love to hear some feedback!
> Swift

That's a pretty cool idea. I read something on HN the other day about using swift in the back end, but haven't used it myself. Hopefully Apple gets support for non-ubuntu linuxes as well as windows out the door (especially since they're no longer making their own hardware). I've heard anecdotally that it has very slow compile times, so that might be another issue.

> Swift is unique in the server world in that it uses reference counting

Out of curiosity, why has no-one done automatic reference counting on the server side before? C++11 has smart pointers, and I believe python does as well (can't speak to this one personally).

I also feel like most languages using the llvm backend could achieve performance at least close to c++; wasn't that part of the purpose? It seems like Swift might be especially ripe for this because Apple is the big developer of both LLVM and Swift.
Pascal and C are roughly equivalent in my eyes, at least as far as what they spit out in the end. Both have pretty similar feature sets and development methodologies.

What surprised me is how much of a hit the OO programs took. I had thought they would compile down to something reasonably similar to the imperative languages, but C++ ended up being 50% slower.
I think there are some rules (especially when selling to the Govt) but we frequently take people out for meals, give out nice bottles of scotch etc as a way to say thanks.
How do you think, would the orders of languages (as listed in different tables in the article) change, if we repicated this study using other CPU?
How the Stock Exchange Works – For Dummies
That's fun - can you see the antenna they mould into the plastic?
Not sure why you picked on Java though. As per this study, Java is doing better than both of them. So at least if the goal is to improve on those, you need to look at Rust/C++/C/Ada.
https://vlang.io/ says "open source release in June 2019", so check back.
What Are Tholins? The Mysterious Substance That Turned Ultima Thule Red
Ok, now everybody reading this has to buy one so we get some good VR content.
The code size metric was pretty interesting to me. I would have imagined that functional programming languages should lead to the most succinct code. But I was surprised to see Haskell in the middle, and Go at the top there! Functional languages are right in the middle for all 3 metrics.
Super interesting, thanks. I suppose if we came from anything, it was scrappy little omnivores.
It's available on the 3DS as a Virtual Console, and it's identical in every way, including the controls.
Fossil Site Reveals Day That Meteor Hit Earth and, Maybe, Wiped Out Dinosaurs
There's also a bunch of good info on https://www.reddit.com/r/churning/ though that is more geared towards signup bonuses.
This was said half in jest I suspect, but it's not a completely off the wall concern. For an infrequently used program the energy burned in its development could easily be a nontrivial amount of the total energy used over its lifetime. If you can write a 5 line Perl script that gets the job done (and is only run a couple dozen times ever), then you're probably saving energy over the 100 line C program despite the massive differences in runtime energy consumption.
This actually isn't very much. I have this card and while it does barely pay for its yearly fee, that's about it. I spend about $300/month on groceries which I think is reasonably in most places except for the most expensive cities. Here's the math:

$300 * 12 (months) = $3600 (yearly food budget) * 0.06 (rewards) = $216 - $95 (annual fee) = $121 reward dollars annually.

Now consider the amex interchange rate of 1.95% + $0.10 per retail transaction. Let's say I shop 24 times in a year. ($0.10 * 24) + ($3600 * 0.0195) = $72.6.

The most amex could possibly lose on my card in a year is $73. But only the most disciplined people will use it for groceries and only groceries.
Basically, rats. Which is probably surprising to no one.
> It's not like the police force gets a kick out of deploying SWAT.

I'm actually not quite sure about this, unfortunately....
Instead of a binary. You're running whatever the language compiles to. So then it depends on how efficient the WASM compiler is compared to the binary on whatever platform, and compared to JS.
I'd think the chances would go up substantially after they are removed from the truck and broken out of the palette, and before they are unpacked and the contents distributed.
I believe the Chase Sapphire Reserve has a 50% redemption bonus on "travel" booked through their portal, and Chase Sapphire Preferred is the one with the 25% bonus.
I’ve noticed similar discrepancies between Perl performance in the real world and in the suite they are using.

The issue is that one of the metrics in the suite is lines of code, so people write fantastically obscure and concise functional programs in Perl when the imperative one would be 2x the LOC, but much, much faster.

(This is from a spot check years ago. Maybe they’ve fixed this somehow).
Idiomatic TypeScript and idiomatic JavaScript are nearly the same; it's not like the C vs. C++ situation. A design goal of TypeScript is to make it possible to define types for idiomatic JavaScript programs, and I think they meet that goal pretty well. It's one reason the type system is much more advanced and flexible than, say, Java. You might see little differences here and there due to limitations in typechecking and the enum feature, but fundamentally TypeScript is just about adding structure and safety to your code rather than changing the way you code.
What program do you use for VR?
The Deadly Price of the Automation Paradox – Human Skills Worsen
That's the mind blowing thing about fossils. The chances of one forming are one in millions... but there have been so many living organisms on Earth that finding them turns out to be pretty trivial. One of my most mind blowing memories as a child involves tripping on a rock in my grandparents' yard, pulling it out, and revealing on its surface the perfect carbon imprint of some fern-like looking plant.

And then we have the one in a million chance of finding the one in a million site, which leads to what the article describes. Pretty awesome.
I absolutely have. I actually enjoy a contract to hire sort of scenario for a lot of my hiring. I think it works out well.
Secure applications are pervasive. Think point of sale terminals, IoT devices and wearables handling personal information, all fly by wire systems, etc. Shakti is a whole family of processors from tiny microcontrollers to server class processors.
No Julia or Crystal, that's disappointing.
Annual fee is $450 not $150. You forgot to mention the $300 travel credit is only relevant if you spend $300+ on travel each year regardless of whether you have the card.
>> "A whopping 128MB of RAM (in 1997, this unimaginable in a laptop)" [sic]

> Really? The PowerBook in 1997 supported up to 160 MB

I think it would have been pretty unusual to have that much RAM installed at that time. I remember my parents upgrading our PC from 8MB to 16MB at about that time (or maybe 16MB to 32MB), and that was more than any of my friends had.
The USAA 2.5% "limitless" card still exists for now (I have it) but it hasn't been offered to new customers for some time.

https://www.doctorofcredit.com/usaa-limitless-2-5-cashback-n...
Tasmanian devils 'adapting to coexist with cancer'
Hah, I was so confused on reading this comment. First I thought you are the author, so then who are you thanking. Seems like I am not the only one :)
Facebook 'mistakenly deleted' years of Mark Zuckerberg's old Facebook posts
Oh man - we had one of those tadpoles back in the dot com days! We got our Sparc Oracle/Weblogic stack loaded up on it just like our 'real' servers. Our CEO took it to a very important conference to do a live demo, took to the podium, attempted to adjust the microphone... and the cord tipped a cup of water onto it. Killed the laptop, but he still pulled off what he was pitching. We were all hoping to run off with it after the event.
Very intrigued by this language but the lack of tangible information is beginning to hurt. I find myself questioning some of the claims and demos shown on the front page. Like translating C/C++ code? Is the doom3.v thing completely fake or not?

I'm not sure why it's being presented this way. I'm guessing it's probably structured this way for sake of Patreon, but it's actually a huge turn off.
BEAM has a 'busy wait' feature. Schedulers with no jobs to do will remain active so they can respond to new jobs faster. You can turn this down so that the schedulers go to sleep quicker, reducing CPU usage.

From http://erlang.org/doc/man/erl.html:

+sbwt none|very_short|short|medium|long|very_long

Sets scheduler busy wait threshold. Defaults to medium. The threshold
determines how long schedulers are to busy wait when running out of work
before going to sleep.
For a no AF 2% card the PenFed card not on the list (https://www.penfed.org/credit-cards/power-cash-rewards) looks better than Double Cash as it doesn't have foreign transaction fees. To receive the full 2% cashback a PenFed checking account is required, but there's no annual fee on that account either.
I always feel like there is a big misunderstanding of what it means to “write a program in some language” in these types of comparisons.

For example, saying that Python uses much more energy is a foolish thing to say. The “same” algorithm written in pure Python is a very semantically different thing. It involves allocation of flexible objects that obey certain attribute lookup protocols, operator protocols, dynamic attribute mutation / creation, iteration protocols, etc. It is presumed that if you wrote in pure Python, you need this dynamism and ability to introspect at runtime, modify data structure layout arbitrarily, utilize an automatic garbage collector, etc. So you’d need a benchmark test that requires all that functionality before it could possibly make sense to test Python. Otherwise you’re penalizing Python for a bunch of expensive overhead, which is totally unfair and foolish because the whole point is that such overhead exists for use cases where either the costs are negligible or the flexibility that necessitates that overhead in any language happens to be a desired and important part, such that to write the same functionality in other languages would first require building all the protocols, garbage collection, etc. machinery that essentially defines Python.

If instead you have some benchmark problem that can be solved in e.g. C or Rust without needing any runtime dynamism or heavy machinery of certain protocols or garbage collection, then to write it in Python you would just write it in Cython or as a hand-made C extension module to specifically bypass the overhead of the interpreter or Python protocols / dynamic lookups / etc.

Basically, it never makes sense to compare Python and C on a benchmark that doesn’t require reimplementing most of Python in C first. Because to solve that problem in Python, the ubiquitous, basic, Python 101 way to do it would be to use Cython or numba or write your own extension module.

Python is basically a special C language DSL for dynamic types, garbage collection, and a set of conventions and protocols.

“Pure Python” is a linguistic trick for saying “a huge ton of tools that make C-level polymorphic structs easy to use.”
neat idea, but seems like vaporware, mosty
Grep is a damn useful tool, I use it every day. But is it just me or does grep sacrifice convenience for performance ? Eg. it rather skips some bytes, then to make sure it finds everything. And case sensitive is default, where you most of the time want to find all case variations.
>I think what he's saying is the smart move for investors is to keep the process going (buy property, see appreciation, capture gains upon sale, re-invest gains to buy at even higher price point) until it goes bust. By "continuing to pump in capital and re-leverage based on equity", the prices will continue to go higher until they bust.

Close, but it's even easier on that. You don't need to sell to extract value from the currently financed properties. Selling incurs transaction fees. You don't want that!

Instead, you just use repaid principal/appreciation to lower the cumulative LTV against the entire portfolio of properties. This means if the market in your area is going up 10% yoy and your down payment is 20% to avoid insurance fees, you basically get .5 house downpayments per year off appreciation, before rent.

Do that for a few years, and suddenly you own a lot of property.
While I'm also bullish WRT Swift-on-the-server, reference counting has absolutely been done in server-side languages before. At least Python and PHP use reference counting, though they both also have runtime cycle breakers.

Those examples are both interpreted languages, and they have a higher runtime cost for memory management because they're actively breaking reference cycles, so it's not apples-to-apples, but it's still reference counting.
Counterpoints:

* Redemption is extremely limited (only 1cpp for reimbursements for "travel" charges, and minimum 10,000 points ($100) redemption)

* That annual fee quickly eats into effective cash back after the first year. There are 1.5% cashback cards with zero annual fee; for that extra 0.5% to be worth $90 you have to put more than $18k in spend on the card every year.

I got one of these for the sign-up bonus (and I'd recommend doing so!) but I wouldn't hold on to it for a cashback card.
Another option is nail polish. It comes in plenty of colors and you can add a thin layer of polish to make the LED dimmer but not totally blacked out.
I improved Rust's version of binary-trees by about 0.05s (on my CPU): https://salsa.debian.org/benchmarksgame-team/benchmarksgame/... , so Rust score may rise.
I've found tech meetups scratch that itch a little bit but I'm 2 years into remote (with a wife and 2 kids) so maybe more is coming... Just curious if you tried that and if it worked or not for you?
I love this kind of stuff. Currently listening to https://archive.org/details/78_i-got-fish-to-fry_ricky-riddl...

also
https://archive.org/details/78_song-of-the-islands-na-lei-o-...

they seem to be available in 24 bit FLAC format too - lots of fun.
Thanks, I think we will try it too.
The Use and Abuse of Witchdoctors for Life – Sam[ ]Zdat
Buy toilet duck.
The reserve has a 50% (not 25%) bonus for anything on their travel portal — air, hotels, or car rentals. (The "preferred" is the Chase card with the 25% redemption bonus on their travel portal.)
Alameda County increasing while SF and the peninsula are flat to down should be ringing very loud alarm bells in people's heads. Alameda County is not a sophisticated buyers market. This same county was hit hardest and had the most foreclosures in 2008. Peak prices for this cycle folks. This is your loud and clear indicator.
It's easy to cash out the travel credit without traveling.
For travel you might want the Pathfinder Rewards card instead. If you're not traveling Citi has the advantage of letting you create virtual account numbers and showing you your FICO score.
Awesome! That’s really as huge a step as the article notes! Thx
They’ve been around for 27 years. BigDog was 14 years ago. Maybe “production ready” is not really a part of their company culture?
FWIW, the first machine I ever had broken-in to was a personal box I ran outside the firewall of an employer and the vulnerability was in BIND 4. Circa 1996 probably.

I’d still run my own email if it weren’t such a pain in the ass. I’m not new to this stuff[1], but at some point you get tired of doing SA stuff at home when it’s also your day job.

1. https://duckduckgo.com/?q=qmail+jay+soffian
"Nobody goes there any more. It's too crowded." -Yogi Berra
and all of this had zero effect on revenue and customer retention, congratulations you played yourself

also the FBI has merely made suggestions to Reykjavik Police to infiltrate servers and they did

> After the initial revelation of the server's location in a data center in Reykjavik, Iceland, the filing explains that Reykjavik police accessed and secretly copied the server's data. As agents of a foreign government, the prosecution argues, they weren't required to seek a warrant from any US authority.

The owner of those servers is in US prison right now serving a double life sentence

Iceland's domestic laws didn't help here, and the lack of a formal arrangement with cross-sharing intelligence communities didn't help here

So you are either implementing a zero-knowledge service to begin with, or wasting your time
> there's no telling what "extra" Javascript (and thus overhead) might be inserted by the Typescript compiler

TypeScript doesn't do this. With only a few exceptions, the way to turn TypeScript into JavaScript is to remove the type annotations, which leaves you with JavaScript. This is an important design goal of TypeScript: it doesn't change your code, it's just JavaScript with types. Like Babel, TypeScript can be used to compile to earlier JS versions like ES5, but I'd consider that a misconfiguration in an environment like this.

Saying that TypeScript is slower than JavaScript is almost as silly as saying "C++ with comments is slower than C++ without comments". If you see a C++ program with comments that's slower than another one without comments, it's almost certainly because they're different programs, not because the comments have any effect. From a glance through your links, it seems likely that all of the running time differences are just because it's different code being run.
Unless you end up somewhere that doesn't support ApplePay, and doesn't accept AmEx. It's uncommon (where I live, at least), but it definitely happens.
Scott's Hut
At least when I was in that situation, people were absolutely willing to loan me money, but I consulted a securities lawyer and they said the terms of the lockup agreement prohibited any loan against the value, hedge, agreement to sell, collateralizing, or anything that might in any way look like a sale or attempt to offset the risk, full stop.

So yes, ibanks will loan you money, because they don't care if you violate the lockup agreement. This should probably not be surprising, and it's buyer beware if you do.
This is actually a thing. John Fogerty might be an unlucky pioneer. http://mentalfloss.com/article/27501/time-john-fogerty-was-s...
Pro-Privacy Search Engine Alternatives to Google
I want a university or public library to manage the largest online database of videos (which is defining our culture to a great extent), not a big company like Google. A big company can provide the hardware, though.
Energy per operation and delay per operation, on the order of ~40-100X more than compute...
AFAIK it was posted without the authors knowledge both times.
Twitter thread talking about some holes in this story: https://twitter.com/Laelaps/status/1111749308884279296
I think most of the suggestion aren't realistic. You can project the same desire for customizability to any software product. For Hacker News:

- Let me configure the order of posts based on voting patterns (hot, newest, controversial)

- Let me adjust the weighted score of posts based on the age of the account.

- Let me configure the home page.

> Let me replace the recommender entirely with something of my own devising, called back through a webhook.

Is there any popular consumer product that allows custom recommendation based on a webhook? Opening up a core part of your product to an untrusted and probably unreliable third-party is not a good idea.

> why am I stuck with their recommender that only cares what it thinks will cause me to spend the most time on YouTube.

This is addressed by the article:

> The first is this notion that it’s somehow in our interests for the recommendations to shift people in this direction because it boosts watch time or what have you. I can say categorically that’s not the way that our recommendation systems are designed.
Only a moron would believe this.. who could they possibly think they are kidding?
> if you think stocks are the most lucrative investments

I didn't say that. But they are the easiest to get into and it's a level playing field (all the info you need about companies is online). Few will deny that early investments in MSFT, AMZN, etc., were incredibly lucrative, and anyone could have invested in them.

As for the minimum investment thing, that came about because of endless lawsuits people bring over failed investments claiming they had no idea what they were doing and need a nanny (i.e. the government) to hold their hand. I don't advocate such restrictions, so don't hang me on it.

> you have a lot to learn about the financial systems

I've done tolerably well investing in stocks, and so as you can see I talk about what I know.
There were at most 1 or 2 semi-equivalent products when they came out. Some have caught up with the specs, but fewer with the easy switching between devices.
I thought the benchmark game is set up so every language's advocates can tune their language's programs. The only chance at a fair comparison is if every language gets the best implementation it can find for the challenges. There's nothing else that approaches fair comparison of apples and oranges.