skysight-inc/HackerNews huggingface dataset:
Um, please, finish the quote:

> "In many countries, Burke says, doctors resort to using a makeshift solution: a Coke bottle filled with water and attached to some tubing. The D.I.Y. approach can save an infant’s life but risks causing blindness."

That NOT a better solution, thanks.

The entire article is rife with this.

Ketamine isn't a better anesthetic--it's acceptable if you don't have enough anesthesiologists.

The condom with a catherer isn't better, but it is acceptable if you don't have a real UBT.

It's disappointing to see the fact that the ethics really aren't clear until the whole way at the end rather than acknowledging it in a much more important manner earlier in the article.

> "Kass, the bioethicist, is trying to puzzle out the ethics of what might be seen as lower-quality solutions."

Doctors are also more likely to use these solutions with lower-socioeconomic groups--that is the whole point of them being cheaper, after all. And that opens an even bigger issue in places like the US.
Might want to change "KS" to "interviewer" as nearly everyone commenting on this seems to think it's the CEO saying KS's quote ;)
You're right. I had a brain fart forgetting that buybacks are taxed as profit.
Somewhat offtopic but it is strange that special-purpose languages for scientific computing even exist. It seems far saner to just have these tools available as a set of libraries for a general purpose programming language and indeed the world seems to be heading that way with python as the chosen language.

Maybe when matlab and mathematica were first created the existing dynamic languages were not very good?
Serendipitously, I actually had the occasion to do a code review of some Tensorflow code in C++ today and man was it narsty compared to what it would have been in Python. this is pretty much the kind of thinking of when I mentioned libraries being cleaner in ways where the trade-off is worth the loss of information.
I had nothing but non-stop pain with the NetGear Orbi system. Even the most recent firmware was constantly dropping satellites and the Apple TV. It was one of the most aggravating products I've ever purchased. The firmware is also complete junk. For example it has a QoS tab that simply shows a link to a 3rd party speed test service... that's not what quality of service means. The whole system is like that.

I finally threw in the towel and bought a few of the new Synology Mesh routers.
This is, so far, a fascinating essay. Can't wait to get home to finish it.
It's a pity Modula-2 did not gain wider adoption 30 years ago - it has almost all the memory safety of managed languages and none of the performance penalties. Array bounds were checked by compiler and the only available unsafe operation was deallocate, all other unsafe operations were sequestered into separate module which could be easily isolated, audited, and/or banned as appropriate. Life could have been so much better.
The problem with this type of business is that the business is typically in a position where the loss of one or two key people will basically kill it. What if you get board and decide to move on with your life?

The bottom line is that a niche product is always going to be at risk regardless of the structure of the business that produces it.
TL;DR ^^
there's going to be a great http://n-gate.com/ paragraph from this thread
We do not need a surplus of masters in public policy or museum studies majors, for example.

The higher-ed industrial complex is generating a lot of waste/surplus w/o bearing any of the cost.
Excellent, a brand new attack surface for malware. Cue the report of a Docs worm in: three, two...
> Why wouldn't it? There isn't anything special that needs to be done, you can stream in whatever you want and render it to the existing buffer.

1GB to the browser for rendering... Sure, it's doable. So is eating 1KG of wings for lunch. Doable, but very far from being a good idea.
The current business model of Patreon is not sustainable
This is precisely why large concentrations of wealth are harmful to the (free-market) economy. They distort the market entirely. A wealth cap / much stronger taxation on individuals and businesses funding a basic income would be a good way to fix this without breaking the market mechanism.

A concentration of wealth is nothing other than a concentration of (economic) power, and it's bad for exactly the same reasons that other concentrations of power are.

It boggles my mind that people who argue against large governments because their incentives aren't correctly aligned don't see that precisely the same argument applies to private individual/businesses with large amounts of wealth.
I was considering buying one. Not any more.

I don't have an alexa or google home or any other "smart" home device, and don't plan to get one. The hard part will be when they integrate such software into every appliance. Anyone have any idea what those of us concerned about privacy will do then?

