skysight-inc/HackerNews huggingface dataset:
A few years ago I got into a project that involved pretty tight control of audio latency, in a system with a fair amount of legacy.

"How hard can it be?"

At the end of a year, imagine someone who has spent a year in the Alaska wilderness, strangled three grizzly bears with his bear hands, lived on berries and nuts and fish caught in frigid glacial streams, and generally been up and down the audio stack in the OS and a couple pieces of firmware, involving audios APIs, a USB software stack that we re-wrote, a close examination of USB hardware and how chipsets are fucked up, and how exactly I2C microphones really work. My wife described me as "broken". It took a while to recover.

How hard can it be? Isochronous, low-latency audio can be pretty hard.
You mentioned a tunnel. That's exactly what I mean. If the Internet itself wants to constrain and control us, we can just create a new Internet inside of it, at their (e.g., ISPs, backbones) expense. The result is a system of protocols in communication standards that can be distributed across on trusted hardware, which lens itself well to a future, more open and distributed Internet, at a point when these types of things become illegal on the existing Internet. In other words, work with what we have for now, building up the necessary tools and infrastructure from the inside.
As long as these data are immutable, sharing them is easy.

If you want hundreds on megs of shared mutable state, a database is a proper solution.
Swift has nothing similar to PHP 7. Typing in PHP 7 is ridiculous - you can set "Array" as a "strict" type of return value, but inside that array you can have whole universe. And any optional type system is not a type system at all. I learned it when tried Dart.
PHP 7 is too primitive in comparison with Swift.
It is actually much simplier than that. The word you're speaking of is "Farangi" which is Farsi for foreigner.

Farsi is an indo-european language so beside loan words which infiltrated the language during Reza Shah's moderinization of Iran, many of them actually share the same root as other Indo-European languages like English, French or German.

Farangi is one of those words. It is not a borrowed word
The problem is that these features don't work out of the box. Any feature is going to be judged by whether the increased time-to-market and R&D cost is justified by additional sales. It's worth noting here that nobody buys TVs based on how quickly they turn on.
In the end we all make packages that specify dependencies anyways. Also as good development habit you should be developing against stable packages.
Yeah because sanitizing client side is a great idea.
That a a nice read, thanks. The level of detail and examples are cool.
I completely agree, and I also wish I would have switched sooner.

The only thing I'd add is that anybody who's thinking of switching should treat it like picking up a new, very different programming language. It took me three weeks with several boards and a video tutorial series to finally get comfortable that I can use the tool without constantly looking up hotkeys and documentation (which is really good).

The thing I recommend is to never assume that the way KiCad is doing something is the only way, and to Google aggressively. A good example is the 'Move' tool vs the 'Grab' tool. I watched a guy nearly swear off KiCad because he only used Move and never Grab, so he was moving wire segments individually. If he'd read the documentation or searched for the answer, it would have been there. These tools are not particularly intuitive.

The best part of taking some dedicated time is that now I have 2-layer and 4-layer templates with my design rules, custom project settings, and a bunch of custom hotkeys. It makes all the difference.
I'm not sure about resources for learning how to design PCBs; I was lucky and had direct instruction from a very experienced ECE. However, I would like to note that I had great experiences with 4pcb.com/Advanced Circuits for small (1-5 board) batch production. The prices are definitely not as cheap as outsourced PCBs but the turnaround time is great (a couple of days). I even called them up at 3:30 A.M. EST and reached an engineer on the manufacturing line that was eager to answer my questions! When I used them, their student discounts were very attractive. Even earlier than that, they used to hand out free pizza coupons to student customers! :)
If you really want to be evil you could just open TCP sessions to random valid ip addresses. You'll need a custom stack to make it stateless so you can just "forget" about the TCP sessions. You'll fill the NAT table at some point.
I don't think Swift is a very good choice for the web - we already have much better options. Swift compiler don't care about memory leaks, runtime errors and race conditions. And it's really easy to get runtime error - just unwrap optional value without check.

