skysight-inc/HackerNews huggingface dataset:
This is probably not what you want to hear, but...whichever one you'll actually do. Forget whether you're any good or if you're progressing. What will you noodle at every day and find your life enriched? That varies from person to person.

Writing a novel was pure therapy for me when I wasn't sure what continent I was going to be living on in a few months. Short stories (http://madhadron.com/fiction.html) have been an ongoing source of pleasure, as I giggle my way through my imagination.

Music was rather more than a hobby for many years, but even now I love noodling at it. Today I arranged Lachrimae for solo violin, while I'll play at an open mic night at work in a few weeks...followed by Cohen's Hallelujah accompanied on the ukelele. Did I enjoy the couple hours I spent building the ukelele part? Absolutely.

On the other hand, drawing never did anything for me. I have a couple of sketches in my files that I'm quite proud of as accomplishments, but the impulses that make it enriching seem to come to me only once every few years as opposed to as part of my daily life. Similarly, I learned woodworking from my father and have built a number of lovely things for our home, but unlike my father, it's not something that I particularly like to go down and noodle at.

I have enjoyed the community from various kinds of dancing, occasionally do a little choreography, and really got into historic dance reconstruction years ago, but outside of such settings I do the equivalent of humming to myself around the house rather than really engaging with it. I have spent more time noodling with dance education than with dance itself. It's a crying shame how much time people waste when trying to learn things like waltz...

Try some things. See what sticks.

> I am a highly analytical person and a software engineer. I like to believe I am creative...

I have found most self identity involving being creative to be more limiting and damaging than its worth. You start questioning whether you are overly influenced by something, or if it's original enough, or if you're squandering your creativity by writing a poem about defecating in the woods, or if you're not being true to yourself by creating within constraints that let you get paid. All of which are a complete waste of your time and are more likely to reduce the incidence of behavior that creates things.

The serious artists that I have known are generally highly analytical. The whole "I'm expressing my pure, authentic self" I think is mostly a form of pickup line.
Dinorwig is 10GWh. There were two backup sites chosen in the same immediate area to cover the case the main site had proved impractical. Many years have passed so it's unlikely they're still there, but geography is not lacking if the political will were there.
It seems XTC is an alias for Ecstasy which should be somewhat google-able.
Quite fun, but since you ask for an email address first, I used a temporary one by lack of trust. Later, I would have written my address.
Half the expected lifetime at a fraction of the capacity factor.
The autopilot is a drive assist , I can explain that there are less accidents when drive assists is one because