Also, I still don't get what the point of having a "digital assistant" in all my appliances is. Can anyone explain?
I guess another real advantage of SPA is that you get an API for free. Last place I worked, the product people had a genius idea to "build a public API". They decided to give us half a year to do it.

We had a SPA using OAuth.

I spent a few weeks adding docs, ran Swagger codegen, then declared it finished. Every call our front-ends used was now part of an API. Then we just trimmed out the parts we didn't want to officially support.
Mathologer has a nice video explaining how to solve a cube,
and they are really using group theory :),

https://youtu.be/-NL76uQOpI0.

The key take away is that all you need to do is find a few basic operations (swapping an edge/corner/center) that leaves the rest of the cube unchanged, and then your job is basically done, you apply these until you have a solved cube.

This might approach might not give you the optimal algorithm, which has been shown to be able to solve any Rubik's Cube in 20 turns or less [0].

[0] http://www.cube20.org/
I'm not against smaller services... but I've seen people use them, "because" and break their data models into separate services where coordinating data then becomes weird to say the least.

I'm not against micro-services, I'm against making everything a microservice because one can.
Yes, I know. My point was that CPU-only deep learning is possible on the Pi if you don't need real-time inference. What I wasn't sure of is whether that specific port does anything on the GPU at all, or if it's only using NEON intrinsics.
I'm sure some of them are. And Citus is not the only startup pushing PostgreSQL in a way the community did not want to.

If you look at https://wiki.postgresql.org/wiki/PostgreSQL_derived_database..., it's a pretty long list - some of the product are successful, some are dead. And then there are products adding some extra sauce on top of PostgreSQL (e.g. timescaleDB).
Fuchsia implements TCP/IP stack in Go. It is an improvement over others.
The Pillars of Functional Programming (Part 1)
> Nothing "reverse" about it; the question is why rich countries don't import low-cost low-tech solutions from poor countries.

Simple: Because you will never make your money back running that device through FDA approval. Especially if there is already another device in that space.

If you want the cheaper versions available, just get some charity like the Gates foundation to shepherd them through the FDA approval process. After that, lots of manufacturers will be happy to build them.
And yet Nintendo hasn’t tried to compete with the next gen graphics since the GameCube and is doing quite well.

The wii outsold the Xbox 360 and the PS3. The DS sold 160 million to the PSP’s 80 million, the 3DS another 75 million to the PS Vitas 10 million.
Florida School Hires 2 Former Combat Veterans to Take Down Active Shooters
I'm not saying all internet activity should be tied to a real identification... but, just perhaps, dating sites/apps should be.
https://semver.org/#how-do-i-know-when-to-release-100
Emphasis is fine. What I am referring to is when people generalise things that are specific or local to the northern hemisphere onto the whole world.
Using "less free" or "more free" in this context just leads to pointless semantic debates. What happened is that someone made a clean-room implementation of a copyleft program in order to have it available under a copyfree license. Both licenses are Free.

http://copyfree.org/policy/copyleft
Sometimes I think Softbank is actually just parking money. For example, their Uber investment doesn't make any sense to me except that they have preference. If you've got billions it's probably hard to find opportunities with potential upside but limited downside. I also vaguely wonder about their connection with Saudi Arabia. My understanding is that the money isn't just available -- it comes available as investment opportunities arise. In other words, they need to find opportunities to spend a couple of billion here or there, but where it's a quick pitch to the investors who are fronting the money. I have no idea if this investment is part of that "Vision Fund", though, and it's pure speculation on my part.
Luckily now we have Rust! :)
Well they take a bit more setup but honestly if you've bought your own router before it shouldn't be unfamiliar.

I personally found the interface a step up from Asus/Netgear/etc.
IMHO there were other / more important reasons why MySQL was initially more successful.
Very cool news. rsync(1) is one of the first things I install on a new OpenBSD instance.

Tangentially related, I've been using Time Machine-like wrapper [0] around rsync(1) for a few years. It's very helpful for maintaining snapshots of my home directory.