So I think Swift is good for something what can run few minutes and be restarted easily in case of failure - mobile and desktop apps. Not web server daemons.
Samsung Execs Investigated for Possible Insider Trading
I used OS X Server in 2008. It had major quality issues that seemed to only get worse with subsequent releases. Several advertised features accessible from the UI didn't work or straight-up broke things. I doubt Jobs paid much attention to it.
>It makes me a little disappointed in the community and thinking that perhaps I should be hanging out somewhere else instead.

Please go. Please go find that perfect place where you can hang out with people who are as smart and thoughtful as you and think exactly like you do, and only upvote the correct things that you agree with. It'll be better for us all.
Hence the discussion of the recent developments in the North Korean economy that might have caused fishermen to take greater risks recently.
It's also in Hindi as Firangi as well.
The blog is their marketing tool for their crawling service I believe.
Right, but at least in the US, there is a significant contingent of firefox users and advocates that are very privacy sensitive. Call it the Jonathan Mayer wing. FF should have known these people would be very upset.
Isn't this like, their entire business model?

"You may tag a name to a phone number using our “Name Tag” feature. When a sufficient number of users indicated that the phone number is associated with the same name, the name and phone number will be included in our directory."

"To access or use the “Sync.ME search” you will be required to provide your contacts' names, phone numbers and email addresses for the Service’s phonebook directory; this will enhance the performance of the Service and allow you to perform numeric search or identify incoming calls against a searchable phonebook directory, which contains the contacts’ information from our users who permitted the aggregation of this information."
Not listing and/or not emphasizing the core component of your product can lead to confusion and (possibly intentional) misrepresentation.

I've seen situations in real life where someone will say "hey this tool is cool, how did they make it?" and another person "oh they used framework X, I think." A good chunk of people will then do their due diligence and discover that it was Framework Y not Framework X... but not everyone.

There are some people still to this day, for example, who believe that AngularJS powers Youtube's desktop site.
I would have been interested to see a Firefox OS in the same vein as Chrome OS. A clean, functional Linux distro that works out of the box with a simple (yet maybe hidden) switch to open it up to running native apps. With XUL extensions they were actually in a get position years ago to provide more powerful extensions than Chrome could. But they are killing off XUL in the future to be some kind of Chrome-copy. Unfortunately I feel the world is going to be Webkit oriented in the future with Chrome, Safari and even Edge being mostly compatible (extension wise, apparently, time will tell).

I understand them wanting to make it in mobile space but the bar to entry in the mobile market is so damn high not even Microsoft can do it.
This is not delusion, more like a rational exploitation. Given the 'moonshot' nature of the project and the fact they are planning an IPO, that's a negative signal, sounds like a potential pump-n-dump scheme. Somebody should run a good background check on them.
Decentralization is great, even when it breeds open source drama :)
How to stop feeling like crap when billing a client for research
Local networking is one of the most essential personal skills for entrepreneurs
I wrote a flask extension that makes it a little easier to set these headers:

https://github.com/GoogleCloudPlatform/flask-talisman
TLDR: Disease Foo has become more common in the past few hundred years. You know what else has become more common in the past few hundred years? Bar! Therefore, Bar causes Foo, QED.
Well it might change the way taxation and government spending work if there was a steadier flow from people after they died. If the government has more money to put towards everyone's ability to live a healthy and happy life then I call that improving wealth.

EDIT: Not to mention the jobs that government can directly create with more money to spend. That's an even more direct example of wealth distribution, really.
Nice for REPL work though.
Now you have me wondering if it could possibly be the inspiration for the name of the Ferengi.
good to hear!
Reza Shah ruled Iran from 1925 - 1941 during which he worked hard to modernize the country. One of the ways he accomplished this was to import as much as he could from Europe. This is the reason beheind the French influence on the language. For any item that Farsi didn't have a word for or the word was too long or difficult, the French version became the defacto.

