skysight-inc/HackerNews huggingface dataset:
yes but it's explicit, you have call special kernel routines and manage the memory yourself, it's not hidden in some library somewhere causing 500 new/deletes outside of your knowledge .... I've certainly met programmers in the past who have not internalised that new/malloc are a couple of orders of magnitude more expensive than other language primitives like + .... and had to show them how to profile .... and discover that 90% of the time our large multithreaded app was spending was in malloc .... inside their bespoke strings package .... and that statically allocated strings on the stack and strncpy were perfectly good for 90% of what they were doing with strings and didn't spend any time at all time in low level heap mutexes
On the one hand, I completely appreciate this. When I set up NTP, I'm careful to think through consequences and tread lightly. After all, I learned my sysadmin skills at a university before the September that Never Ended, so it really was a collegial place back then.

On the the other hand, the internet is a much bigger place. Things are orders of magnitude more complex. The feedback loops that made NTP work well in a 1990s university environment are mostly absent. When a problem happened then, I'd see something in the logs or in packet captures, figure out what was happening, and get the responsible person quickly on the phone. That's not even hazily possible these days.

As much as I'd love to think putting a stern warning in textbooks would fix this, I doubt that would matter at all. What we really need is a major increase in observability or traceability. And failing that, what we'll get is common resources getting sliced up so they fit within domains of accountability.
Not quite. Lithium Ion is cheaper at home-energy scale.

Flow batteries are more expensive and complex. So they are ideal for utility-scale projects only. When you're powering an entire neighborhood or city with a single battery, you'd probably rather make a Flow battery rather than a million Lithium Ion batteries hooked up together.
Exactly. If you read the literature on dissent it's frightening. Even humans can't work out who is being honest and what the verifiable truth is.

Read "In Defense of Troublemakers" for an overview of where research on dissent is at.

It's pretty scary, because there just isn't anything you can do to turn the political machinery in everyone's heads off and it's default behavior is to shutdown opinions it doesn't agree with seeking consensus not truth.

It's doubly scary if you read books on our cognitive shortcomings. We are not capable of computing the truth values of most truth claims. It's so expensive to know anything that most of our mental models are ultra-low resolution. We are a guess-and-check species who rationalize and politicize everything. To top it all off we barely ever think we are wrong.

It's not a mystery why the world is so chaotic and crazy. It's not a mystery why authoritarianism has run rampant throughout history.

I wish we were far more educated on the subject of how we get things, so terribly wrong.
If you have your own dedicated IP range and you are advertising routes correctly, then you're as close to ownership of your IP addresses as Google or Facebook are of theirs.

ARIN and RIPE control allocations, but do not control routing to allocated ranges.
I second that.

Matt Pharr's posts on ispc are an extremely interesting read, both from a technical perspective (programming abstraction and hardware design) and a human perspective (Intel politics, managing style, and career decisions).
> what does it mean to be "social"

It sounds like you're making a distinction between 'public' and 'private', a distinction with a very long history in the West with sharply differing sets of norms.

Early social networks were intensely private, even though you were dealing with individual members of the public.