[0] https://blog.interlinked.org/tutorials/rsync_time_machine.ht...
Those have been taken off the market as far as I recall. The ones on the market now should not have that problem.
On a multithreaded implementation, you can do it with 2 stub functions and an array/hash of function pointers (hereto refered to as the "table") that itself acts as a spinlock array. Initialize the table with stub 1 and atomic write stub 1 to the table on eviction.

stub 1) upon entry, atomic write stub 2 into the table. Then compile or enqueue onto a compilation thread/process. At the end of compilation, atomic write the newly compiled address to the table.

stub 2) spinlock on function pointer array entry != Stub 2 address. At end of spinlock, call new function pointer. If you care about power consumption or timing attacks, the spinlock can have a backoff corresponding with the speed of your JIT compiler. This function should be able to fit into a single cacheline, so it should usually be hot.

inlined thunk: Given a function, read address from table and call it.

The client uses the thunk to call the function address in the table without knowing if it's compiled or not. On Intel, you shouldn't need a read fence due to MESI rules.

The branch/fetch predictor works by hashing the address of the branch instruction into its own lookup table. So by forcing stub 3 to be inlined, you're relying on the hash to prefetch the correct function address and call it directly.

You should also be able to put the JIT into a separate process that mmaps with the NX bit set, and have the client load without the NX bit set. So it would be difficult to exploit the JIT compiler itself (but the produced code could still be unsafe).

You might want to cachealign the function table or pack similar chunks in the same function table entry to prevent false sharing whenever there's an atomic write. Also, this table is going to thrash your cache by incurring an extra cacheline load for the trampoline that it does every time.

Anyways, that's my back of the napkin design for how to do it.
"You just keep telling yourself that..."

I'll be over here. The greater expressiveness of C++ means that optimization effort can be, and routinely is, captured in libraries where it benefits every user. Because optimization effort is amortized over all users, more attention can be devoted to it -- and, again, routinely is.

Powerful libraries that can eke out machine potentialities without compromise and deliver them to many users, to compose with other powerful libraries, make a language fast and quick to code in.

C++ isn't the only language good for capturing optimization in libraries. Rust is good and getting better fast. I don't know about others. D, probably.

The MLs and Haskell could be good in this way if they were not saddled with obligate GC.
> The dumbest thing in the world is working at FAANG at high salary levels. Unless your are in the C-suite you are always in a precarious position. It's not easy to justify the high salary at a competitor all the time.

I don't think you know what you're talking about. An engineer making $200k+ at a FAANG can leave that company and.... probably make the same (or more) at another large tech company. Their salary is determined by basic supply & demand, if they have skills worth $200+ at one company, they'll find similar compensation elsewhere. (If it's not easy to justify their salary at a new company- why exactly is their current company paying them that much? Are they running a charity or something?)

I don't understand your obsession with payroll taxes. I'm self-employed too, everyone knows you avoid payroll or self-employment taxes by setting up an S Corp and paying yourself disbursements on top of a salary. Anyways, for an employee they're really not extremely high, so I don't understand building a whole strategy just to avoid this 6% tax. Being a FAANG employee comes with a ton of non-cash benefits & perks- the 401k match alone is probably double whatever you're losing in payroll taxes. The value of the health insurance is probably more than payroll taxes.... Sounds like you're not really properly accounting for any of this
The precedent has already been set (e.g. Infowars) that hosting an app on your platform is an endorsement of the content and the publisher of the app.
30 years of pain tho? Plus however many more years it will take to phase out existing C-based code, so another 30 at least.
Reddit confirms $300M Series D led by China’s Tencent at $3B value
Add some pixel art flair to your GitHub calendar heat map
How much knowledge of CS did you have prior to taking these classes? What takes the most time? Are lectures long? Are there a lot of homework? Big team projects/labs?

