skysight-inc/HackerNews huggingface dataset:
That's a funny comparison. The much more obvious contrast would be to writing a Postgres extension in C.

Or are you asking, "why have native DBMS extensions at all?" Looking at the set of native Postgres extensions that currently exist would probably be enlightening:

• PostGIS, for one. You can't really define those types—and especially, the algorithms that operate on them—efficiently in PL/pgSQL. In this case, the extension is native for low overhead operation.

• uuid-ossp, for another. To generate the data it does, this extension needs access to several pieces of data from the OS (e.g. the MAC address of an Ethernet interface) that you can't access from PL/pgSQL. In this case, the extension is native to query native OS data APIs.

• Citus, for a third. Citus basically changes Postgres's runtime "operational architecture" in several fundamental ways. It augments the Postgres Postmaster, changes how replication works, etc. None of this is possible from PL/pgSQL. In this case, the extension is native to use native OS threading and IPC APIs to override how Postgres works.

(And that's ignoring the fact that having native extension support usually gets you ABI compatibility with the embeddable runtimes of most other languages, allowing you to then support things like Python or Java—and thus get access to low-overhead shared-memory+FFI-based "IPC" with existing libraries in those languages, rather than needing to have them run as co-servers and communicate over sockets. Which, in turn, gets you the ability to cheaply and easily use client libraries written in those languages to create Postgres Foreign Data Wrapper libraries for Datomic, or Elastic, or the AWS Public Dataset API, or whatever other weird-API-with-relatively-few-library-impls you like.)
Photovoltaic panels still cost €0.19 per peak watt, wholesale (https://www.solarserver.de/service-tools/photovoltaik-preisi...). Lowe's lists 50 feet of 3-inch corrugated black plastic flex pipe at US$31.98 (https://www.lowes.com/pd/ADS-3-in-x-50-ft-Corrugated-Solid-P...), which works out to 1.16 m² and thus 1160 peak watts, which is 2.7¢ per peak watt — 9¢ per peak watt if you figure that the collector is only 25% efficient (this depends on the temperature). Currently US$1 ≈ €0.874, so that's €0.079 per peak watt.

That pipe is HDPE, and corrugated to boot, so it can go through quite a few freeze/thaw cycles before it starts leaking. It's true that it won't provide you hot water when it's freezing outside unless you put it under glass or at least plastic, though, and that drives the cost up.

I was expecting to find that you were ridiculously wrong, but actually it seems like the costs for a passive solar collector that can produce hot water in freezing weather actually might be about equal, or in any case no less than half the cost of photovoltaic. Bravo! And thank you for the insight!
The instruction decoder that breaks up the variable length instruction set into micro-ops is likely hard coded.
The size comparisons are also very useful, if anything to show that even the simple "non-Modern" C++ program already has quite a bit of bloat.

Compilation takes 0.064 seconds, produces 8480 byte executable

I am experienced with Asm so I can come up with an instinctive order-of-magnitude estimate, but even those who aren't should try to roughly estimate how many machine instructions are required to implement that code, and come to the conclusion that over 8000 bytes for three nested loops with not much in them, a comparison, some arithmetic, and a handful of library function calls seems rather excessive. Even 800 would be on the high side --- somewhere around 100-200 bytes is my estimate.

Also, watch this 4k demo (everything you see and hear is generated in realtime by a 4096-byte executable):

https://www.youtube.com/watch?v=jB0vBmiTr6o
Something I've been thinking about this week as a vanilla bash user: Does Fish (or zsh, or others) have the ability to maintain some sort of a global command history? I often find myself wanting to run the same command in multiple terminals and currently just copy-paste.
I agree in London it's different, but for the rest of us, there is a snarky attitude towards contractors earning a lot more often to leave the project before go live
Freeciv I think?
"No one outside Apple can audit their products" is obviously an overstatement. Obviously people can take Apple's products and test them, subject them to fuzzing and reverse-engineering. But no one outside of Apple has access to their design documents and source code, and that limits the extent and effectiveness of those efforts. I probably should have hedged with, "No one outside of Apple can FULLY audit their products" or something like that.

Also, the focus on iOS is a distraction. Apple makes their own silicon. Vulnerabilities are probably more likely to be hiding there than in the software. Modern silicon is very hard to reverse-engineer.
For an emergency response system, I hope the answer is "about the same time". Or, more precisely, "within the allowed latency window for emergency alerts".
If you are on the beta release or a recent nightly image, you can just run SoftwareUpdater and it will upgrade to the most recent build on either branch.

If you are on an older (i.e. pre-2017) nightly, you can still upgrade automatically, but you'll have to manually change package repositories to do so. If you are on an older release (alpha4, etc.) then you can't upgrade at all, you'll have to reinstall.

Going forward, it will be possible to upgrade from beta1 directly into beta2, or whatever the next release is.
Yes, Some Companies Actually Want to Be Regulated
I sure do love Elixir, the language, the dev experience (code as documentation!!!), the docs themselves are something of a gold standard to me. (If you've ever tried to wade through OCaml docs... you feel me) The only gripe I've had is that when speed is a requirement, I have to reach for other stacks. Erlang is an uptime workhorse, it's just pretty slow compared to the JVM. Speed isn't always the most important thing... I get that. But when it is, Elixir/Erlang has some room to grow. I totally agree though, I wish I could write it every day.
How I was brought up, your wants and needs are utterly irrelevant to the company, and voicing personal preferences of any kind would have negative career consequences.

How would you recommend communicating these things to your manager without breaking this rule?
What I got for Christmas 2018
Would be interesting to know how many people unwittingly presented to an Urgent Care/ER with symptoms of "welder's flash."

ICD-10-CM code H16.139 - Photokeratitis, Unspecified Eye.

It's no-joke. You need a mask or you immediately look away. No exceptions.
Senate wants emergency alerts to go out through Netflix, Spotify
CenturyLink isn’t exactly an underfunded provider though.
Note the past tense - the comment is about what the company did in the early 1980s, not about what Apple is today.
Just read through the code, really easy to read. Nice post, thank you.
Former vol trader here.

This is an old article but the dynamic is always applicable. Your main issue is that anything that isn't statically replicating, ie simply holding a constant basket of whatever it's supposed to track, needs to rebalance. The bigger the deviation the more unfavourable that is. What vol traders call negative gamma or convexity if you are from the fixed income world. The problem is you are pushing the wrong way on prices when you need to rebalance.

The thing is the markets have been in a very low vol environment for a long time, possibly ending in the last couple of months. We'll see. But until then it was quite a popular trade to be short options.

You can Google optionsellers.com to see what happens when things go wrong.
Even if the commander called the strike, if the crew agreed or acted in accord, then that would still be a strike, no?
A pretty good summary of the state of C++. I actually enjoy the language and most of the new features. The 'modern' part is not at fault here. This has always been a problem. The cult of generic metaprogramming was always a pain to deal with. In part, the new language features can help reduce over reliance on templates. As a community we must push for features that can get is out of this situation, like a sane modules system.

I think Bjarne Stroustrup is partly to blame here. He has succeeded in creating a versatile and popular language but has given little priority to problems like build time, error messages and debug performance. These sound like petty, practical problems that the tooling guys should eventually figure out. Except they aren't. They are hugely dependent on the language design.

Another thing we are missing is a high profile figure that will show the way on correct patterns and that will literally publicly shame the authors of too "meta" template heavy libraries. You are not smart if you are writing these monstrosities. It should not feel good. Making it simple requires much more intelligence.
I feel for you, man. Best of luck! But you may be on the wrong side of history :)
Why did you make that change? Very interesting.
True :) I know the strip. tbh I just felt like trolling the insecure “data hackers” crowd. Looking at downvotes: I think it worked.
I mean if you want to get into the history of any technology you can point out how archaic and horrible it was initially. We're still in that phase with the internet, in 50 years people are going to read about things TCP/IP and Facebook and Comcast and won't be able to stop laughing hysterically at how bad and flimsy it all was.
I think it would turn out to be on balance very good for Centurylink's stock price and management if the root cause of the outage was determined to be hostile foreign action instead of, for example, a mix of profiteering and incompetence by company upper management.
This is a really good point. If you are after clean air, natural beauty, outdoor activity and the New England vibe you could just as easily live in New Hampshire and pay zero state income tax.

Also there are many parts of New Hampshire where commuting in to Boston is an option if your remote gig went away. Many people live in low tax New Hampshire and commute in to Boston or or other parts of Massachusetts.
The article feels anti-Chinese rather than being objective on the issue.

Is that why the title is in quotes?
0ad is an open source RTS engine and game with it's own units, gameplay and map making that are similar to AoE, but it is not a clone of AoE. https://play0ad.com
VMware Workstation Pro 15 License Key and Serial Key Get Free
Using non-imaging optics, trough concentrators up to a factor of five or ten suns can work through a substantial part of the day with only seasonal tracking (i.e. twice a year you go out and change their angle by hand).

The very first solar power plant, in Egypt in I think about 1910, was actually a steam plant that worked on precisely this principle. Photovoltaic is cheaper in most of the world than a steam engine now, though.
> Experience is "real data". Nothing could be more "real". To imply that real life experience is anything less is obstinate, and ignorant.

Experiences are coloured by your personal opinions, emotions, retrospective reasoning, and so on. Yes, it's "real" -- but it's not objective or useful data in the context of discussion about a scientific argument (this is why I scare-quoted it in my response -- all data is "real" unless you literally fabricated it, but data being "real" isn't the only consideration).

You can base your life on what you feel is important, I'm just saying that (on the whole) clinical studies are by far the most effective way of discovering whether a hypothesis stands up to scrutiny.

> Do you think if they increased the amount of sugar they gave those kids by 30% in would have affected the results?

You were talking about Red 40, not sugar (and you dismissed out-of-hand that the problem wasn't caffeine).

But in any case, I never said that sugar (or Red 40) wasn't bad for children (sugar is obviously awful for humans in general, and that has been known since the 1950s with John Yudkin's work), I was saying that arguing it from purely anecdotal evidence weakens your argument needlessly.

On the Wikipedia article for Red 40 I saw a study from 2011 by the FDA that showed a possible link between Red 40 consumption and hyperactivity, but also that further testing was needed (I can't download the PDF of the study -- it's missing from the FDA website). I think pointing people to that would be a better way to argue than to argue from anecdotes.

> I've also spoken with dozens of mothers who've confirmed those observations during this past decade alone

I guess I was in the right ball-park with n=32. How did you confirm these observations? How are you sure that they didn't have a preconceived view on what caused their experiences? Did you ask questions that might have lead them to a different answer (as we know, polling questions can be written to find either result)?

While I do appreciate you wanting to find out information "from the horse's mouth", you need to consider whether you added any bias in your research. This is why double-blind trials exist, and is why you need to have a rigorous experimental design if you want to prove something.

Would you accept the argument that "I've spoken to with dozens of mothers who've confirmed that their children became autistic after being vaccinated"? Of course not. Just because "sugar is bad for children" is probably true (and "vaccines cause autism" is categorically false) doesn't mean it should be subject to less scrutiny as an argument.
Nirandfar.com+|+Subscriber+Thank+You
Iterm2 on osx supports sending the same inputs to multiple tabs
pay > 100k €?
zsh has a SHARE_HISTORY option: http://zsh.sourceforge.net/Doc/Release/Options.html
Absolutely. Especially given this widespread failure, the last thing I want is more central control.
No, unfortunately I'm not at liberty to share this code.
This may be pessimistic, and relating back to the higher level comments on the auto side. Watching how current automotive manufacturers have gone due to the bean counters demanding higher margins - I don’t know that we can expect them to default to the better quality hardware. If they do, I’d expect it to be during the formative/adoption years and again decline toward higher margins.
So are Canada and Uruguay. UN treaties are meaningless, they're purely for show.
Drawabox has some great exercises and starts by teaching the mechanical skills necessary for drawing.

https://drawabox.com/
Investigating Gmail’s “This message seems dangerous” (Solved)
Thanks for sharing! A brief review of the home page shows that it is not compatible with the goals of mrsh, though. It seems Yash aims for high compatibility with POSIX, but adds extensions - mrsh is strictly POSIX, such that in some cases it even detects bashisms and aborts the shell. The goals of mrsh are:

- Support the proliferation of portable shell scripts and discourage the use of non-standard extensions

- Provide a "POSIX shell as a library" to have a useful standalone parser and pluggable event loop

- Provide a moderately comfortable interactive shell experience OOTB

Personally, I'm going to eventually use the second goal to make a new shell based on libmrsh which has a fish-like interactive experience but with a strict POSIX syntax.
I hope they get it together. Vermont interests me from what little I know about it. What’s the culture like?
Penn & Teller's "Bullshit" show did a similar experiment with "bottled" (actually, tap) water. It turns out most people rate tap water better if it's served in a bottle and told it comes from a natural spring.

It surprises me in the case of frozen patties like McDonald's though. A frozen patty looks nothing at all like an actual burger made from ground meat. It tastes differently as well, of course, but what matters is that it looks completely different!
there are winners and people who complain. it's mutually exclusive
manpages are such an inconsistent and often wildly disappointing experience that I advise everyone to give up on them and go with <any top internet tutorial> instead.

There are like a half dozen really good manpages I can think of, some others might as well be written in Mandarin
Low-hanging in the following sense: the premise - I tell you what I like, you tell me what else I might like - is compelling for the consumer, therefore, input is not the limiting factor. Moreover, recommender systems at such massive companies must be particularly amenable to A/B testing to help profile their customers more accurately. Finally, performance metrics are straightforward and easy to calculate.
Wikipedia tells us that on Skylab 3 a total of 1,084.7 astronaut-utilization hours were tallied by the Skylab 3 crew and that a total of 6,051 astronaut-utilization hours were tallied by Skylab 4 astronauts.

So it's fair to say that either NASA completely changed the way they measured "astronaut utilization" between these missions, or the Skylab 4 guys were flying a very different mission. We're comparing a 60 day mission to an 80 day mission, but still.
But Haskell has been Joey's favorite programming language for years. Why would it surprise us that he uses it for this? It's not like turning off the fridge needs submillisecond guaranteed response times!
Note loud NSFW language immediately and throughout the video. :)
This is Robert, the lead developer for brain.js. Ty for the plug! I was going to mention this, nice to see people listening and helping spread the word. Working on it hard guys! When spare time cannot be had, just stay up late, and get up early!
It depends on the market! If people pay 2-3X more, then yes. If you need to be a published author in tech or have previous experience as an MD in an investment bank, then it's a marginal niche market.
Thanks, this is a really helpful website.
Technically the federal government can only impose penalties for recreational cannabis. Medicinal cannabis is also federally illegal, but congress has prohibited any resources from being allocated to enforcing prohibition against medical marijuana businesses or users who are in compliance with state law.
Unless you're one of its developers, probably exactly the same.
Why is the Swift Package Manager taking so long?
None of your arguments in this thread cohere. You wonder upthread why I'm not volunteering more of my own perspective on this. It's because I don't want to arm you with more weird tangents to pursue. Let's try to break this down:

1. We're talking about SS7 security.

2. Whether or not SS7 is secure, if your phone is compromised and hostile, it's game-over. So it's hard to see how this debate is even relevant.

3. You introduced the argument that Apple and Google phones were untrustworthy because nobody outside Apple (or Google) can audit them. You now say that's an overstatement.

4. When informed that there's in fact a whole cottage industry of people outside Apple who do audit iOS from binaries --- effectively enough, I'll add now, that they routinely find vulnerabilities that Apple missed despite Apple's privileged access to "design documents and source code" --- you express incredulity.

5. You denominate your incredulity in a "bytes per second" rate of reverse engineering based on compiled image sizes.

6. Later, you derive a rate from the number of characters you can fit on a VT100 screen.

7. You later clarify: we have to audit everything, you see: not just the kernel and privileged services but also every pixel in the Apple logo that appears when you boot the phone, and, of course, the security of the weather app.

8. Now we can't trust silicon either. Vulnerabilities are (???) more likely to be hiding there than in software.

This is a kaleidoscope of weird, wrong arguments about security, and, once again, has nothing to do with the thread. If you simultaneously believe all these things, it still doesn't make sense to try to protect phone calls by securing the SS7 network.

What I think you should do is take a simple binary from your desktop OS, download a copy of radare, learn how to use it, and blow your own mind about how even the free, open source reversing tooling works. I'm not being snarky. I think you'll be surprised by how this stuff works.
Well, you aren’t rebuilding your binary every frame, are you? I might be missing something.

Also, I think build time is super important in most contexts - what I think is less important is runtime speed when you’ve disabled all optimizations.
It's good if you've shorted TSLA. Otherwise not so much.
Ty, I hope my voice is/was not very irritating. I obsess over relaying ideas in a _very simple_ manner.

Things should be as simple as possible, but not simpler...
AFAIK C and C++ compilers are not allowed to re-order floating-point arithmetic precisely for that reason. Also, given that all cpus support SSE/Neon/etc. now and I haven't seen a compiler use the 387 FPU, I suspect register spilling shouldn't be an issue these days. Of course, legacy/exotic platforms will deviate from the norm in fun ways.
Base 32 and base 64 encoding
It's a bit buried in the article, but here's the link to the complete and searchable digital archives: http://nycma.lunaimaging.com/luna/servlet
Some LiPo batteries, like those used in quadcopters, actually have power densities more than an order of magnitude better than lead-acid batteries; I think they can be small enough that they're even cheaper.
When I’ve been teaching people to program, explaining [0] has been a tragic experience.

Starting at [0] is not objectively better than [1]. I actually believe it is objectively worse.
It is two very large egos. But, wasn't Ellison a board member for Apple when Steve Jobs was CEO? So apparently he can get along with other big egos pretty well.
I'm sorry, but you are simply rewriting history. As late as July 2017 (when the Model 3 launched), Tesla was claiming that the base model would be available that year (https://electrek.co/2017/07/29/tesla-model-3-production-spec...). They had been saying the same thing (that a $35,000 would exist and be available in 2017 for the previous 3 years).
C++ compilation feels like what you would experience if you could only understand a sentence by looking up each of its words, and each word was defined in a separate book, and each book was in its own shelf in an enormous room full of shelves, and one of the shelves was in a library on the other side of town, and one was in Alexandria.
From 2016: https://news.ycombinator.com/item?id=13089489
It doesn't make me want to short Tesla stock. But it does make me want to short my likelihood of owning a Tesla product.
The real core to 0AD is the open source game engine Pyrogenesis, https://github.com/0ad/0ad/tree/master/binaries/system if you know some Python/Blender - https://en.wikibooks.org/wiki/The_Pyrogenesis_Engine/Introdu...
At the very least it is a very well designed piece of software. Even if only for that reason, I would recommend taking a look.
Opting out of all social help usually doesn't exist as an option at all.
Let me know when it's posix compliant.
In part because you can use screen/tmux over an ssh connection.
In many ways, it's about being the first to do something. I write a lot of code around DPDK for packet processing. It's a pure C library. I know rust has good C bindings, but I heard Go did as well. I started a project in go using cgo for the dpdk parts.

What a nightmare.

I spent more time figuring out the idiosyncrasies of cgo than actually writing useful code. And in many cases, cgo couldn't actually do what I needed to do. I had to write some functions and see inside of the .go file.

I'm sure rust would have been easier to call C with since the languages bare inherently more compatible, but I don't want to go down that path again right now.