As networks grow and try to vacuum up connections, the actual connections weaken and social networking becomes either quasi-public (the circle of friends' friends could be hundreds to thousands of people), or if something goes viral then it's just public.

Our norms for public discourse are sharply different from private conversation—you can say lots of things in the privacy of actual friends and family that presumably you wouldn't say in the middle of a town square.

But social media today means that every interaction you have targeted just to friends has a low, but non-zero probability of being judged also by all your neighbors and faraway strangers who have less context. Of course that's uncomfortable—you don't know ahead of time which set of rules are going to get applied to you.
Sydney Opal Tower: Thousands evacuated after 'crack'
SpaceX had to use a fully expendable Falcon for this launch. What makes a GPS satellite so heavy?
ES6 has map, filter, reduce, etc... and anonymous functions which can be used in lieu of Ruby blocks.
Web of Stories: Don Knuth
Yes, it's real. Tides are higher around the full moon due to the earth, sun, and moon being (roughly) aligned. If it was already high tide, adding a tsunami on top of it is going to be more impactful than at low tide.
Show Reddit: Techie Delight's Online Compiler and IDE
They are complementary technologies. CSS Grid really shines for doing the "full page layout" portion of websites. One really useful feature of CSS grid is that it composes really well with media queries, so you can create responsive websites really easily by just defining different grid area layouts for various screen sizes.
You've just described a subjective POV.
We took "Show HN" out of the title above. Please read the rules: https://news.ycombinator.com/showhn.html.
Nothing can do that. The amount of energy storage needed is in the Terawatt-Hours. Lithium Ion / Flow Batteries are in the hundreds-of-Megawatt-hours area.

Solar + Wind will get us pretty far however. Wind picks up at night, while Solar is best during the day. Natural Gas Peaker Plants seem to be required in any situation I foresee in the next 20 years, but minimizing the use of peaker plants should be the goal.

Alternatively, we build higher base-load plants like nuclear. That would help a lot.
I expected it would be, and that’s how I’ve implemented my vector variants, but I checked the source code for libc++ and libstdc++. Both use two pointers.
Completely agree about the inspiration part. I can imagine the laughter between the two brothers as they watched early staged prototypes fail and water spewed out...very cool.
No, I ended up creating one. I've had an account for the longest of times where I had family I never talk to who are just virtue signalling, but I wanted to start fresh as I started college, and I wanted a way to keep track of what schools my old classmates were moving to. It was a great decision as a lot of people use messenger, and sometimes reception can be a bit non-existent in subbasements.
I wonder if that is possible to optimize at compile or execution time. Is it possible to determineif the gains sending the work to the GPU is worth the latency hit?
Teenage smoking is not back. Teenage nicotine use is back, which is not the same.
IIRC, Safari, Edge, Firefox and Chrome all support CSS grid.
This is 100% not true. Enterprise adoption of GSuite is infinitly more valuable to Google than chromebook sales, and that means having well-supported apps on iOS, which is the BYOD platform of choice for most office workers.

Like another comment mentioned, it's much more likely that the web version, which constitutes the major use case for the app (chromebook, windows, macOS, etc.) just has a boatload more developers working on it.
Extra means over the top, excessive or dramatic. Generally,
People on Twitter trend to be rather dramatic.
You can install Signal through apt if you turn on Linux applications.
Show HN: Emuparadise-dl, terminal search and retrieve utility for roms and ISOs
> As young as 2 year olds will be now asking for tablet instead of licking the floor.

As a parent of two young children:

(1) It's not “will now” as in something that hasn't been true already.

(2) It's not “as young as”, if they are around, children will ask for them younger (much younger, like, before they have words, when asking is done by gesture.)

(3) It's not “instead of licking the floor”, but “in addition to licking the floor”. Also, they'll lick the tablet.
Is AWS not cloud-based any more?
Linux will run on almost everything these days. Of course they care: Linux desktops are finally starting to run out of the box. Kill the baby before it grows up.
I feel like some old fogey/luddite when I say "I've never seen the point of iPads" - or tablets for that matter.
I've had a few and they're great as media consumption/browsing devices - but am utterly bemused when people say they do "all their work from them".
I feel quite angsty enough when my laptop gets decoupled from the desktop-symbiotic multi-monitors and proper mouse and keyboard.
I can see the point of a Chromebook - shoving Chrome into something cheap/efficient (if Chrome is all you need), but am eternally bemused over people trying to bolt keyboards to tablets - "you wanted a laptop"
David L. Mills, the inventor of NTP, probably looks exactly how you picture him.

https://en.wikipedia.org/wiki/Network_Time_Protocol#/media/F...
Show HN: Share and Listen Music, Watch Movies
This is a technical person blogging for a technical audience. If you are not tall enough to ride this ride and aren't interested in growing, maybe find another ride.

If this were a project blog post explaining their latest features, I'd agree with you. If the point is outreach, then yes, they should make it accessible. But he's telling a story. A story that requires a relatively deep understanding of the history and practice of operating internet services. Him writing "NTP (Network Time Protocol)" will not make the story much clearer. And if he explains the whole background, then it's no longer a story, it's a general-audience essay. That's a lot of work for you to expect from somebody that you aren't paying.
It's not just for amateurs.

Much of the 3D work for Man in the High Castle is done in Blender, as Barnstorm VFX is a Blender shop. While not used widely, there are pros using it in big productions.
Just to clarify. This behavior is expected since 3.6:

As of Python 3.6, for the CPython implementation of Python, dictionaries remember the order of items inserted. This is considered an implementation detail in Python 3.6; you need to use OrderedDict if you want insertion ordering that's guaranteed across other implementations of Python.

As of Python 3.7, this is no longer an implementation detail and instead becomes a language feature.

[1] https://stackoverflow.com/questions/39980323/are-dictionarie...
Isn't Michael Bloomberg going to run for president? Just a hypothesis, but I think that might explain why I see so many negative articles continue to churn out of Bloomberg.

IMO, looking like a good time to start buying US stocks if you have the cash via dollar cost averaging.
To be honest, with fleets in the wild, simple works. We do deploy containers to these devices, but rather than kubernetes-ing the whole thing, it's more like "every device in the fleet must run this container". In IoT/Edge affinity is a big deal, so the payloads are pretty uniform. You don't want your container to migrate away to another device while you're trying to use the device to e.g. fly a drone or open a lock.

The difficulty comes in configuration, where things are much more complex than the cloud, since every device is "special". Different customers, keys, settings of all sorts. So we allow individual environment variable settings for each device.

The real complexity is in ensuring you can reach every device as long as possible, and that the devices behave well when they can't reach the cloud. We set up a VPN to ensure the former, and have a pull-based architecture where the device is responsible for "catching up" to the fleet when it comes back online to handle the latter.

There's a bunch of other things we've solved, like container deltas to improve download times by something like 10-70 times (and reduce bandwidth costs) but honestly the biggest difficulty has been in integrating cloud/hardware/developer/network/OS etc seamlessly, so people can succeed at building fleets, and fast. It's like there's 10,000 papercuts moreso than one or two big problems to solve. It's a long chain of things that all have to work right to make the system work, and each one has to be done in a way so that it doesn't break after some time passes (see the OP for an example).

To answer your last question with (yet another) plug, you can probably run through our getting started guide in an hour and have your first device that you can deploy a js project to pretty fast. If you spend a few days, you can start to have some real accomplishments. It's not that hard to make the jump these days if you have a web background (hell, most of the founders didn't have IoT experience when we started) but there are things you need to learn that relate to hardware and linux if you want to do something more advanced. You can learn at your pace though, and I thoroughly recommend starting with a project you enjoy, something like, but not necessarily https://www.balena.io/blog/make-a-web-frame-with-raspberry-p...
How can you come to another conclusion by all means. Convince me that solar can serve as a base powersource.
Normally the fact that you had to read the manual is a sign that the UI is badly designed. Or at least that no effort has been made into making it discoverable.

