skysight-inc/HackerNews huggingface dataset:
Right. If you have a wide market downturn, all of the "active investors" are going to take their money out as cash and wait to buy and the "passive investors "are going to take a bath.

The mistake that index fund adherents make is that there is no such thing as passive investing.

Certain market participants have been screaming about this fact to anyone who will listen for 2+ years now.
For people to rich to afford just installing linux..
Doesn’t seem to work on iOS Safari; I don’t see a submit button anywhere. Nor do I see any result when I change the values.
If you intend to box everything most of the time, you might as well just use a higher-level language with GC, like C# or Swift.
Yes, not ban, just charge more, regardless of what type of car.
On top of the access issue is the financial knowledge gap between people of different socioeconomic backgrounds. Not only are people limited in what they can invest in, but they might not even be investing at all.
Yes, there's been lots of writing about this. I've been implementing linked lists in various ways over the last week (including right now), so this is very top of mind for me.

The core of it is two things: mindset, and how programmers think about learning languages.

Mindset: there's two things at play here. The first is that C programmers tend to reach for linked lists by default. It's a CS 101 data structure. Not super hard. A Rust programmer, however, would reach for a vector (or a deque) by default. For many use-cases, these structures are better, thanks to amortized allocations + cache reasons. As always, depends on exactly what you're doing. The second mindset issue is write vs use; C programmers tend to write their data structures themselves. Rust programmers tend to use packages. If you've determined that you need a linked list in Rust, you don't start writing one: you "use std::collections::LinkedList;". It's a doubly-linked one, so maybe that's not what you need. In that case, you go on crates.io and see if someone has already written what you need. (225 hits incidentally: https://crates.io/search?q=linked%20list) Only if that fails do you write it yourself. As the ecosystem has filled out, this happens increasingly infrequently. So "a linked list is painful to write" just doesn't apply to the vast, vast majority of Rust programmers who are simply getting work done.

Learning: because linked lists are a CS 101 data structure, they're something people reach for when learning Rust. But different languages are different, and Rust is not C. Writing a good data structure isn't a beginner Rust topic, it's an intermediate to expert one. There's stuff Rust makes easy that C makes hard as well. You can't assume that topics are equally difficult across the languages. Even then, there's http://cglab.ca/~abeinges/blah/too-many-lists/book/.

TL;DR: linked lists being painful to implement is sorta true, but also not really relevant, other than people who try to learn Rust by building them and having a bad time. (Which is unfortunate, but many people don't as well, or have at least heard that they're hard and so have the right expectations going in.)

Now, I've gotta get back to my benchmarks: std::collections::LinkedList is twice as fast as my straightforward C linked list, and I gotta figure out where I messed up. I'll check back later for replies.