Previous CS knowledge -> If you gave me a design with some business requirements I could kludge something together that worked in Java. If you told me to code a linked list, traverse it, delete from it, explain A*, explain probability properly, explain any of the core design paradigms, programming paradigms, or any of the other (really trivial) core CS concepts, I could not. At my uni anyway, most classes met two times a week for 1.5 hours per meeting. Completing the homework in 2 hours may have been possible in 1st year during the intro classes, but that just simply wasn't enough time for me during algorithms, linear algebra, or discrete math classes. 3-4th year classes had lots of group projects, and it took over 2 hours a week just getting the group focused and on task in a coordinated way. This doesn't include the time to revise, understand the content, or actually code something for submission. Additionally, my degree had electives. I tried to pick things I found interesting, but writing papers on Pliny's views on mining, (and other somewhat interesting but unrelated to CS stuff,) took time =)
You need to _operate_ your software. The way a company with 10,000 software engineers operates their software is very different than how a company with 5 software engineers does it.

Microservices are the prime example of thing you should never do at small scale. They're a solution to an organizational problem of organizing large teams. Typically each team has a single microservice... and then 5-person companies will go all microservices and support 20 services with one team, and then get confused why it's not going well.
you should probably check the Programmer's Reference Manual (PRM)

i mean, they don't try to hide this information? Section 8.1.3 gives two options that are guaranteed to work across future iterations of hardware. the sibling comment that assumes a heavy serializing like CPUID is the ONLY method is shooting from the hip and only really appropriate if you're playing tricks with what LA you're using for the write/read.

you'll probably want to skim "11.6 Self-Modifying Code" as well. SMC is guaranteed to work, not work fast. Most folks want that second one and blasting out icache entries is going to put a damper on that.
Beyond the cost/benefit analysis, and apart from the programming element, are you up for 3 semesters of calculus, linear algebra, and discrete math, and differential equations? Are you prepared to start calculus in your first semester (you have a working knowledge of functional algebra and trigonometry, right)? If not, you will need extra time to level up your math skills before you can advance very far, possibly stretching your time to finish out by another year or two.
Firstly, that table doesn’t show the number of essentially different positions. For example, at distance 2, you have (54, by my count) positions where two faces were turned that do not share an edge and positions where they do.

Secondly, I don’t see why would want to pick a ‘random’ position that way. If those numbers were correct, it would mean a 1:21 probability that your ‘random’ position was zero moves from the solution.
The reason most Americans file for bankruptcy
This is less interesting than the upcoming expansions to Tel Aviv and Bangalore.

https://techcrunch.com/2019/02/11/yc-is-hosting-interviews-i...
Can someone post the text for those of us not on FB?
One comment on the article is particularly apt: “And remember: monorails, maglevs, and now hypeloops and robot cars are the transportation of the future! Always have been, always will be!”
Such a cynical comment. G Suite is a premium product for business and enterprise. It isn't going anywhere.
A lot of the narrative on HN seems to be that PHP7 has adopted most of the benefits of HHVM (performance) and Hack (typehints).

If you read this blog post closely, you will notice several interesting points in the Future Changes, which hint at making Hack a significantly saner language than PHP, especially around type-soundness.

> Several behaviors will be removed from PHP arrays; the general principle is that PHP arrays should work as “vec or dict”.

> Int-like string keys will not be converted to integers.

> Binding references to array elements will not be permitted.

> The values null, false, or uninitialized variables will not be able to be treated as arrays.

> Empty strings will not be able to be treated as arrays.

> Arrays will not be able to be compared to non-arrays.

> Non-arraykey values will not be able to be used as array keys and will not be automatically coerced.

> Arrays will not be able to be used with the plus (+) operator.

This is a massive change that goes a long way towards making the most prominent, core data structure of any php codebase be sound.

Other examples of introducing type soundness:

> Undefined constants will no longer be converted to strings

> ints will wrap in future releases, instead of being converted to floats, allowing the type of int + int to be int, instead of int + int = num.
Great idea, but for political purposes, you might not want to call the first position 'vanity'. Perhaps 'symbolic' or 'headline'. (Or even, 'political'.)
The demo shows manually typing static data into the fields, instead of pulling the data dynamically from the input event like you typically would.