Hence Tie is "Kerevaat" (fr. cravate), Elevator is "Asaansor" (fr. ascenseur) and Pineapple is "Anaanaas" (fr. ananas)
That's the story I remember reading about it on HN, as well.
Hey, long time HN user here, I'm a software dev.

I have a question for you, could you give me an email I could reach you at?

Hope to talk to you soon,
I think part of this is because C naturally lends itself to a DIY philosophy. Part of the point of C is the ability to choose the specific details, it's very much opposed to the "do it for me, I don't care what data structures you use" attitude so integral to things like npm.
From Yes, Minister Season Three, Episode Two, "The Challenge":

> Sir Humphrey: [talking about nuclear fallout shelters] Well, you have the weapons; you must have the shelters.

> Hacker: I sometimes wonder why we need the weapons.

> Sir Humphrey: Minister! You're not a unilateralist?

> Hacker: I sometimes wonder, you know.

> Sir Humphrey: Well, then, you must resign from the government!

> Hacker: Ah, no, no, no, no, no, no, no. I'm not that unilateralist! Anyway, the Americans will always protect us from the Russians, won't they?

> Sir Humphrey: Russians? Who's talking about the Russians?

> Hacker: Well, the independent deterrent.

> Sir Humphrey: It's to protect us against the French!

> Hacker: The French?! But that's astounding!

> Sir Humphrey: Why?

> Hacker: Well they're our allies, our partners.

> Sir Humphrey: Well, they are now, but they've been our enemies for the most of the past 900 years. If they've got the bomb, we must have the bomb!

> Hacker: If it's for the French, of course, that's different. Makes a lot of sense.

> Sir Humphrey: Yes. Can't trust the Frogs.

> Hacker: You can say that again!
I can't find the tweet, but someone said something like "what do I think of swift? Seeing all of iOS using a language which has features normally reserved for functional languages is wonderful."
Reporters can contact sources. They call the person who wrote the paper or other experts and then quote them in the article.

This has the benefit of making the reporter's story contain some actual unique information. More importantly, it meant that the person reporting the story had checked with a person to confirm what they were reporting. One of the reasons that wrong stories get repeated in online journalism is that people just rush to repost something without checking with anyone to make sure its true.
Or... not...

The point being. I don't see it as socially acceptable for audience members to ruin the experience for others because they feel entitled to record/distribute their viewing experience.

A lot of people act as though, 'if isn't posted on facebook/twitter/etc' it didn't happen. I personally think the opposite, I'd rather devote my energy to being present in the moment with the people around me. Endlessly sharing de-values the experience for me personally.

Maybe there's a compromise. Offer an option for people who attend events to promote their public personal. Create like a public/press box where they can do as they like without taking away from the experience of others.
That's exactly why it came bundled as a non extension. So they could figure out how exactly they needed to extend the extensions API after having in built in a for a while.
> The problem is that these features don't work out of the box.

What?

No feature works out of the box. Engineering effort has to be expended to make something work when designing and building any new product. Did you maybe misphrase what you were trying to say?

> It's worth noting here that nobody buys TVs based on how quickly they turn on.

[citation needed]

A big part of my criteria for purchasing a display device is device and control responsiveness.

My non-technical family members who care about TV made "time between the time you turn the thing on and time it becomes usable" their #3 priority when purchasing their second "smart TV". [0]

It's pretty clear that many (most?) techies are really disappointed in how shitty, slow, and poorly designed most "smart TVs" are.

[0] #1 Picture quality. #2 Overall value per dollar.
a plea to developers out there: please respect the user-agent string contents even when you know it's a mobile device by other means.

if a user has gone to the trouble to manually set user agent, it's no accident -- it's an attempt to avoid the buggy crap that so many sites "customize" for mobile.

e.g.
Stubhub, TV Guide, TicketExchange, ...

