skysight-inc/HackerNews huggingface dataset:
If you have the command line tools installed, it should also be under /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/syscall.h. macOS, by default, does not ship with these headers at all, and as of macOS Mojave they no longer provide them under /usr/include unless you install a certain package.

With that being said, I disagree with your characterization of “some header”–anything that’s in Apple’s headers is public API, whether it has a fancy page on developer.apple.com or not. Apple has a very clear definition of what they consider to be “private”, and anything in /usr/include isn’t it.
Once they start selling their kits in local grocery stores, they would eventually be competing against 3 minute Healthy Choice (and similar options) meals, and would lose because time is everything. Then, Blue Apron would slowly move away from fresh towards frozen and quick-cook to compete, and we'd have gone full circle back to kits like Hungryman or Healthy Choice.
Dehumidifiers are expensive in power consumption, I don't know which model is more effectively. I'm living in SEA, and get humidity level to 50% 24/7 in my studio equally to double my monthly electricity bill.
I'm not so sure.

Probably depends on multiple factors such as size of local economy, how many similar employers are in an area, how big the potential hiring pool is, but word gets around. One consequence is you can struggle to hire, at least for a while.

Very much an intangible though.
While sitting on the bowl, your pinkie and your nose should be all you need. While waiting in line (what a shitty company is that?) any puzzle game should do the job.
I read somewhere we live closer in time to the t-rex than some other other dinosaurs (like the stegosaurus). Really got me thinking about how vastly longer the dinos have walked the earth.
MERV info: http://www.mechreps.com/PDF/Merv_Rating_Chart.pdf
DIY Solar powered mobile charger
When they link to a product on Amazon they then ask the brand to give them an additional cut of sales? I'm surprised Amazon allows sites to double dip like that.
I agree with you to some extent, but I do think sometimes this point of view is taken too far. Some basis in theory is useful, not so much because you'll directly apply something you learned in a CS class, but because it helps you learn how to think about difficult problems. Most real world work is indeed just putting pieces together to get the result you need, but there are occasionally things that really are difficult, especially to do efficiently. I think it could legitimately be a concern if an experienced programmer couldn't pass an introductory CS course.

To the OP, presumably your fiancé has study materials as well as just questions—why not audit the course, and learn how to solve the problems you're having difficulty with? (Then write a Tell HN and update us on whether you feel you learned anything useful!)
Once we achieve sustainable fusion, will it be possible to "share" the energy with everyone else to create more independent fusions? Kinda like keeping the candle burning so as to light more candles because matches are too costly.

Now, I don't expect politics to allow sharing of fusion energy to help other countries.
Definitely. My aunt liked the service and put $100k into APRN around $5. It adds up.
> When you need storable propellants (either for a launch escape system that needs to be ready to go at any time, or for ICBMs that can be kept in a launch-ready state), and a solid rocket won't do for whatever reason, there's just nothing else that will do the job.

