skysight-inc/HackerNews huggingface dataset:
In light of downvotes and flagging I would like to reaffirm my position. Accusations of “virtue signaling” are hypocritical nonsense and don’t belong in civilized discourse.
For Hacklily, it turns out that the audio is rendered clientside via https://github.com/hacklily/hackmidi

Caching sheet music rendering is a hard problem. For example, a note later in the score can affect the spacing of notes before it.
Surely the problems behind a doubly linked list apply to similar data structures (trees and graphs, notably - of which there are many more varieties than could be covered by a standard library). Writing a tree without resorting to unsafe seems like something which would be important.
I used TeamSpeak for a long time but when my group switched to Discord there have been a litany of audio problems. My favorite is people will complain about an intermittent hiss that only stops when I talk. The hiss ends even after I've finished transmitting, and I'm not transmitting the hiss (it happens even when I'm not connected to the audio chat.)
I may be grossly misunderstanding the budget, but this is what I looked at. [1]

> The FY 2018 Executive Budget recommends nearly $11.6 billion for the Department, an increase of $749.1 million over the FY 2017 budget. This year-to-year change primarily reflects new capital investments in transportation infrastructure.

> Preventive Maintenance - Capital Projects Funds - Other	$4,428 (million)

[1] https://www.budget.ny.gov/pubs/archive/fy18archive/exec/agen...
Is this the chemical cause of genius?
Compared to what? C++? C? Python?
I agree on most of this but the mob mentality bit. I’ve seen very little of that on Pinterest because people use it differently. It’s more like a lose kind of bookmarking tool than a space for socializing and the elements where people talk with each other are not very prominent in the UI.

>not because of their great business model, but the theme of the platform...

Isn’t the theme of the platform part of what goes into the business model?

Instagram is the one social network whose users actually have positive associations with its brand. That too isn’t based on the business model, but the fact that the platform fosters engagement though posting photos rather than sowing discord among your friends and family (Facebook) and stoking outrage mobs to gang up on random celebrities (Twitter).
On the other hand, many people bought some discount Kindle Fire and that's their tablet until it breaks. The reason Android tablets died as a market is it turned out their replacement rate was not nearly as high as smartphones, so investment in new models stopped.
This is slightly off topic, but I'll ask.

I refinanced my house and as part of the process I get copies of the credit reports pulled. Anyone know why they last a lot longer than 7 years? It has all my mailing addresses for over 20 years. They asked me about a student loan I had paid off 10+ years prior. Is the "7 year" thing just a myth?
I'm a full stack dev with ~6yrs experience working with JS/PHP making in the range of $90 - 100k. Also, I work remotely so I save on travel time & commuting costs.
should be doable with https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCom...
I see what you're saying, but the threat of 'babbling' is less scary than sexual assault.
Because, contrary to what the OP is saying, writing normal Rust is actually easy and straightforward. So you don't have to "box everything" by default. You only need that when you do some asynchronous work via generic interfaces.
”Nameinator” had a nice ring to it.
>I notice that Oumuamua happened to pass within some 20 million km of earth within a decade or so of having systems in place to spot it. Wouldn't this imply there are an awful lot of them?

Finding one in a decade's span within 20 million km would imply there are "an awful lot of them"?
"working as intended, just patronize other users into fiddling with their settings until it's acceptable"

sounds to me like it's not a sane default
I mean, you could also say that a lot of people think plane is synonymous with "hijacking", "terrorism", or "9/11". Doesn't make flying unprofitable.
You seem to think this will be easy, this taxing-and-cross-subsidization. It has been proposed often enough to imagine that might be the case. Where has it been implemented? How did it work there? Might there be reason to suspect that it would be easier in a place where complicated tax laws already exist and most residents already pay taxes? Please note, the watersheds producing the bulk of this pollution are not such places. If you can't convince Americans to implement this scheme, why do you expect it will be easy to convince people in Southeast Asia?
But there is going to be a certain segment of asshole that will just decide: Me strong, you weak, and just override you.

There is a brand of "anarchist" which is doing just this in 2018.

But that's a winning strategy. And don't think the assholes won't notice. Then they get groups.

The history of scenes, groups, and movements of all kinds tells us that such things are started by idealists, but eventually get suborned by sociopaths. So quite often, the assholes will come over and take over your group as well.

I don't think anarchism is evil, just naive.

What's metaphorical and paved with best intentions?
You're welcome! I have had a lot more time to familiarize myself with the standard library than you probably have.

That being said.. A lot of this stuff is things that already exist that you don't need to write yourself. dirname, basename, join, even s is .to_string. It's also the same as str. getenv is env().unwrap_or().

> Curious about that block in particular.

I would call https://doc.rust-lang.org/std/fs/fn.canonicalize.html and be done with it, instead of importing libc and going through all of this.

In the end, this should be like 40LOC, 50 tops, if you made use of the standard library rather than trying to re-implement it all :)
And if you’re on mobile, they take up like 40% of your screen to insist you use the app.