And, no, I won't let you track my location, so stop asking.
Spotify might be in trouble
Singletons are fine, but it's almost always better to lazily initialize them rather than eagerly, to save on startup time. As a bonus, if you have no eager global initialization in your language, you can make import completely side-effect-free, which is a really nice simplification that I wish more languages adopted.
You can use "import longmodulename as mn"--many people do this today, and it isn't nearly as harmful as "*".
FirefoxOS cant even offer a more meaningfully free experience than android, because they used the same brain damaged closed source driver model. Meaning not only is your OS partly non free and unable to be modified, you are locked into a single kernel version forever, that is very likely soon to have exploits. I have absolutely no idea why it even exists.
In the UK, the Crown Prosecution Service is supposed to act in the public interest. Not indulge the public's every whim.

It's an imperfect system, but they do put a lot of care into weighing the different factors, far more than I ever will. I'm happy it's their job and not mine.

https://www.cps.gov.uk/publications/docs/code_2013_accessibl...
Human Brains Are Wired to Blame Rather Than Praise
They arn't even removing it, they are turning it into an extension and then still bundling it.
The more power consumed, the stronger it is. A cheap chain is a weak chain
I would if I could find it, but I've been thinking I might need to create it myself. You make it sound like it's just my opinion. That's not what I'm talking about at all. I'm saying that I would prefer if people upvoted good science rather than spammy press releases. Is that too much to ask?
The problem we had was no money. Sun was in a different place, they sold hardware, the software was a tax. They could have made the software open source and built an ecosystem around them.

There wasn't any hardware in BK. So it was a bigger stretch. I would have loved to figure out a way to do it but I didn't find a way.
You should turn that comment into a bunch of RFE's. That would be the quickest route to see these things realized.
Night Moves Floor Length Dress
Just tested with my X220 generating packets using both this Python script and i336_'s simpler socat command. Both killed the connection of the X220, but neither affected other connected hosts (in particular, my X1 Carbon and Nexus 6 were both able to ping Google just fine).

I'm running a TL-WDR3600[1] with OpenWRT.

[1]: http://www.amazon.com/dp/B008RV51EE
Do you mind sharing math textbooks you like (undergrad & grad).
I'd have to disagree on that.
I have a note 4, rooted, stock other than that, and I just tested from unlock to opening google music to hitting play, and it took mere seconds the whole way through.
I doubt this has anything to do with me rooting my phone, but I would also add that I have a large amount of applications installed on my phone, as well as several background processes that I run continuously.
Not only is my phone fast and responsive, but I have irregular services like complete Linux installer running Ubuntu for arm, pushbullet, tasker, unified remote, and servers ultimate pro. And when I hit play, it plays immediately, I've had lag before, but that was due to latency on the network and not the application itself.
Just a alternate point of view :)
U.S. Can't Make Weapons Fast Enough to Meet Demand
Forcing people to get vaccinated because "we know better", and especially with some objectors' voiced concern that the vaccinations are harming them in some way (whether that's true or not) do bear some similarities to the forced sterilizations undertaken by proponents of eugenics, yes.

Furthermore, some victims of eugenics programs were considered mentally inferior to the those who were sterilizing them, and generally considered not intelligent enough to make their own decisions in this matter or to know any better. That also has some echoes in the vaccination vs anti-vaccination debate today, with the latter being accused of being stupid, uneducated, misled, ignorant of or unjustly fearful of modern science and the vaccines that some propose forcing on them for their own good or the greater good.
Here's a very interesting paper from a year ago that popped up elsewhere today. Note the effect of TRF even when calories and macronutrients are kept constant:

http://www.pnas.org/lens/pnas/111/47/16647
How Nextdoor and Nest Cams Are Helping Cops Solve Crimes
Lured by Low Prices, U.S. Motorists Care Less About Fuel Efficiency
You know if you are paid enough by learning what other offers you can get.

Companies do not pay you by value, generally speaking. Rare ones do, but most often you are paid whatever they can get away with.

That is why you are paid close to your junior colleague. Everyone has base living expenses that drive much of salary demand. Anyone without a job will undercut you towards that level.