There is no conflict between usability and power. You can have very powerful interfaces that don't require a manual to use.
There are programmers who don’t count from zero. And even programmers who count from zero but don’t do so consistantly as soon as they implement even the simplest personal indexation.
Ah, thanks! It’s fixed now. https://hub.docker.com/r/joshbetz/wordpress
Nicotine by itself is also substantially less addictive than tobacco. Tobacco contains MAOIs, which significantly enhance the addictive potential of nicotine.
Consciousness: The last 50 years (and the next)
I remember watching the Apollo 8 Christmas eve broadcast.
It was after my little kid bedtime, but I was allowed to stay up (I was on east coast time then).
Or the hardware store owner because a screwdriver bought there was used to kill someone. That's plain crazy.
Eight Dallas-Area Pharmacy Owners and Marketers Charged in $9M Kickback Scheme
Wow this is an excellent point that I hadn't considered. Globalisation is simply a way to dodge local environmental and human regulations.
Sadly this is true. "depression", like so many diseases, is named after its symptoms rather than etiology. So if we even have an effective drug, it will only be effective on a subset of the sufferers.

Plus we understand so little macro neurochemistry we don't even understand which apparently correlated biomarkers are causal and which are consequential. The same problem exists with other neurological diseases such as Alzheimers. With depression, as it seems to affect higher function, we even have difficulty (and treatment affordances) with non-chemical stimuli.