- the driver is still present and will most of the time intervene and save his life(there are some youtube videos where the Tesla AI was trying to kill the driver and those incidents don't appear as accidents int the stats)

- "autopilot" is engaged mostly on highways , but the statistics are not accounting for this

- they are also comparing the safety of a new car versus the median of all cars(old and new, cheap or expensive) on all demographics(how many teens own a Tesla?)

I would like that Tesla make all the data open or have an independent group analyze it, including the disengagements, I wonder how isolated are the cases where the car is driving you into trucks or stone wall but the drivers intervened and saved themselves and also saved Tesla from a bad statistic.
I assume you also plan to arrest gun makers for gun deaths?

What about companies that produce bombs, will you arrest them as well?

Save your outrage for those who actually spied, not on those who make the tools.
Optimization often requires knowledge of the behavior at a level of abstraction lower than the one you're currently working at, and exploiting leaky abstractions. Taking away the assumption of two's complement makes code more portable at the cost of making a lot of optimizations impossible. It's a tradeoff, not an absolute rule.

As soon as undefined behavior is guaranteed by a spec, it's no longer undefined, so your statement reduces to "you should never rely on UB." You can say that, but people will still do it because it makes their programs faster.
How? Is it running in the kernel, or is it some sort of debugger trick where any sort of system call gets trapped and handled by a sandboxing coprocess? Or is it an in-process library? (!!)
With the exception that unlike (I think?) PHP, JS also uses maps (w hich can only have string keys [1]) to implement objects and classes. Hence their being called objects, not maps.

[1] So how do arrays have numerical keys? Well... actually they don't. I was trying to make JS look better than it is in my original comment. Actually, array keys are stringified versions of numbers, and values are automatically cast to string when you put them in indexing braces.

Object.keys([1, 2])
--> ["0", "1"]

As you can imagine, this leads to gotchas when you assume that a JS object can have, say, a date as a key

b = {}; b[new Date()] = 10;
Object.keys(b)
--> [
"Sat Nov 09 2019 23:15:58 GMT-0800 (Pacific Standard Time)"
]
This is great. Sandboxie is a fantastic sandboxing product.
And given as choice, out of Seattle, I'm more likely to fly Alaska, as their equipment is considerably newer than Delta.
Apple BLE Continuity Protocol
Ask HN: Advice on Selling Reversing Diabetes Type II Diet Plan
We have developed a diet plan along with herbs which reverses Diabetes type 2 and High BP.
It allows for Carbs which is different from Keto plans.
What is the best way to market it
there are two spellings (Ecstasy, Ecstacy) in the article alone, and XTC would be a third one, not to mention the other likely misspellings like Extasy. And, am I the only one old enough to remember that this is how people called MDMA for a long time? Not the best association.

so, I think it's a pretty bad name, but OTOH, google & co are smart enough these days.
I knew the name ringed a bell, thanks for filling in :)
> Not crashes per hour or per mile.

But that's not what I measured. I measured safe minutes of driving as a ratio to unsafe minutes. Which is a unitless number.

For 7 9's I assumed a crash had a 5 minute lead-in of unsafe driving before the actual crash, and that average driving speed was 30 mph.

If you assume the bad driving is 30 seconds (for example the accident in Tuscon the Uber car saw the pedestrian around 30 seconds before crashing), then you can add another 9, making both figures 8 9's of reliability.
"Undefined Behavior is unacceptable regardless of the project!"

This is an ambiguous statement as to whether it is about avoiding officially defined "undefined behavior" or about not programming in a language that has it. I agree that the former is impractical, but I think the latter is good advice.

If a language defines something as undefined, and if we agree that permits nasal demons, then undefined behavior is unthinkable, intolerable, yet inevitable. It's a spiral into insanity, because this philosophy is self-contradictory and those who claim to believe in it do not believe in it at the same time.

But if a language simply doesn't define everything, then nasal demons are off the table and we can all assume that we are reasonable people who are part of an advanced civilization that deals with exceptions and the unexpected on an adhoc basis.
They’re needed for async fn in traits, which feels like a pretty natural extension to async fns, so there’s a really good motivating case for them.
A pilot is qualified ("type rated") to fly planes of a given type certificate, so it's not helpful to say that type certificates are not about pilots. Having that belief causes you to miss out on fully understanding the situation.

I wouldn't call this a perverse or unexpected incentive either. It's very straightforward: there is regulation saying you can't keep the same type certificate if the plane flies differently enough to demand pilot retraining. The regulation is good and the consequences of following the regulation correctly are good, unlike in actual perverse incentive situations.

Boeing didn't want to comply with the regulation so they lied about how the plane worked and then hundreds of people died.

That's not an example of a perverse incentive of regulation: it's an example of dishonestly evading regulation, hopefully criminally so.
It's worth noting that Germany has less solar energy potential anywhere in their country than in any single state in the USA, including Alaska. Yet they had more solar deployed in watts than the entire USA for a long time.
Posted a few days ago with 350 comments: https://news.ycombinator.com/item?id=21465873
For a 4 digit unlock code, the device would enter them sequentially starting from 0000 and ending at 9999 [1]. Because there is a delay of 6 seconds between each attempt (on iOS 7.xx) it would take just over 16 and a half hours to try all codes.

[1] https://www.fonefunshop.com/ip-box-iphone-password-unlock-to...
Off-shore wind farms haven't so much of a geographical footprint problem, and their efficiency is neat.