That is, if you don't count Soyuz landing capsule, which carries about 30 kg of hydrogen peroxide and keeps that for up to 210 days flight before landing. And if you don't count Zarya spacecraft, which - never built, but was designed to use hydrogen peroxide for powered landing ( https://en.wikipedia.org/wiki/Zarya_(spacecraft) ), also after long flights. And Buran spaceplane, which used LOX and kerosine for maneuver engines able to word in a month-long flight. And Kliper spacecraft designs with propulsion on LOX and ethanol.

Even hydrogen can be made working after weeks of flight if you have large enough tanks - there was design of upper stage of N-1 with that. With Lockheed works on space tanker ( https://en.wikipedia.org/wiki/Advanced_Cryogenic_Evolved_Sta... ) the time range can be extended even more. I think we can leave those toxic propellants aside when we want.
Your code is full of bugs, you just haven't noticed yet.

Whether that matters or not (to you or your end users) is your grey ground in the middle.

It's possible you've only ever worked on things that are simple or obvious enough to not have the need for tests, and that code that never changes. Especially if that's UI code, where you're testing it manually as you write it, you may be able to live with this on small code bases.

If you have never worked in an environment where the benefit of at least some level of automated testing is not blindingly obvious, my advice to you is to stop doing the same thing over and over and find a new job.
4. The Manager spent too much time investing in your friend but eventually realized that actually it was not your friend but the manager himself who was delivering results and realized that it was not going to change
The solution is C is essentially same as the one you outlined in Python.
> FWIW, I have been experimenting with auto-generating CMake from my Bazel BUILD file for my project https://github.com/google/upb. My plan is to use Bazel for development but have the CMake build be a fully supported option also for users who don't want to touch Bazel.

Thank you for your answer.

I really wish the auto-generation of CMake build scripts will solve the problem(s).

But even that I have doubts.
The way Bazel works will make very hard to auto-generate "standard modern" CMake that allows external dependencies. This is orthogonal to the way Bazel works.
Ask HN: Where and how do I hire a UI/UX designer for my startup?
I'm looking to make my first hire to have someone design a dashboard for my SaaS app. I'm familiar with Dribbble, Topcoder. 99designs and Upwork but I haven't used any of them to make any hires.

Looking through the freelancer profiles on these sites already makes me feel slightly overwhelmed. I'd like someone really good who can design beautiful interfaces for our users.

Does anyone have any experience with these platforms or any advice on what worked for them and how they were able to get a good designer?

Thanks
Those methane-based launchers all have not yet left the design stage.
It's ridiculous how much plastic goes into each Blue Apron box. I was on Blue Apron for a couple months until I realized how damaging it is for the environment vs me just going out there and purchasing the ingredients myself.

Wasting ingredients can be solved with better planning of meals and grocery shopping. Blue Apron is just the lazy way of getting around doing that. Those plastic containers to hold the ingredients and spices though, leave a near permanent negative footprint on the environment
> spinning the other way

Hahhahah. That is the funniest shit I have read in a long time!
on the accent, fair enough, that is not straightforward.

On the default sounds: I think it's harder in english where the correct sound is not strictly connected to the letters you write the word with. I don't think it's a coincidence that spelling bees are a thing for the english language, but I never heard of one in Italy...

Sure, if you have no source to determine the pronunciation of a word, it's hard (as for any language), but once you learn the building blocks you don't strictly need to know the word to know the pronunciation (apart from the accent)
Yes, ideally driverless cars would evolve together with the cities they drive in.

Unfortunately, it would take a decade for the government bureaucracies involved to even get started with that effort, so we'll have to make do with just the vehicle side for quite a while.
It's when you swap the left and right branches of every node, e.g.:

def invert(node):
if node is not None:
left = invert(node.left)
right = invert(node.right)
node.left = right
node.right = left
return node
Dear Jeff (DHH on Amazon HQ2)
Author here. I think one of the important points that hasn't been talked about somewhere else is how Google is using Chrome to do things very similar to what Microsoft has done.

For example, Google has taken over the PDF format (Most PDFs today open in Google Chrome) and not supporting all of the features PDF. They have stopped the further development of PDF format and also blocked the previously made features such as fillable PDF forms by not supporting them.
There's nothing wrong with encouraging young people to build wealth. However, as we saw in '08, the housing market is a less sure bet of wealth than was previously thought - not to mention changing climates make the value of some properties highly questionable (rising coastlines - maybe? How fast?)

Further, young working people frequently move from city to city to even a new country every couple of years, and quite casually (the kind who could, in theory, afford to purchase a property in New York, who are a very small percentage indeed).

So OK, I purchase a property in New York. But my job now calls me to San Francisco. I have to manage that condo (Maybe I'll Airbnb?) in addition to paying a new equally pricey payment of rent in SF. And because of my demanding work schedule at a tech company, I won't be able to physically check on my property very often. I might have to hire someone to do it for me. Oh no - I now also have to have both home owner's AND renter's insurance. And next year I have to work for 6 months in Berlin, so I'm going to have to find someone to sublet from my 1-year lease in San Francisco... I'm now spending all my free time just trying to manage 3 properties instead of trying to build my own company/find a mate/obtain a higher degree.
Nice scattershot rant. Dostoevsky would have approved of this archetypical manifestation of the kellermensch.
Without a doubt. I've run into so many little "glitches" in WP that it really soured me to CMS backed websites. The next site I run is going to be 100% hand-coded.

... and it'll probably load a lot faster than the PHP+CSS nightmare that is WP.
I have never seen the term being used in programming (for code) this way to refer to spaghetti code. Unless your definition caught on, using it that way would just confuse people, because copypasta already means something else.
If cryptocurrency is like bittorrent for finance, then this proposal is like downloading DRM-encumbered music from a walled garden marketplace. I think I'll pass.
Put a "5G-ready!" sticker on it, and you're back in business.
* sarcasm on Dialy Mail part. It was always the first item at the top of Discover for me and very noticeable.
Mini Size Transformers suppliers
About ASN
Operating since 1996
Nanjing Ansen Electronic Co. Ltd, established in 1996, is a professional manufacturer of various kinds of encapsulated transformers, ignition transformers, low frequency AC power transformers, high-frequency switching power transformers, filters, inductors and coils. Our products are widely used for many electronic features such as power supplies, electric meters, energy-efficient appliances, green lighting and household appliances.
Furnished with Automatic Machinery
Our company covers 8,600 square meters, with a 3,600sqm workshop and six assembly lines. Our output can reach up to 10 million pieces every year. Automatic multi twisting winding machines, automatic vacuum potting machines, transformer comprehensive testing instruments, other high-end automatic equipment and strict quality control system are settled in order to ensure the consistency and stability of products. Our products sell well in Europe and the US, thus, we are granted with nice feedback and praises from most of our customers. Our company has also achieved ISO 9001:2008 and ISO 14000:2005 certifications. Moreover, our encapsulated transformers are compliant with UL, cUL, VDE, CE, CB, ENEC standards and the RoHS Directive.
Enjoying Convenient Transportation
Located in Nanjing City, adjoined to Shanghai-Nanjing Highway, the transportation is convenient and simple. We welcome more customers for inspection and guidance. Our company is dedicated to providing customers with required design, OEM service, material processing and other services. All our staff with skilled methods of management, strong technical support, honest and dedicated work style, are here to provide comprehensive quality assurance and excellent services.Mini Size Transformers suppliers
website:http://www.asntrafo.com/
website2:http://www.asnmagnetics.com/
Electrical Distribution Box China
Yiwu Farpie Power Transmission & Distribution Device Co., Ltd
Yiwu Farpie Power Transmission & Distribution Device Co., Ltd is located in Economic Developing Area in Yiwu City, Zhejiang Province. The city is the most famous international commodity market in China as well as in the world.
Farphie is specialized in manufacturing all kinds of PTD devices such as motive electricity cabinets, electricity meter boxes, HPZD、GGD、HGDK.S、XGN-15、KYN28-12、ZBW、FDW and all kinds of transformers.What’s more, our substation is equipped with power factor correction units for the protection of over-voltage, over-temperature, phase loss and voltage loss. In addition, we also produce components, such as circuit breakers, surge protectors, electric cables, wall switches, case frames, contactors and others.
Our factory has been in this business for more than 10 years. We have a strong expert team. In these years, we have already obtained good credit in Chinese market. Every year, we attend many bid projects, and succeed in getting tenders from Hospital, Administration buildings, Schools, Walmart shopping centres and others. So, Farphie becomes more and more popular among overseas customers. We not only supply our own models with many sizes, but also could design products and provide OEM services for each customer. Especially, we could draw a blueprint for customers, with high technology and profession.
Farphie takes quality as the most important standard. What’s more, we have obtained certificates of CCC, ISO9001, CE and PICC.
To be with Farphie, Win-Win together!
To be with Farphie, enjoy your life!Electrical Distribution Box China
website:http://www.chinafarphie.com/
Chrome sync can be also self-hosted, and while I'm not sure how things are today I'd say it used to be significantly easier to self-host.

https://superuser.com/questions/614744/how-to-set-up-a-own-c...
Isn't fusion reactor basically infinite energy, I mean sure it makes total sense to no share it with other because you can sell your free energy for cash, but considering that a lot of global scientists work on it and most of the findings are published, don't think that such strategy would last long.
I clicked on it and expected an IOCCC contest entry or something...
It is so weird. It is really hard to find good people. If you have a good person, you don't get rid of them, you help them grow with the company.
Teams not collaborating is the giveaway.
They need to be public and stable in order to be a usable userspace API for anything other than libc. I don't think the latter requirement is satisfied:

https://github.com/golang/go/commit/02118ad0a0cacb00c1d834b3...
agreed, the accent location (stressed syllabe) comes down to knowing the word, but only a few cases of wrong accent give you a different word... in english you can change the word by mispronouncing the lenght of the first vowel in words like sheet, beach... both long vowel, different way to write it... although I'm sure I'm being imprecise on "long vowel" (don't know anything about phonetics), but I can't think of an example of non-accent based, italian equivalent
I wrote about why you should not move to medium sometime back citing the example of Basecamp. https://medium.com/@adarsh_thampy/basecamp-moved-their-blog-...

And basecamp is moving away from Medium.

The problem with Medium is that the inbuilt audience will go away soon. Browse their home page, and now most of the articles are premium ones.

This is very similar to Facebook. When pages started, they were great. But as Facebook wanted to make money, they began restricting reach.

Clearly, that's where Medium will head towards.
I actually laughed while reading this. I've encountered something eerily similar, but it was a Ruby app. Almost exactly your steps 1-3, however, what was returned from the db were ruby method names, which were then invoking other pieces of the code through some deep, twisted ruby magic.

Uncovering what the hell was actually happening was like peering into the mind of a psychopath.

Once myself and 3 other engineers spent 4.5 hours trying to figure out how to send an email from this treacherous app (a feature which had stopped working months before we showed up). After those 4.5 hours, none of us even came close.

To top the whole thing off, page load times were in the minutes. The standard joke from the users was that they "get to take lots of coffee breaks."

Much to the (new) manager's credit (and my sanity), we got buy in to just build a new version and let the old one die. I left the team shortly after the 2.0 beta launch, but God I wish I would have stuck around a little longer so I could have seen the official end of life for that calamity of an app.
The earthquake was the most powerful to ever hit Japan and the fourth most powerful in the world since modern record keeping began, and the investigation into the disaster showed that the safety precautions weren't adequate in the first place.

You can't dismiss the technology based on that incident. Just like we don't ban cars because a lot of people don't operate them properly.
That's not how warrant canaries work, though there is no case law I'm aware of that determines whether or not they are actually legal.

The idea is that you have a message you update regularly to specify whether you have received an NSL -- you never delete the latest version. If you get an NSL you comply by doing nothing (and by your inactivity you've signalled that the warrant canary was tripped). There is a valid freedom-of-speech question (at least in the US) about whether you can be compelled to continue updating the message -- you can be forced to be silent but can you be forced to proactively lie when the NSL forced you to be silent?

Though, of course, they could subpoena the signing key for the canary and destroying the key would be destruction of evidence. A quorum system for signing might be more robust against this, but I have my doubts.

And of course quite a few folks think that warrant canaries wouldn't work in any case[1].

[1]: https://www.schneier.com/blog/archives/2015/03/australia_out...
I would recommend not getting scared looking for the whole bunch of specifications at once, Try to say or write the solution's steps in plain English letting only the most fundamental, as you were explaining the steps to a kid or so, Try to imagine yourself explaining/teaching in simple words is a good way to reason better about the problem. I started learning programming as a hobby/long-term-dream at almost 40 y.o. and it felt so hard to understand the most basic thing in Ruby, like what an Array is, for example, that it gave me literally a big headache and devastating disappointment, even almost cried...now I laugh remembering that :D There is an interesting book I saw then that I recommend, it's name is "the nature of code" , talks about examples of algorithms that appear in Nature and natural phenomena.
> Fusion has no toxic or radioactive bioproducts.

D-T fusion, which is the easiest to achieve and perhaps sustain, directly produces He nuclei (that is, alpha particles) and rather energetic neutrons at 14 MeV. Those neutrons, aside from being a form of ionizing radiation themselves, are bound to transmute some of the surrounding material into radioactive isotopes. So, I don't think that "no toxic or radioactive byproducts" is correct. However, the results are easier to handle than those of fission reactors.
I’d expect a court to find against this in the same way it would find against someone communicating the information in a foreign language. It’s the intent and how you use the file that matters to them.
In my opinion, crypto is the easy part. I think the only problem I had when I worked on my own Accounts&Sync re-implementation (a crude hack, I admit) was some MAC-related issue with BrowserID, where different (old) Firefox versions had generated different assertions. Don't really remember what it was.

The real problem is data model is significantly different. It's possible, but a lot of boring work, designing the appropriate transformations.
Google launches VisBug, a Chrome extension for point-and-click web design
Well, if you're working on a codebase for 10 years, then "no budget" is not really an excuse, sorry. As a responsible engineer, you should have either convinced management to spend some of your time on refactoring main parts, or cleaned it up yourself bit-by-bit every time you touch something. 10 man-years should be enough for a program that was created in 10 years by a single rookie dev.
If you search youtube for something like "pure data dance music" you'll find some excellent spaghetti diagrams that produce music/video.

Since the environment provides realtime feedback, it's a drag to try to refactor the current diagram into a reusable abstraction. Instead, many users optimize their creative time and just keep adding functionality to the diagram in a single graphical window. By the time they are done there is text overlapping other text and a bunch of lines obscuring most of the diagram.

Even with the ones that have a simple set of controls for a sequencer or whatever, there is usually a "guts" module that hides all the spaghetti.

Also, for any running program you can instantly make it twice as spaghetti by doing "select all" and "duplicate." :)
Sorry, had to go do real work an the entire day flew by. Now I am on my phone and it won't let me copy and paste the relevant passage. I’ll try in the morning from my computer.

The finding, in a nutshell, was that if every source of clean energy was deployed optimally at a global scale, not only would atmospheric CO2 accumulation not stop, it would continue to rise exponentially.

Convert the entire planet to the most optimized versions of “green” energy sources and you pretty much fix nothing.

This is a sobering realization.

I urge you to read the paper, there’s a lot more detail there. They set out to prove renewables could “save the planet” only to discover it would be an exercise in futility.