Still, it's very much worth working on -- people are suffering such serious debilitation.
Is it just me or does everyone just eventually resorts to "trying everything until it works" with CSS layout?

> Flex seems more flexible to me than CSS Grid.

Any day :)
That's what worked for me when I did this a while ago.
Load-shifting is the biggest innovation actually. My utility company is giving out deals to basically control the air-conditioning of some houses. During emergencies, they prevent the air-conditioner from running... either 50% or all the way down to 0% cycling (for lowest cost to utility bills)

It caused a bit of controversy when they used their authority to shut off people's air conditioner, but allegedly it saved the grid of a potential brownout.

Batteries / Energy Storage is the obvious way to solve the issue. But creative solutions (ie: controlling people's air conditioners) is more feasible in the short run, and probably should be deployed more widely.
But the way you phrased it, you make it sound as if it were the fault of the students, that this is simply a difference of opinion. It is not.
$100 is a really low price for an iPad. Comparable Android tablets at the price range tend to be complete garbage, with spyware, horrible build quality, and anemic processors.
Meanwhile Autodesk Maya missed it's planned release date by 7 months and counting.
Monocle also ships with the macro annotation monocle.macros.Lenses that cuts out even more of the boilerplate and works with intellij's autocomplete

import monocle.macros.Lenses

@Lenses
case class Foo(bar: Int)

val x = Foo(1)
assert(Foo.bar.get(x) == 1)
https://news.ycombinator.com/item?id=17558542
Why you shouldn't parse the output of ls(1)
Game for learning Web Typography: The Equilateral Triangle
Same here, I don't understand people trying to shove work processes on entertainment devices.

I love my iPad Pro for several purposes -- media consumption, some light gaming, reading, managing media / bookmark / book collections -- but it would never occur to me to code on it (even through shells to Linux).

I am not fully comfortable even with my MacBook Pro. I am working on building a work process that doesn't rely on a mouse or a touchpad and then I could work on the MBP full time (mostly involving memorizing shell and editor shortcuts, and making a lot of shell aliases).

Before that there's simply no point -- it's like trying to run with weights on your ankles.
Unless you're also going to disclose all your cookie ids, mobile device ids, connected tv ids, transaction history, income/demographics/consumer preferences, etc. etc., there will still be a lot of room for adtech companies to gather information about you. And even if you do, there is still attribution of purchases to impressions or clicks, audience segmentation, ad retargeting, and many other lucrative areas for companies to trade your data.
yeah, the public/private thing is a biggie for me I think. But maybe it's also the speed / "dynamic-ness"? I imagine an open panel discussion can be quite an intense, immersive and interesting social experience :)
Extended Support Releases do still include the flag: https://support.mozilla.org/en-US/kb/add-on-signing-in-firef...
I'm not a huge fan of decorators since they obfuscate the state of the runtime. What exactly does the call stack look like when login gets invoked? What variables are in scope? I find it difficult to reason about.

I understand that this function will execute when the HTTP server receives a GET or POST request at `/login`. The semantics of the decorator is clear-- I don't particularly take issue with that.

But the second my assumptions about the decorator break down (e.g., I think I've defined a decorator properly, but I have not), all bets are off on how to make it function properly. It's not as simple as going to the source code for the module and see what API's I'm calling.
AI is still really bad at writing lyrics
I mean, when you can have your cake and eat it to by getting people to sign up for GSuite and buy Chromebooks, I see no reason why Google would want to release a good experience on iPad.
To be fair, I find the destructuring syntax strange in Ruby. For example, why do I need the splat on the list? It doesn't make sense to me. I'm sure there is a good reason buried in the implementation, but if I were to design the syntax, I don't think I would do it that way.
I mean, the C standard library internally mallocs a bunch too, which is (one of many reasons) why the kernel has it's own modified version of a subset of the C library. If it were written in C++ the same rules would apply. When I was the lead for a C++14 RTOS that was MISRA compliant I had to write a custom collections library that's much more explicit. It's not that hard.
Any ideas on how to equip an alternative for this? As for me I can't imagine a reliable way to block spread of fake news and suggestive/hate rhetorics by design.
> and Blender for my colleagues and myself is practically unusable out of the box.

You are confusing beginner friendly with user friendly.

User friendly UIs are most often terrible for experts and expert UIs often have some learning curve.

That said, I can not name a single application that has a better user interface than Blender. It is a masterpiece and I am in complete awe of whatever process and the people that created it.
2.3B Tesla Autopilot miles projected by end of 2019
If everyone is standing still they can be closer to each other so more people can be on the escalator at the same time, so more people can make the trip in the same time, just like how driving at a slower speed prevents congestion because the drivers have to keep less distance. This has of course been measured.

If the escalator is packed the people on it can’t start walking because there is no space. And escalators are often packed in stations, for instance when a train arrives and a thousand passengers get off the train at the same time.
Hmm so maybe a game where you play as Waston collecting clues while a Prolog driven Sherlock deduces the mystery once enough information is available?

Seems neat! Of course the narrative writing is still the bulk of the work.
They’re in geostationary orbit, which is much higher.
Still confused in JavaScript scopes?
>> That said, the devices are still fragile and require bulky protective cases for kids to not destroy them.

Modern laptops aren't much different. You should see how easy it is for a kid to destroy a MacBook.
Two things:

1. A GPS satellite is in a very high orbit compared to LEO, and so all stages were requested to burn to completion, to ensure the satellite has enough margin to reach that orbit.

2. The second stage ends at a ~800 km orbit, while the satellite itself needs to increase this to ~12,000 km (I'm rounding these numbers). The sat has to carry enough on-board propellant to raise it's orbit that much which necessarily increases it's wet-weight due to the rocket equation.
It would be perfect for Civ6 though..
This would make for an interesting interview test for a front-end developer.
I think it was sarcasm, since he described most free e-mail services, Facebook messenger, Google Home, and whatever the name is of Google's in-house org that thinks it's entitled to the records of 80% of the world's credit card transactions.
Give you a unique link you can email around?
Just parameters that are functions, except that you can only have one per function.
I still fail to see the advantage of blocks over being able to pass functions as arguments like in other languages.
I think in those days it was simple filename versioning (VMS had it in the 1980s) and not based on diffs or COW.
Home-scale battery systems is clearly a bad idea IMO.

Utility-scale battery systems is how you democratize the idea for real. Have the entire city own multiple, giant 200 MW-hr Battery that all the citizens can use. Then use net-metering credits to have Solar-homes charge the communal battery.

Not everyone can afford $20,000+ systems to store a few hours of electricity. The people who need reliable home-electricity get $500 generators with some gasoline or propane fuel (which is sufficient for days of electricity during a disaster).

-------

The city can choose whatever battery best fits its requirements. For the near term, Lithium Ion is available, as well as Pumped Hydro. Flow batteries still seem to be "5 year away" technology, but flow batteries just make a lot of sense at the 200MWhr utility scale.
What to do when your tired to complete the project
Show HN: Inside Python Dict – an explorable explanation