Websites and web based services trying to force me to download an app, which is basically just a container for displaying the same web content, are honestly in the top five worst things about the modern web. And it’s competition involves Nazis invading social networks, erosion of privacy, etc.
Can MSDN subscribers apply their credit towards this service?
This is the same spurious argument that we're getting dumber because we can Google anything we forget. Hey, we developed software to make our lives easier and make us orders of magnitude more efficient! What a bunch of idiots!
I get a blank page with a couple of console errors when I visit that URL (Safari on OS X)

Edit: Not sure why I'm getting downvoted -- the parent tool sounded interesting, but I get a blank page and these errors on the console https://gist.github.com/tingletech/153118cb3078fe2667a3874f0...
Interesting assumption!

Most of my theoretical computer science knowledge was based on the fact that there are a bunch of basic well known algorithms and data structures and you build everything out of this.

Do you have resources on the approach "invent" such things on your own so they are better suited for the problem?
> And when the consumer is given the choice between delicious, cheap, tried and tested vs unknown, expensive they will always choose chicken.

Unless they're hipsters. How else does one explain the existence, and outrageous price, of cold brew coffee as compared to its unfailingly disappointing flavour?
That's useful to think about; I see it as a massive increase in communication channels making specialized information more available.

However, I still think it greatly underestimates the prevalence of misinformation in specialized communities (e.g., I have never found a valuable subreddit), and greatly overestimates human ability to know when they are being mislead. And the latter is far more difficult when trying to understand, as a non-expert outsider, experts in conversation about their domain. I fear what someone outside IT would walk away from HN thinking about some things. Even I have a hard time identifying the BS sometimes.

Subreddits are the answer to the philosophical question: 'Do two people who don't know what they're talking about know more or less than one person who doesn't know what they're talking about?'
I think you're right that this happens in all the scenarios you mention.

But I'm certain the first and third example you've given aren't just "not socially accepted," they're actually illegal in the United States and many other places. The second one is questionable but may also be illegal, depending on whether the issue is actually English competency or just "he's foreign."

Only the fourth one, which is based on the person's behavior but not their membership in a protected class, is anything like what "culture fit" can or should legally be used for.

I agree with you that this kind of discrimination-by-another-name is status quo, but are you okay with it? If no, what do we do about it? If yes... why should I be?
I think you've misunderstood me or conflated my comment with someone else's; mine said nothing about fixed vs growth mindset. The term "innumerate" -- just like "illiterate" -- indicates the current state of a person's abilities, not some fixed or inherent trait. The remedy is education.
First, congrats on your funding! Exciting to see innovation in this space. Here are my questions -- feel free to answer just one:

1. Is the goal to remove the need for lawyers by letting software do the work, or to equip lawyers (and law firms) to perform their own work more efficiently (and potentially move away from the per-hour pricing model)?

2. I've reviewed probably 25 NDAs this year and they're all differently worded variations of the exact same concepts. I really just want software to tell me "hey, this is your standard NDA but this company took a more aggressive stance on this once piece." Is this part of what you're aiming for?

3. Reading contracts completely sucks. Any plans to make a UI that presents them in a more human-friendly way?

4. The back-and-forth on contracts completely sucks. Any plans to improve this?

IANAL, but it feels like so much of my time as a co-founder goes to managing legal matters, so I guess I'm excited for a better way.
terrible headline
Because we find them disgusting and there are many cheap alternative foods that we don’t find disgusting.

Of course it’s probably irrational, but that’s the way it is.
Also, if they are violent identitarians, then they aren't for justice and equality. People fly false flags all the time. That doesn't make the toxic ones any less toxic or harmful.
http://archive.aec.at/prix/
all the way back to 1987. Naon is a tiny blip in an ocean of creativity and ideas.
Star wars FTW!
The way you say it, it sounds like Concorde was unsafe, and by extension, all supersonic planes are.

Almost every plane out there has had at least one bad accident. And every single time measures are taken so that type of accident doesn't happen again.
On the one hand the article is the typical US-centric nonsense. Anybody who's actually observed how the "other 7.3 billion live" would grasp very well that not only are we Post-PC but that on a deeper level there never really was a PC era. The PC was a kind of aberration, a 40-year blip, an unfortunate accident that only arose due to a bizarre confluence of events like disco music and Texas.