https://en.wikipedia.org/wiki/List_of_offshore_wind_farms_in...
In PyTorch you have full control on the graph and weight, everything feels like Python.
So feeding some of the learning between “sub-graph” is easy. Not sure if this is possible on Tensorflow/Keras?

He describes the sub-graph training in the context that they they have all the predictors in one big model, and with control of the network can feedforward and train sub-graph (read sub-parts) of the model.
I have the same hard-learned rule of thumb wrt. websites in general. The cleaner looking, the more up to date with current web trends a website, the worse information on it. I've also spotted an inverse correlation between the amount of ads on page and trustworthiness of the information on it.

I explain it to myself in a similar way: people with nice, clean, heavy websites, sprinkling ads in between the text, are content marketers. Their job isn't to educate you. It's to regurgitate whatever bullshit they can find on topic[0] in order to create SEO and social-share optimized vehicles they can then attach advertising or affiliate payload to.

--

[0] - I worked alongside content marketers few jobs back. There was zero verification or care about accuracy of what was posted, and a lot of copy-pasting+rewriting of similar content from competition.
I’m a partner in an OZ Fund and we created the OZ Score to help measure the impact in these communities. http://www.oz-score.com

Would love to talk with Congress about this.

Funds website is http://www.activatedcapital.com
Build a Steam Recommender System with Flask and Gorse
What? The webpage is filled with a useless wall of text, of which maybe 20% is relevant.

The rest just makes it hard for average people to figure out what exactly the software is and how to download it.
I had a client that ran a startup who owed me $30K, after months of leading me on and telling me I had to do XYZ, the sky was falling etc. Meanwhile they paid others.

I had put the website up at Amazon and could take it down, but I didn’t want to get in trouble for “unauthorized access” stuff. I considered doing a DMCA takedown since they had never signed any copyright assignment. Would have probably succeeded. Another thing I could have done was introduce a “bug” that happened to hit at a certain day and demand being paid before I do any more work.

But in the end I didn’t do anything. That $30K out of my pocket really set me back for a long time. Lots of people were pissed at this startup, it was a shitshow.

Story 2

A friend of mine was quite mistreated by a girl who went out w him. She liked me so I contemplated inviting her out to an expensive restaurant, ordering a large meal and then skipping out on the check. Never did it.

I even thought of doing something worse. Saying we should get matching tattoos, except mine would be a fake one.

Story 3

Also I had met a girl and texted back and forth, she seemed excited to meet, we made plans, I drove an hour to meet her and then she totally stood me up and stopped answering.

I was pretty upset at her and I contemplated putting up an ad on Craiglist in the “hookers” section (they had one back then) with her phone number and a fake name that would make her realize I did it (“EGreg’s XYZ”). Suffice it to say I never did that one either.

Conclusion:

I know how to be an asshole but seem to never choose to follow through lol
Can you elaborate a little please? It's unclear to me if you are taking about merging data, code changes, or something else
The costs just outweigh the benefits.

Nothing to do with idiot engineers or the task being hard. They could be idiots _and_ the task easy. Some things just don't need to be done.
Ah but they do! As we discover those unique problems and how to solve them and how long it takes and the cost, our a priori cost estimate improves. The total numbers are so small it is really hard to say what the reliablity is. Newer plants tend to have more commonality and few parts, but we are still to discover all the many fantastic failure mechanisms. There are only 7 active Gen III reactors in the world, so it will be some time before we gain statistical confidence -- well after future designs are finalised.
There's a common feature of massive complex projects the world over - they pretty much always come late and massively over budget. Then as infrastructure mostly end up sticking around for a century or more, sometimes limiting future choices.

Rail, tube and tram lines will still be there and graded 100 years later - after track replacements, roads are not dissimilar, reservoirs and storage caverns far longer with a turbine replacement or two. Nuclear on the other hand has a much more limited life in which to absorb those overruns.
Thanks so much for that feedback! We will make that change :)
Thanks for the in-depth response! I think your response about increasing the design requirement was spot on. Maybe I'm a brat too. :P
I think your estimates are highly optimistic, by perhaps upwards of an order of magnitude. I expect the telephone number to be replaced by something else, but the concept itself won't go away.