(If you're interested in this benchmark I'm working on, https://godbolt.org/z/lF1D85 is the disassembly. They look so close, I have no idea why 100,000 pushes, the Rust impl is taking 7.9038 ms on average, whereas the C impl is taking 15.413 ms. That seems very wrong...)
Yes, but it impacts everyone in the index equally. Index funds are not responsible for amazon in particular's performance.
We can already suggest a simple interpretation: generative art is more of a craft tradition akin to illustration and what is traditionally called the "decorative" or "applied" arts.

One unpopular litmus test for whether a practice might be appropriately categorized as "fine art" or "contemporary art" is to look at the economic relationships and institutions involved. "Art" with a capital A tends to be supported exclusively by wealthy patrons, with some help from governments, foundations, and non-profits. Artists sell their work through galleries, or directly to their patrons, and as they age they either succeed or fail to enter a "mid-career artist" phase, where their work becomes canonized through reviews in particular publications, inclusion in group shows, and solo shows at "important" institutions.

Anything outside of this very specific system is difficult to call "Art" with a capital A.

It's worth noting that this mode of production is overwhelmingly minor in comparison with modes of production post-Internet. Memes, 4chan, YouTube, DeviantArt, art produced in conjunction with the advertising industry, etc. completely eclipse "Art" today, and it's difficult to speak authoritatively of any kind of canon of "art" in general.

However, it's clear that when we compare the "art" of today to the "Art" of the past that we see in the great museums of the past, we are comparing fundamentally different things.
My theory is hire smart professionals, then treat them like they're smart and professional.

They should be expected to have an opinion and allowed to express it. If you don't want any of your ideas challenged ever, then don't waste your money hiring a person with a brain. And if you hire someone with 10 years of experience, hopefully you can appreciate that they've learned something in that time that give them a perspective you want to hear.

But, of course, after they've respectfully disagreed, they should also be ready to set aside their opinion and go along with whatever was decided. That comes with the professional part of smart and professional.
You hear fairly similar statements about linked lists from the C++ crowd too, where they're trivial to implement, so it's unlikely it's just defensive excuses.
I don't think we have to limit to India either. Americans used to lynch African Americans based on false crimes. Germans thought Jews as Boogeyman enough to conduct a genocide. It is human psychology, not just "poor illiterate third wolders"
Don't they do small object optimization? In C++, implementations of std::function usually do that to avoid allocating for most common cases.
This is a pretty different venture from the one that gave him his credibility.
Yes, each individual customer is likely to find only a fraction of the bugs that your team finds.

But, many customers will collectively find much more.

the cost is more than an individual customer. It is everyone that customer comes into contact with and spreads word of the grief your bugs caused them.

Reputation can be very fragile.

The "deciding where the tradeoff lies" can easily lead to the Ford Pinto fiasco, where it was decided that the costs of the few lawsuits were less than the costs of the fix. After they'd _killed_ dozens of people and then got massive fines, that decision didn't look so good.

Quality is its own excuse. And yes, you cannot let the Perfect be the enemy of the Good and insist in fixing every nit, but Good should be Damn Good, not merely 'just ok, ship it infested with known bugs'.

You are supposed to make people's lives easier with a product, not merely extract their money.
A strong imagination does it for me. I used to love eating lamb, but in my teens my father took me to a friends house where I partook in slaughtering a lamb and later eating it. Now I find eating lamb utterly disgusting. If I even smell lamb it reminds me of how the animal wailed around as it was dying and the smell of its intestines and skin as we butchered it.

Same idea with insects - when I picture someone eating insects, I get reminded of the smells, the sounds, and worst of all where they've been. Bees?! Ever seen a portable toilet in the summer when the doors are left cracked open and insects get into? Bees on human feces. No thanks.
You won't make half as much in Canada that you will outside of Canada. You work here for the benefits and safety net. If you want to make money, leave Canada.
> Then they proceed to ask candidates to derive a card shuffling algorithm on a whiteboard in 30 minutes and fail them from the interview if the running time complexity would be too high or if they can’t mathematically prove the result would be a uniform draw from the space of permutations of the cards.

I'd actually expect a surprisingly large fraction of programmers to be able to do reasonably OK on that particular problem--and I don't mean just those with CS degrees. I'm including the ones that are entirely self taught. In fact, especially those.

That's because so many of us, even those with CS degrees or other common degrees that programmers get instead of CS [1], started out trying to write games or other things that needed to shuffle, were sure that the obvious approach we took was right, and then found out it wasn't and why. It was our first personal encounter with the idea that you can analyze and reason about algorithms and their correctness.

In other words, shuffling was one of the first algorithmic "aha!" moments for many of us, and you don't really forget those.

[1] Mine is math, not CS, for example. Partly that's because when I got my degree, in the early '80s at Caltech, Caltech did not have an undergraduate CS degree. The CS department only offered graduate degrees. They had all the necessary undergraduate coursework available--they just had not yet put together a formal degree program.
For people not aware of Peterson, I want you not to take the parent comment seriously. Peterson is a highly polarizing figure, and people tend to have very strong positive/negative opinions about him.

Thus the parent comment is an example of someone feeling very negatively about him, and not an accurate representation of him or his ideas.
Debt is about trust.
Japan has the highest debt to gdp ratio, but that’s not a problem because we trust it. With enough trust you can go pretty far. There are a lot of trust factors for the US, like its military or the petrodollar.
So I have an affection for Discord...so I appreciate posts like this.

>"Using the WebRTC native library allows us to use a lower level API from WebRTC (webrtc::Call) to create both send stream and receive stream."

So I'm gathering that discord's voice servers receive multiple persistent connections, then compress the audio streams for delivery to each end user. THIS part is where I can't imagine the on-the-fly cpu usage. Each client's receiving compression needs to also negate their own audio to prevent an echo effect (no point to hear your own voice), but it also means separate compression streams per user.

>" All the voice channels within a guild are assigned to the same Discord Voice server."

I imagine this helps significantly with I/O in converting live streams into 1 stream per end user. I've dealt with video compression (only in ffmpeg) and live syncing time stampings, and I can say from experience that, this is no easy feature. I understand this is audio streams (so lower overhead), but still the persistent voice server needs to handle the incoming connections, web socket heartbeats (negligible), compression (high I/O), and deliver the streams (high memory usage too).

I'm impressed, but would love to hear the specs on the media servers and their DL/UL speeds. My old setup to deliver live video (in sync and compressed) was 6 mini-itx's, 4GB of ram per board, and i3's...my bottleneck was my isp, which I solved with multiple docsis modems and an internal switch (each board had 2 ethernet ports).
There's a theory of programming that says software development is fundamentally a process of devising and implementing data structures specifically tailored to the problem at hand.

This theory says well written software doesn't (and can't) simply stitch together various data structure implementations through generic interfaces. That in robust, elegant software there's no dividing line between where the fundamental data structure is implemented and where the application specific logic resides.