Global corporations like Google and Microsoft are relentless mobile-driven because they don't have luxury of naively focusing on a single market. And when you look at all the fastest growing tech companies in the world, from Instagram to Wechat to gaming, what you are seeing is a landscape where virtually all speculative capital is invested in mobiles.

That said, the PC as a platform is seriously under-utilized. The PC could be so much more but, rationally, nobody is ever going to invest in a powerful PC if all they need to do is run chat and watch videos and fill out forms. This is the irony at the heart of the growing division between the technology masters and those who serve technology: the people who create the powerful mobile platforms and ever-more sophisticated algorithms are all using PCs.
I would argue this is Google's fault.

I tested the theory myself. I went to Boston recently and followed my GPS. It took me over the Tobin bridge through solid bumper-to-bumper gridlock. When I arrived at the gridlock my GPS said 30 minutes left. 45 minutes later I had travelled about .5 miles and it still said 25 minutes left. Google was completely wrong, but I swear it had me right where it wanted me the entire time.

After getting fed up with traffic, I eventually turned my GPS off and got into the right lane to head towards Cambridge. My logic was that GPS could navigate from anywhere, to anywhere. I would simply go somewhere with less traffic and try the GPS again.

Sure enough I made it to Edward Land blvd and turned my GPS back on. I had a clear 15 minute drive with average traffic for the rest of my trip.

Google saw the traffic I was dealing with, and queued me right in behind it all. It could have recalculated around it, but it legitimately "thought" I only had 30 minutes to go. I guarantee it told all 500 other cars in front of me the same thing.

So we were all following our GPS's, and our GPS's were taking all of us the fastest route. It created a traffic jam and then optimistically pretended there was no traffic jam.

If street lights were truly "smart", with cameras and machine learning to maximize throughput, and GPS's programmed to load balance their own congestion, this problem wouldn't be a problem anymore.
I don't like that type of changes, it seems very counterproductive.
Those are words used in a context and to me it seems that today people lost their minds and trying to keep everybody in perfect hermetic world, where everybody is happy and smiling.
On one side we say to not judge anybody or anything, and on the other we do things like that - where if you would get the context everything would be ok.
What will be next? Should we change kill command as well?
Why is it bananas that you can't just walk away from a debt? The foreclosure system in USA is a significant part of what caused the mortgage crisis.
Yes, for example a DOM tree where every node has a backlink to its parent.
Breathing into water, per se, doesn't help. The air blown into the system is lightly pressurized, and this pressure helps inflate lungs just like inflating a balloon.

The water bottle is there because it's difficult to control the amount of pressure. Sinus tissues and lungs are very delicate, and pressurized air also messes with blood/gas ratios, so it's important to use the minimum pressure you can get away with. The bottle of water allows the pressure to be controlled simply and precisely, by adjusting the depth of the hose.
The Military Now Has Tooth Mics for Invisible, Hands-Free Radio Calls
The Untold Story of the World’s First Spider-Man Mobile Game
Then what do physicists call what is beyond the edge of the universe?

edit: excuse my french ;)
Two Ways of Mocking AWS Services in Typescript
Ask HN: Creating my own USB-C hub?
I've never done any hardware stuff before. Been a software developer for years now. I see all of these neat thunderbolt / usb-c devices that will have many ports all through the one cable. I can't find anything online about this.

How would I go about creating my own thunderbolt / usb c hub?
Why not just switch to plant-based sources of protein instead? The idea that we have to eat animals to be healthy isn't supported by modern science.
Was the Core Protocol Development in EOS Outsourced?
Thanks for posting this, made a quick Reicha playlist on Apple Music and am beginning to work through it. Sounds interesting.
Assuming there really is other intelligent life out there, "where you were born" seems to make a huge difference in what your species can accomplish in its lifetime.

Seems like we are somewhat validating Vernor Vinge's "zones of thought" idea
The plane is constantly breaking the sound barrier. The boom is what you hear and feel when the shockwave reaches you.
Glad that he's finally getting some of recognition that he has been unfairly denied for centuries. There is extraordinary intelligence and personality behind his music. It's almost inexplicable that he doesn't get more attention. By far the most "underrated" composer that I am aware of.

Reicha's work proves that the style pioneered by Haydn was not only fundamentally sound, but capable of change and development far beyond what music scholars would typically have thought to have been possible. Music history, and perhaps world history would be very different if subsequent composers had continued along the path broken by Reicha rather than that taken by "The Romantic Generation".
What with all the online courses? I think not?
Which can still happen in a simulated way that minimizes harm but maximizes perceived harm by the inflictor.

The old form of this is known as "sports."
My modmic setup doesn't transmit me typing on my Cherry MX Brown keyboard.