disclaimer, I work at Zapier
> mainstream adoption for e-commerce etc having almost completely collapsed

?

The adoption was slow (and IS slow) but it never "collapsed." The same places I used BTC to order stuff from 9 months ago are the same places I use BTC to order stuff from now. And there are new ones popping up slowly but surely.
I wonder what the median amount is. Is the distribution of revenue heavily lopsided to the whales?
a memory fence is not required, as per my reading of the Intel documentation. i think you're just guessing and haven't actually written any SMC x86?

would you mind sharing what PRM sections back up this reading? maybe a careful re-read will help you figure out what "might" require a full fence.
I work pretty hard at not being a valuable (for ad purposes) Reddit user. Highly recommended.
> hosting an app on your platform is an endorsement of the content and the publisher of the app

What's the context behind this claim?
> Maybe when matlab and mathematica were first created the existing dynamic languages were not very good?

It had less to do with the languages and more to do with the libraries. Would you use Python over Matlab if numpy and scikit learn did not exist?
I have never heard about IoT Core before, only IoT enterprise and LTSC. This would actually have been an interesting choice for the project I am working on right now.

It's really infuriating how many versions MS is cranking out without clear differentiation between them and even when you talk to MS reps they know nothing about the options.
3-5 million would put Kaepernick in the same category as Chase Daniel, Matt Schaub, Mike Glennon, Chad Henne, Ryan Fitzpatrick, Drew Stanton and Colt McCoy. That doesn't sound like crazy money given the company he'd be in.
I've built a fairly large MMO unity project. The worst part of the process was the editor. Godot is a much more plesant experience.
Isn’t that a name of the zone in WoW? Or am I thinking Gadgetzan?
The Apex site is an Apple site. They house FT employees in the same building.
I think Ada was type-safe too, agreed re: 30 misspent years, and here's hoping it doesn't take 30 more to get where we need to be.
Most mart TV’s for example are DOA at this point. It’s still included becase it’s extremely cheap to do so, but don’t confuse sales with useage.

Really, if your selling a 4K TV adding under 10$ in components to make it smart for say 10% of people that who care is an easy choice. Especially, if you can turn this into a secondary revenue source.

“The numbers reveal that usage of Samsung Smart TV (Tizen), which is the only platform large enough to break out as a separate category, fell by 16% year-over-year, measured in viewing hours.” https://www.flatpanelshd.com/news.php?subaction=showfull&id=...
No one suggested having an anonymous account is an issue. The issue is the account being a sockpuppet one.
I know commenting to agree is not encouraged on HN, but I feel obligated to. This is an extremely compelling case/strategy guide for uncompromising pacifism and I haven't ever read anything like it. Powerful in a way so much of the conversation around conflict isn't.

To anyone seeing this comment before reading: take the time, it's worth it.
The BSDs have a strong preference for copyfree licenses. They tolerate copyleft programs, but try to switch to copyfree when possible. See for instance GCC -> Clang/LLVM.
But seems to be a close match.
Your gut is giving you good feedback.
I've significantly downsized, from a high-paying to low-paying tech position. Not the same as switching fields, but definitely has benefits, and is perhaps less disruptive.

I'm definitely try to enjoy life now. There might not be a tomorrow. Or, you might find that once you've "made it", you're no longer able to enjoy it.
Look to the future and try to build it on the lessons of the past. Dont worry about the missed opportunities, if anyone knew in advance C and C++ would not have been used the way they were.
On the contrary I don't have a problem with the syntax at all. You can almost treat it like a symbolic functional language. All the usual functional programming constructs are there like map/fold/lambdas (mathematica calls them pure functions).

I agree the front end struggles if you have a large dynamic object with a lot of data, it has been 32bit for a long time.
Job Posting, SF Bay Area: Staff Machine Learning Engineer, Search Sciences
Why would someone drink beer with no alcohol?