Don't forget the PSTN, includes cell phones, SMS/MMS, and the entirety of the 911/999/112 systems too. It's not just a POTS line hooked up to a 2500 set anymore.
Thank you!
https://en.m.wikipedia.org/wiki/Special:MobileDiff/925459420
> Combining marketing

This is the point where you start bleeding value your videos might have for the audience. When content becomes a vector for marketing messages, it almost always goes very hollow very quick.
IMHO conversions between various “error types” are quite common when gluing together different APIs. Like when you are chaining a handful of Result-returning calls and there’s one in the middle that returns errors using Option.
Are there companies/projects that are working on cleaning up radio signals like that in real-time with digital signal processing ?

I used to work in the music industry, where there are many other real-time processing tools that can be applied to radio voice to increase clarity (eg: removing the static noise under speech, re-equalizing the limited bandwidth to increase perceptibility, de-reverberation etc..)

Considering such radio communications are often used in mission-critical scenarios, one would think clarity of speech would be a factor to consider.
How does WhatsApp replace 911?
Awesome presentation. Crazy that they're developing their own training hardware too. It's going to be a very crowded space very soon. Can they really stay ahead of everyone else in the industry? Can it really be cheaper to staff up whole teams to design chips for cutting edge nodes, fabricate them, build supporting hardware and datacenters and compilers, than to just rent some TPUs on Google Cloud?

I can see the case for doing their own edge hardware for the cars (barely), but I really don't think doing training hardware will pay off for them. If they're serious about it, they should spin it out as a separate business to spread the development cost over a larger customer base.

Also, I'm really curious whether the custom hardware in the cars is benefiting them at all yet. Every feature they've released so far works fine on the previous generation hardware with 1/10 the compute power. At some point won't they need to start training radically larger networks to take advantage of all that untapped compute power?
Given how many features Ecstasy has that seem to come straight out of Kotlin and Ceylon, it's quite surprising to see Cameron write [1]:

> I've never used Kotlin or Ceylon myself, but over the past few months I have had a chance to look at some of what they did, and I couldn't believe how many choices that they had made were very similar to things that we had done.

I would hope that someone who decides to create a language would spend some time studying a lot of languages, especially those that came out in the past ten years.

Additional posts state similar things [2]:

> I've never gotten to work in either Smalltalk or Lisp

and same for Haskell or OCaml.

This makes me worried that Ecstasy is being created in a vacuum with little knowledge of the current and past state of the art.

[1] https://xtclang.blogspot.com/2019/07/null-is-no-exception.ht...
[2] https://xtclang.blogspot.com/2019/07/composition.html
Unless we are victims of A/B testing I'm 90% sure old.reddit.com doesn't work anymore.
Care to screenshot me the old Reddit design¿?
Until I moved to my current locale, I had pretty reliable landline service from century link and frontier, I've not tried to order a land line from AT&T yet, but it's theoretically possible.
>> Since the solar panels track the sun

Really? Such tracking systems do exist, but outside of CSP they are generally not economic. I would be surprised if many PV solar plants in Australia use tracking motors.

Not to say grass won't grow under static panels. I have no idea about that.
That's the whole issue: a random coder decides "and this is my idea what's acceptable: Google Maps/whatever finds it from the input string; worksforme, done!" without second thought or even authority to make such decision; this, an operational decision, gradually becomes doctrine, even dogma.
I don't trust it and the information is about as low-density as they come. 1/10
https://www.youtube.com/watch?v=Z_VxHvwgMVE
Mmmh thanks for the link and the paper about generative types. Seems very interesting!

I'm wondering if using type predicates or type invariants (+ proof for static verification, otherwise the check will mostly be at runtime) would help here.