But if you look at it another way, your pay is not much higher, but your savings rate is, after all your expenses subtracted.
Does this mean that if I can make a random project build with Clang it's easier to port to Windows? (POSIX bits excepted)
To be clear, the entire quote is:

A frequently asked question is: Why doesn't Avalon just use SVG? On the face of it, it seems strange to invent a new way of representing vector graphics in markup when a standard already exists. However, the principal advantage of these shape classes is that they have been designed to integrate into the Avalon programming model. The vector drawing elements derive from the same FrameworkElement base class as all other XAML elements, and follow the same naming conventions. SVG has its own set of conventions for element and attribute names that is at odds with the existing .NET Framework class library. Furthermore, SVG elements were not designed to fit into the Avalon object model. By not using SVG, Avalon ensures that vector graphics can be mixed in with any other kind of markup in your XAML, and can take advantage of all of the same layout facilities. (Note that in the version of the Longhorn SDK documentation released at the 2003 PDC, the XAML elements used for vector drawing are sometimes referred to collectively as WVG (Windows Vector Graphics). However, Microsoft is no longer using this name, because it implies, incorrectly, that these elements are somehow distinct from all of the other elements supported by Avalon.)

Which is a lot more than just "SVG has its own set of conventions for element and attribute names that is at odds with the existing .NET Framework class library.".
XYZ sucks. You should use MNO.
High school math was hell for me.

The teacher would explain something on the board. Everyone but me would say 'Ohhh, I see' or similar (think Bart Simpson and the 'RDRR' gag).

The teacher would explain the concept to me again. I still wouldn't get it. I got a 'Really?' look from the teacher, who then walked off.

So I wasn't a 'math person'.

Then halfway through a thesis I encountered some math that I had to understand and use, or give up the thesis.

I discovered I could some math after all.
Transition to Python4 won't be like Python3(“we've learned our lesson”)
Serious question: whats wrong with that?
The logo is a png. The page is a giant wad of incomprehensible, minified javascript. There are two references in there to SVGsomething, so who knows.
It seems highly unlikely that "seeing users flee to alternatives like Pale Moon" has anything to do with this. How many users do you suppose Pale Moon has?

Firefox competes at a very large scale. Browsers that are not Chrome, IE, Safari and Opera are likely blips that don't register. It wouldn't surprise me if the tiles were a blip in Mozilla's revenue.
Just a heads up, at least in the latest version you can add extra fields to components in eeschema. There are a handful of scripts out there that take these extra fields and generate more useful BOMs with them.

KiCost is one and bomtool (https://github.com/cpavlina/bomtool) is another.

bomtool has more of what you are looking for, where for passives you can specify a value, tolerance, package, etc it will just search digikey and pick a component that works.

The other things you mentioned I 100% agree with. more advanced DRC is something that a lot of people ask for. Not sure it will happen any time soon though.
Agreed. I would love to see web apps start moving to SVG. I am not a web developer myself so I could be wrong, but having played with SVG a bit, it seems SO much more suitable for making web apps than the HTML5/CSS morass we are stuck in now.
Members of the corps

All hate the thought of war

They'd rather kill them off by peaceful means

Stop calling it aggression

We hate that expression

We only want the world to know

That we support the status quo

They love us everywhere we go

So when in doubt, send the Marines

https://www.youtube.com/watch?v=HHhZF66C1Dc
Please remain salty, we need it!
"Far better to show them the most effective technique, let them practice it, and move on."

Wasn't there a recent post on HN about something being expanded in Japan called "productive failing"? It's the opposite approach - let them struggle and then show them a/the way to solve the problem. The claim is that method is more effective.
74-Minute-Old Baby Girl Becomes U.K.'s Youngest Organ Donor
Thank you for this! I have always thought that Farsi sounded like French for some reason, and I could never put my finger on what it was. This clears things up!
Why does the reaction always get all the attention, but the corruption and decadence that preceded and precipitated it goes with barely a mention.
There is some more to it though, in that simplistic programming leads to do everything at once instead of only what needs to be done to get a response and relay information back.