One classic example is the Thompson NFA. The argument is that the path to devising elegant solutions like the Thompson NFA is to think in terms of simple data structures tailored to particular problems. A toolbox of pre-implemented data structures is of little value because implementation matters and often needs to be tailored to the problem. It's not a matter of performance; it's that if your data structure implementations aren't tailored to the problem your use of them will require overly complex, opaquely layered code and you would (justifiably) architect your solution some other way; a way better suited to gluing together libraries but poorly suited to the actual functional problem.

I don't think this particular theory is right in any absolute sense. But I think it's more right in the domain that Rust targets, which means I believe the cost of implementing things like linked-lists and trees is underestimated; and that how often people will end up resorting to unsafe code (or recapitulating reliance on unchecked memory access, such reinventing pointers as indexes into arrays) is underestimated.
Show HN: HireClub Coaching – Career coaching to land your dream job
Related: steam has built in voice chat now.

https://www.engadget.com/2018/06/12/steam-finally-adds-voice...
Rule of 72 is much easier for abstract calculations.
> Meanwhile, I am already paying one of the highest state and local taxes in the nation. But I'm not complaining about the taxes -- rather, I'm complaining that these dollars don't go very far -- it cost 3.5 BILLION per mile of track(B) because of graft and poor city management.

Sounds like you should take that up with Gov. Cuomo, who's completely washed his hands off of overseeing the MTA, as he's supposed to do.

The good news is that he's up for re-election on Thursday.
Is it wrong to expect being able to implement standard data structures such as doubly-linked lists and trees with back-pointers having known complexity and performance trade-offs in a language advertising itself as replacement for a system programming language? After all, you should be able to implement standard libs in the language itself, and also to replace existing implementations.
Yes, absolutely. Ten years is a long time. I would argue much more than $1500.
They Turned Spider-Man into a Cop and It Sucks
There are humans that eat insects. I don't think there's something about eating insects we automatically find unappealing. I believe we've been taught that. Another idea is we don't like seeing the face of what we're eating. Most meat is processed to the point where we can't see where it comes from.

For fun my wife made some cookies including cricket powder. We told people and did not hide that fact from them. Most wanted to try it for the novelty of it and didn't find the idea disgusting.
Apple should integrate Little Snitch with MacOS :)
The future of food: what we’ll eat in 2028
The difference between &str and String is one of my least favorite parts of Rust, but I made your code compile with some pretty trivial changes: https://play.rust-lang.org/?gist=66789a8e86e3c2fd1803adc4bec...
This is very interesting. Have you other articles that follow up on this study?
Maybe that works best for some people, but as a kid I didn't do it. I used a printed multiplication table while tackling some more-interesting problems[0], and let the table soak in as a byproduct. It went quickly and did not turn me off on math for life. Paul Lockhart in Arithmetic also recommended this.

[0]: Multiplying two-digit numbers by one-digit, and that sort of thing. Lockhart had more artistic pursuits in mind.