Look up https://blog.adacore.com/spark-2014-rationale-type-predicate... if interested.
Ask HN: Help finding article about father teaching maths to son
Around a year ago a pdf was posted here about a father teaching maths to his son and a few friends. The children were around age five and they'd meet up every few weeks and the father would do an activity with them. The pdf was long, maybe 2-300 pages. I think they may have been Russian, though the paper was in English. The paper described the activities he did with them and how the children approached them, behaved, etc. I've tried searching via Google and the HN Search but can't find a link now. I'd be very grateful if someone could post the link if they have it!
e.g. XLNet:

https://arxiv.org/abs/1906.08237
Depends on the route. The last time I flew Alaska to SEA was on a 737-400 a couple years ago. They've since been retired, but their current interiors are rather sterile and have those awful slimline seats. Meanwhile I think Delta will be bringing the A220 to Seattle.

Delta also flies a lot of regional carriers to SEA (and both Compass and SkyWest are pretty mediocre out of SEA). I'll take the 2x2 seating of a CRJ/ERJ over a 737 (or the Dash-8s) any day, especially Delta's newer low density layout. The Dash 8 isn't bad for a turboprop, but it's still a turboprop.
How do you determine what 111-1111 is? CID? ANI? Some other means?
Just wanted to say few random things here. I have been moving my team of 8 analysts from Alteryx to Python/Jupyter for data analytics and preparation. While things have been a bit rough we are happy with how easy is to use those tools. A lot of this infrastructure makes sense and it’s b/s free (which is not the case of tools like Alteryx). We have been able to run parallel executions, automated triggered data flows, email notifications, ETL!, pdf reporting with Latex, and more. We can tell prospective students that want to work with us to check out our open source library on github and learn a bit of python before the interview. Students love this stuff because it’s free and there is abundant information on the web. I fear the day I am promoted or move to other company and have to go back to stuff like

What’s the catch? Alteryx and the like dedicate enormous budgets to marketing and sales. It’s hard to convince companies that open source data tools are actually a lot better than the expensive enterprise stuff. Indeed even in my company it’s still hard to get people on board with Python even though we are one of the best teams doing analytics.
Facebook Scrubs All References to Alleged Whistleblower
This Isn’t Sparta
Relying on undefined behavior because your compiler happens to behave a certain way today on one specific machine is NOT the same as wrapping unsafe with safe. Next version of the compiler can exploit the undefined behavior and simply remove the code as an optimization, or even worse the optimization is already in your current compiler and only happens under some strange circumstances you are not aware of.

Unsafe code blocks still have defined and predictable behavior, but you have to guarantee the memory safety.
How does it work?

Do users create experiments though writing JS and CSS themselves? Who's your target audience?
I've started a project from scratch based on JavaFX and am very happy with the toolkit.
Hi, Big Big fan of yEd but how can you do text to diagram with it? Do you write the .graphml file by hand (never looked it up, might be easier than I think!). Any pointers?

Also, looking up the license some time ago it seemed the free license prevented you from doing automatic diagram generation with yEd?
How to Send HTTP Requests in React
Is it time to look at monetisation as a new exclusive right of the author?
As a small anecdote, my parents couldn't afford/didn't want to spent over $30k for a car. Surely we could've gotten a Tesla for $5k+ more, but given the relatively new infrastructure with electric charging stations (and the fact that none are available in the apartment I live in) my parents didn't find all the new cool features appealing and instead got a regular Toyota Sienna that has nothing fancy, just enough to take the family around.

Similarly, the infrastructure around electric charging stations I believe hasn't fully matured yet and as a result many people who've already owned a car, I believe will stick with gas cars since there's no huge incentive to change, unless it becomes easier to charge (faster, more convenient).

Do note that I don't have a drivers license. I never intend on getting one (I believe in what I do in the AV industry). I'm just guessing on the habits of people, not that I have any real experience in buying a gas/electric car.

Also note I didn't think you were wrong, not sure why the downvotes.