And we complain a lot when someone on the server has an improper voice activation threshold, so everyone quickly fixes theirs.
"I put the design on Github as open source and made a few for myself, and I've sold some board kits. Not enough potential volume to have it manufactured." - you could possibly have a look at services like macrofab etc. I used them to fab/assemble a single PCB not too long ago, which I was really pleased with.

Can't vacuum tubes such as krytrons still provide the ability to switch vast amount of current in the order of kiloamperes at kilovolts, which would be hard to use semiconductors for?

Apparently they were used in atomic bombs for delivering power to exploding-bridgewire detonators iirc.
Does `canonicalize` [1] not work in place of `realpath`?

You have a couple of helper functions, like `s` and `str` which you might consider using `to_str` and `to_string` in their place, as it's more idiomatic to use them directly rather than save characters.

And obviously you can replace `getenv` with `env::var`.

1: https://doc.rust-lang.org/std/path/struct.Path.html#method.c...
There goes my afternoon :)
Joern: A Robust Code Analysis Platform for C/C++
bees? I think you are confusing bees with flies. Bees are pretty clean insects.
> I mean if I start a company with no recourse to public funds why should I obliged to employ someone I wouldn't want to work with?

Because otherwise certain classes of people will never be able to get certain classes of job, despite being qualified, because the people who hold those jobs are all members of another class who doesn't want to work with them.

For example, at various times both women and African Americans couldn't become doctors. There is no evidence that women or African Americans are worse at being doctors than men or white people, but the people who _were_ doctors (mostly men and mostly white) at those times didn't want to work with them, and culture suggested they were not capable of performing that profession.

Preventing discrimination against protected classes is a balancing act - balancing the infringement on the liberties of a group that systemic discrimination brings vs infringement on the liberties of an individual or single entity by saying they cannot make choices based on certain criteria. The protected classes that exist now (such as gender and race) exist because far more harm is done to far more people when they don't exist, even factoring in the fact that certain people will lose the ability to make certain choices based on all the criteria they'd like to.
FWIW, those four links are already purple for me.

The reason it's difficult is that it simultaneously introduces the concepts of optionals, unwrapping, string processing, variable assignment, and lifetime management. It's not like it's impossible to figure out. I was only saying the workload was similar to "baby's first vi session".
What causes upper belly pain after eating
Why is denying ourselves a psychological shield a good idea?
>If the working class has no tolerance for these things, then it definitely isn't reflected in the people the working class has elected to 'represent' them.

Because regardless of what you hear median income is the highest it's ever been: https://seekingalpha.com/article/4203346-july-2018-median-ho...

This is the first time that the real median hourly wage for full time employees is higher than it was in 1968.
"This Tor Browser exploit was acquired by Zerodium many months ago as a zero-day and was shared with our government customers."

That doesn't sound good.
> I wrote a paper

I'd be curious to read that paper, if you don't mind sharing a link - I recognize your name from the TLS mailing list, but I don't recall seeing that paper referenced there, and everything I google is in German...
Russian National Extradited for 2014 JP Morgan Hack
Sometimes it can be hard to know that your setup isn't working as you expected.

Whilst commanding someone to fix it should be the last resort most people with voice activation would rather the setup work for everyone in the server so they can keep using it.

On my setup for example I had a desk mic which sat on my wooden desk. People had to point out to me that there were sudden sharp noises coming from my mic. Eventually it was isolated to my mouse hitting the desk and vibrating up the base into the mic. I placed the mic on a bit of foam and everyone was happy.
These types of activations are not picked up during self testing easily.
It's been my observation that, unfortunately, much more often people just drove drunk instead.
Are you vegan now?
Making it machine-readable is not going to help any. Have you ever tried making sense of a good old machine-readable code? Have you ever tried figuring out why it doesn't do what it's supposed to do?

Somehow people think that having very dump very fast agents (aka computers) makes it very much better than having slower but smarter ones. That's like trying to fix bad roads by putting more powerful engines on cars and removing steering wheels.
From the perspective of a dev: why should I be anything less than a yes-man, on topics where the decision authority clearly isn't mine?

The ACM Code of Ethics has no teeth, meaning CS isn't a profession; and even if the decision in question is so thoroughly self-destructive that the company goes under, there's plenty more companies to work-for in that case.
I already pay for that, through taxes - by subsidizing inefficient uses of public resources.

If some groceries (Which had to be trucked hundreds of miles to reach my table) became more expensive then other groceries (Which had to be trucked tens of miles to reach my table), I'd be able to discriminate between them, based on their cost, and, through my purchasing decisions, encourage more efficient use of public resources.
Hmm, interesting the Niko thinks that MIR optimisation passes and CraneLift are more likely to happen soon. I so dearly want faster Rust compile times!