(An obvious reason this might not apply: I was more talented than my grade-school peers. But most kids would learn arithmetic better if not forced to before they're ready, and then the talent difference would matter less.)
How else could it be? To craft regulations in the field X, you need experience in the field X. That means, you must have worked in the field X, and probably doing something worth mentioning, otherwise what kind of experience would it be? Then, after you are done crafting regulations, what else you would be doing? I mean, you could just drop everything you know and start a new career, but it'd be weird to expect that happen in a majority of cases. I am actually surprised that's only 30/40 percent (maybe some of the staff weren't actually domain specialists but did something else). Most of the time, you could stay in the government for a while, but then you'd might move on to work in the field X again (might not, but everybody can't work work the government - I hope not). So the article sounds like "people with law degrees work as attorneys!" - yeah, thanks, Captain Obvious, you never disappoint.

Now, I can see what people can be worried about - that the insiders of the industry would craft regulations in self-serving ways (also known as regulatory capture). The thing is, this is something that follows from the very nature of the thing - unless you want a highly technical field to be regulated by people who have no idea what's going on (not that it could happen in our politics, oh no sir, never!) you have to solicit help from the insiders and rely on their opinions. And then those insiders wouldn't just retire happily, having served their country, they'd continue being insiders with their own self-interest. We should stop being surprised about it.
around the time they add/remove Amazon (or company X) to the index, they do enhance or detract from it's performance.

Of course, when't it's there for years, it merely adds a relatively steady-state chunk to their price, affecting the level of their price curve, but not so much the slope.
I hope the operation goes well and you feel much better.
Is there a reason you looped through env::vars() rather than calling env::var on each key you wanted? That'd be much more straightforward:

let lumen_host = env::var("LUMEN_HOST").unwrap_or(String::from("luajit"));
let lua_path = env::var("LUA_PATH").unwrap_or(String::new());
let node_path = env::var("NODE_PATH").unwrap_or(String::new());
As someone who has tried making a sheet music renderer, VexFlow is extremely impressive.
that was part of a settlement from a Getty Images lawsuit
This reads like a rhetorical question, but I’ll take a swing at it anyhow: because it’s gross.

Edit: Sorry entomophages didn’t mean to offend.
Firefox Variable Font Support
Yeah, we're not happy to just have the fire, speak in languages, and live in caves either.

We don't compare ourselves with the early humans before they discovered those things and feel lucky.

And neither those that starved to death did.

What constitutes "a living" is always relative.

That said, you can very much still starve and get sick and homeless to death in modern rich societies...
LEA does math, but with a particular structure to the inputs: a pointer plus an index plus a constant. That's meant to be used as a C compiler would, where the pointer would be to a struct array, the index would be the position within the array, and the constant would be the byte offset within the struct.

Calculating a memory address in that way is a common operation, so x86 processors give it special support with hardware that can calculate that sum all in one step.

Most often the computed address is used in a MOV instruction. LEA provides access to the address-computation hardware without doing the actual data move. That's useful because some math operations can be done faster through that hardware than with general-purpose math instructions. LEA requires that pattern of register + register*shift + constant (we aren't using the shift here).

imul ecx, ecx, 10
lea ecx, [ecx+eax-'0']

Those two instructions multiply ecx by 10 and then add the next digit (stored as ASCII in eax) to it. Subtracting '0' converts that digit from ASCII to its numerical value. It just so happens that LEA can execute the add and conversion fast and together in one step, because that combined operation matches the pattern of computing an address.
Or a non-spacemacs emacs + evil setup. I jumped ship from Vim but Spacemacs didn't feel quite right so I started from scratch.
Indeed, that's why TV still exists as a niche product, one among others. I'll tell you more: some people are actually watching ads or not annoyed with them enough to do something. I haven't even seen people who would bother to find an ad blocker for YouTube - they just wait those 5 secs and click "Skip" (or actually watch the ad, if it's good enough).
"CIA code" in the title apparently refers to Palantir (!).
For anyone new here, this is a copy pasta.
Hoisting in Modern JavaScript:  let, const, and var
> “One of the things big law partners say when they talk about Atrium is that we get people who wouldn’t make partner,” says Kan. “And I say, they’re the people who are doing the work for you anyway, but they transition out because they hate the lifestyle.”

I had some paperwork come back from a fundraise that was riddled with errors. I lost a lot of faith in my lawyers and I had to double check all their work. Not what you expect when you're paying $600/hr.

Underneath every partner is the army of associates who actually do the work. I got on the phone with the associate who had handled the paperwork. He was trying to make partner; he was clearly overworked, underslept, and stressed out.

I switched to another associate with less experience but who wasn't yet feeling the pressure of making partner. The quality of work massively improved.

If Atrium can give work-life balance to lawyers, and give me paperwork that I don't have to double check, then I'm all for it.
I had some nagging late payments, medical bills, student loan and a bankruptcy filed 2017. I had credit scores of 554 TU and 548 EQ in March 2017. I applied for a surgery loan in July but was not approved because of my poor credit profile. I contacted my loan officer, he explained that I needed a score of mid 700s and the bankruptcy removed from my report before I can be qualified for the loan. I had to seek for a way to raise my score and bring my credit profile up to speed because I had to do the surgery at that time. I made some research and I got a lot of good review and strong recommendations on Derrick Repair an ethical hacker who has helped a lot of people in the States so I decided to email him DERRICKREPAIR@TECHIE.COM. He replied my mail and asked me to text him on his direct number +1 830 308 7397 for further discussion, I did and he explained the process to me in very simple terms. We got started with the process on a substantial agreement. After 2 weeks, he removed the bankruptcy, deleted other negative info, eventually raised my score to 788 and verified the changes with the 3 credit bureaus. I got the loan, went through with my surgery and I have Derrick Repair to thank. If you need a similar help with your credit, Chex system and DUI report, you can contact him via his number or email above.
It is wrong to expect it to be something that you start to learn the language with. Non-beginners write data structures in Rust just fine.
Same thing as WhatsApp. VC pay most of the bills until the network effect has cultivated the userbase to a size attractive for a buy out by a bigger fish.
We were too. Until we needed to expand to meet a customers needs. Then we had to take on debt.

As I said, a cautionary tale. Call me the ghost of startups past :/
>Does a single passenger vehicle really cause more than $1500 worth of externalities?

Far, far more than $1,500 over the lifetime of a car. The cost of the externalities are more than the cost of gas itself.

https://www.spur.org/publications/urbanist-article/2005-09-0...