skysight-inc/HackerNews huggingface dataset:
It’s sad how ugly my old neighborhood in Queens became over the years when you compare the 1930s to the 1980s to today.
> My usage of manpages would increase by orders of magnitude if I knew there were examples of actual working commands in the first page.

Try adding ManKier as a custom search provider for Firefox or Chrome, it is online man pages beginning with TL;DR examples at the top of each web page, followed by the traditional man page entry below. Here is a fuller explanation with links to instructions for adding it to your browser: https://www.mankier.com/about

I use it almost exclusively now, and only refer to my distro's man page in a terminal if I need to check on something that isn't standardised (such as sed -i.bak or something like that).

Custom browser search is pretty handy, try adding a dictionary and map provider too, or 'caniuse' if you do front-end work.
> 2) my number one wish-that-will-never happen for elixir would be the inverse of the mutability issue, variables should be immutable by default but have a sigil or postfix (like !) that lets you make it mutable.

Just to clarify for others, and as the article notes, variables aren't "mutable" in Elixir but rather can be rebound. Even rust, where - just like you desire - you have to explicitly tag something "let mut" if you want mutability, will let you re-bind the variable without that tag.

I've programmed in Elixir full time now for two years and I can't recall any times accidentally shadowing a variable has bit me (but I do `mix compile --force --warnings-as-errors`) as part of my development routine, and that has caught it before for me.

(Oh, unless you mean you wish Elixir had _real_ mutability. That _would_ be quite the change, as obviously no functions in the standard library support that and you have to make do with GenServers and the like. I'm not sure I'd like that as the whole language ecosystem is predicated on immutability and message passing...)

While we're throwing out "one wish-that-will-never happen" ideas, though, here's mine: I'd love for Elixir to be able to automatically add guards to functions based on the type spec. That is, if you had this code:

@spec foo(String.t(), MyEnum.t()) :: boolean()
def foo(str, enum) do
# ...
end

I would love it if that got compiled to essentially:

def foo(str, enum)
when is_binary(str) and enum in [:enum1, :enum2, ...] do
# ..
end

In general, dialyzer is the weakest part of the ecosystem for me, and I've had `nil` and other random things sneak into my functions before despite being against the type spec. I'd much prefer to have the function call crash early by just not matching any clauses.
There was no crack required per se. You could share the CD around.
True. In fact it is worth noting that a large portion of the ACA/Obamacare model was based upon Swiss healthcare (specifically the individual mandate in particular) due to its heavy private market presence.

First line in Wikipedia (https://en.wikipedia.org/wiki/Healthcare_in_Switzerland)
There are no free state-provided health services, but private health insurance is compulsory for all persons residing in Switzerland (within three months of taking up residence or being born in the country).

The difference being their version of the individual mandate was not struck down or watered down to becoming a 'penalty'. Instead it was like what we do with auto insurance.
The story doesn’t mention if the protagonist (I won’t say “victim”) declared and paid taxes on his side income. If not it was a bit cheeky to call the police!
Are you asking how BGP Hijacking can be used maliciously?
Similar story for me, but I consider the POSIX shell language a worthwhile least-common-denominator language. I avoid using bash or zsh extensions except interactively (and in a zsh plugin I maintain [0]).

As I think you need to know the standard shell language anyway, new shell DSLs are a bit of a turn-off to me. If the language is trivial it's not very powerful and if it's powerful it takes time to learn.

That's why I have high hopes for shells that combine tried-and-true programming languages and their ecosystems to a thin shell layer. Like http://xonsh.org or https://docs.racket-lang.org/rash/index.html .

But if I'm completely honest, I think bash will still be the standard choice in 5 years and weird shells you haven't heard of will still be weird shells you haven't heard of.

[0]: https://gitlab.com/code-stats/code-stats-zsh
The modem wouldn't care, but the primitive file transfer applications of the time couldn't handle it.

ZModem supported resume, but early Internet browsers and ftp clients usually didn't implement the feature.
For example would nodes have more resiliency?
Stayed on Ambergris Caye in Belize a few months ago, where almost all of the vehicles in town are golf carts. The air pollution was terrible in town because most of them were gas powered. It would've been amazing if they were all electric though!
The difference is that time is at the front, so if you need to sort by milliseconds the ID was created, you can.
There should probably be two C++ styleguides: one for library authors and one for library users. For the former, use of std::move can be absolutely essential to abstractions that are both efficient and correct. For the latter, it probably means you're overthinking things.
It's a series-of-tweets response to a comment, wrapped up in a blogpost-like format.

... Yeah.
Not parent, but I can chime in with my current system: Simple logs that I can search and copy.

The key for me is that it's not about the format. The format changes with the context: I have a different logging strategy for fitness(Fitnotes app, and since I was just gifted one this past week, a Fitbit) from the logging used for programming notes(repetitive short block comments with date, time, and sometimes title). I have a generic diary text file that contains catch-all musings, but I am increasingly using different logs for different tasks since I don't currently face a lot of time contention that would necessitate a detailed calendar.

My logs are not just what happened but also what I wanted to happen on that date. I'll often copy-paste the same to-do list when I didn't finish it that day, or "redraft" the same thought an hour after I first logged it, with some elaborations. Keeping it around, I learn what is or isn't working at a glance by skimming over these repeats hours to months later.

Having the date and time is essential to this because it makes the log a progression: my recent activity is my most important, most of the time, and so in the case of the programming logs, I can gradually edit and eliminate them as the code changes and the momentary thoughts of "I need to do this next" grow irrelevant, while if it's something like a log of weight/reps/sets, I just want to copy, increment the numbers a little higher, and add a note about anything weird that day that may have made me change plans.

When I really need freeform notes I will turn to paper, and I can see bullet journaling techniques being worth trying in the future for adding some structure to those. As long as I have dates I can usually recreate the context of any particular note, though.

Something I just thought of: is there a browser extension that would automate logging my history when I want to research something? That's a pretty common task that I currently address manually with a lot of right clicks and ctrl+C's.
The one about Facebook edging into countries’ politics is particularly concerning for anyone worried about authoritarian regimes.

“In countries where the line between extremism and mainstream politics is blurry, the social network’s power to ban some groups and not others means that it is, in essence, helping pick political winners and losers...

And its decisions often skew in favor of governments, which can fine or regulate Facebook.”

So it runs the risk of being used to stifle dissent as an instrument of the state. So much for making the world more open and connected.
OP has been proselytizing Rust on HN like it's the new coming of the Messiah.

This kind of language advertising where one can't even bother mentioning one negative thing about the product is sad but effective, because people want to believe that there's a perfect language out there...
What blogs/news do you follow for commodity trading? Got any favorite book/papers for algorithmic commodities trading?
> with maybe some embedded JSON to cut out the initial AJAX request

That's the only hackish portion out of there, otherwise I'd agree. I rather get back what I expect from an endpoint not some mixture of things.
Notezilla: The Wikipedia for High-School Notes That Made $0
Whatever works but a lot of these modern tools were designed with good reasons and good intentions. Build your mvp with PHP + Ajax, if it's successful tho might not be long till you're hitting a wall and looking for more robust solutions
This is what RelWithDebInfo builds are for.

Don't make my Debug build into a RelWithDebInfo build or it makes it a huge pain to track down subtle bugs/errors in non-performance-critical unit tests.
By HN standards, that comment was unsubstantive ideological flamebait. We have a lot of experience with what kinds of comment degrade discussion quality here, and that is one of the worst kinds. We ban accounts that post like that, so please just don't.

On HN the idea is: if you have a substantive point to make, make it thoughtfully; if you don't, please don't comment until you do.
How swift? It can't be more than 15 seconds between flash of light and shockwave. Staying down for that long in case there's a shockwave seems reasonable.

Also, forest fires are not typically sudden flashes of light or found in urban areas. Context matters.
Sure. I remember one. For about a million years, you could declare a naked virtual method with int blah() = NULL; -- perhaps it wasn't /suposed/ to be used like that according to the standard... but it worked, and was used a lot, as it made perfect sense.

Then one day, you recompile it and no, it /needs/ to be ZERO and not NULL sorry.

But it's just one simple to fix example, in plenty of cases, especially as templates (and especially template instantiations) evolved, the whole thing would come crashing on you. For a while trying to compile templated code on MS, CodeWarrior and GCC was pretty much impossible without deploying ruses that made C preprocessor macros tame in comparison.
> OP has been proselytizing Rust on HN like it's the new coming of the Messiah.

That doesn't even come close to being relevant. Address the argument, not the person.
sql_baseof as shown is defined in the header using offsetof. offsetof is an implementation-specific macro. Whatever it does is specific to the compiler that provides it. You cannot generalize from its definition for one or many compilers to a language requirement. https://stackoverflow.com/questions/26906621/does-struct-nam...
> x86 always designates EAX as the ALU accumulat

Actually no. After decoding there is nothing special in the aex register.

AMD at some point was going to release K10 which was basically Zen but with an ARM decoder. It got cancelled when Zen proved viable and AMD decided it was better to compete with Intel than all the ARM vendors.
The British police really don't come out of this well. Not especially surprising as they are also failing to do anything about rampant internet fraud.
No they have changed things quite a bit. They still work pretty long full days but scheduling is careful to provide enough time for each activity instead of jamming everything in back to back to back like they did that lead up to the Skylab 4 protest.

https://www.quora.com/Whats-the-typical-daily-schedule-in-th...
There starts to be duplication in the implementation that you can eliminate by refactoring.
> Because your workplaces don't rely on funding from taxpayers.

Right. Their workplaces probably had tighter and more transparent financial constraints with more oversight, more accountability for failure, and more incentive to do it right.
And Lanai is not just some some little place (140sq mi). It is about 1/4 the size of Oahu or Kauai [1]. 3% of the island is still own by other people/entities.

[1]https://www.google.com/maps/place/Lanai/@20.7523285,-158.324...
Have you tried python/ Django?

I haven't used elixir but I my productivity with Django is much bigger than when compared with other solutions like php, node, java/spring, c#.net etc.

I am talking about good ol' traditional web apps, no fancy spa stuff where I can use Django in all its glory: cbvs, forms, admin, auth and the huge package ecosystem.

Give it a try if you haven't, even just the Django tutorial should give you a hint of the productivity enchantment you'll have!
Show HN: Remote JavaScript console for debugging web apps. Written in Rust.
The tweet is at the top, but yeah it reads a little weird without the context that it's a bunch of tweets.

Source:

https://twitter.com/dan_abramov/status/1078388060696576001
My favorite feature of fish is `abbr`, e.g. `fish abbr --add g git`. Then you type `g` followed by space and it just expands it to `g` and you then get all the autocomplete goodness and don't have to futz with adding autocomplete support to an alias, because it is the real command. It also helps for presentations because instead of some obscurely named alias, you can type an abbreviation and it just expands it out for the viewer to see and learn from. On top of that, I make abbreviations with long options, that way I can see exactly what is going on and effectively edit the commands.
Did /u/botever reach out to You guys?
Prioritized Grammar Enumeration: Symbolic Regression by Dynamic Programming [pdf]
> Ajit Pai, chairman of the Federal Communications Commission, which regulates and monitors 911 services, said the commission is investigating the outage.

Until they "resolve" the issue without disclosing any details...
When we realize that the these smart skins are fragile so we program the robots to feel pain. Then people start torturing them. Cut to end credits.
This is a non story for me, too, but for a completely different reason: everyone is doing it.
Thank you to verdverm for pointing this paper out. https://news.ycombinator.com/item?id=18766651
By simple you mean without the STL?
Fish just uses (cmd), no $.
[TOP NOTCH] Web Development Courses for 2019 (Free and Paid) – Courses Buddy
The original comment probably should've included "older". In general most older cars are easier to repair. Just replaced my headlights a couple days ago in 01 forester. Took about 3 minutes. Changing a fog light in my 11' 328i is insane. Had to take off the wheel and go in from the wheel well instead of just having screws on the front. Seems intentional sometimes.
In all the cases you mentioned, these assassins were not in a business or contracting service, they were government agents, military, and otherwise trained and in the sole use of their own government. In most cases of “mafia” hitmen, they were not contractors either, but essentially a specialist within a family. There are freelance hitmen, especially in places like Mexico where cartels hire from pools of desperate young men, who get paid mediocre money for killing. I doubt that a world of truly skilled, high-end assassins exists as a free market, too many legitimate and illegal interests would benefit from their dissolution.
Had to do this myself about 10 years ago.

A delay relay in my AC burned out and wouldn't allow the unit to shut the fan down. Shut the breaker off, went up, pulled the main fuse pack, pulled the cover, found the relay. Pretty much a burnt husk of plastic.

Looked at the wiring diagram inside and in my manual for the unit (it was built in the early 1970s, when full documentation for everything was pretty standard), just to double check everything along the way was still ok. It all looked ok, so I went online to find the part - and ran into the same issue. For a simple relay.

I wasn't going to pay several hundred dollars to someone to change out a relay. That's dumb.

So I got in contact with my local Burning Man community, and someone on there was an AC repairman. I let him know what I had found, and he set me up with an invoice to purchase the part at a local HVAC parts place. Got the part, installed it, and it hasn't been a problem since.

I can understand the reasoning of needing licensed professionals for certain things, but basic electro-mechanical repair of appliances shouldn't be one of them. It wasn't always this way, either; I'm not sure when it changed (probably sometime in the 1960s), but before then it was almost expected that a homeowner would do his or her own repairs and maintenance on their home.

That said - likely the change came about in part due to shoddy electrical work that you can almost always find on homes that haven't been renovated that were built before such rules and regulations went into effect...
> At least, that's how I've usually understood it. And the example you mention seems like a complaint with C++20's Ranges in particular. I guess I'd fall into the, "but can't you just ignore the parts you don't like?" camp.

The issue is that many libraries (including std/stl) tend to produce long compile times.
If you feel productive with your current shell, stick with it, it is definitely a performance hit when switching shells. That being said, if you have a weekend, go for it, I won't switch back.
I was an early user of the language in the 80s and early 90s (with for example cfront which compiled to C and later the original g++ and its libg++).

> In many ways the '++' in 'C++' comes from giving the compiler more information to work with.

This is definitely not the origin of the '++'. I believe the '++' name was literally a play about "one better than C."
You still need to hope for the best because probabilities that aren't zero or one aren't a guarantee of anything except for the asymptotic limit of frequency as the number of trials approaches infinity.

If your system isn't resilient to collisions (and distributed ID schemes are usually the chosen to enable a system which isn't), you are gambling. Perhaps with very good odds, but gambling.
I have no idea what your point is

This whole pattern of behavior with de-platforming and un-personing -- I recognize it from my past. In my personal history, it's the behavior of people who are toxic with a tribal outlook. In my youth, it was the homophobes and racists who acted like this towards me -- coercing and silencing, instead of applying universal principles and engaging in arguments.

"MY site, MY rules" is an old adage that has never been truer.

A company owned a company mining town, right down to the sidewalks and streets, then tried to apply that logic to prevent people they didn't like from distributing pamphlets. The 1st amendment should take precedence over property rights.

https://www.youtube.com/watch?v=lBozijndSLc

If you have freedom of commerce, but no individual freedoms outside of that, like freedom of speech, then you basically have China. So it's a very reasonable trade off to make: give up a little freedom of commerce to ensure more basic personal freedoms.
I have a large C++ code base (mostly C++11), and I agree with this article. My code base is hilariously slow to compile, and the biggest single culprit is the variant header. I sometimes wonder whether I should just remove all the users to save time.

To add insult to injury, std::variant is a rather bad approximation of a sum type. variant<int,int> is only partially functional, and you can’t disambiguate the two ints by name the way you could in, say, Rust.

I think that a lot of these problems stem from two systematic problems

1. The desire to avoid modifying the language. A good modern language should have sum types. Heck, the ranges paper explains how ranges fundamentally have the wrong semantics wrt const and that this can’t be fixed without changing the language. So fix the language, please!

2. The fact that even new libraries are specified to be header files. Surely there could be a variant module even if modules aren’t really for full deployment.
[February], not the recent slump.
I know it's not the same orgs, but Centurylink has had the most incompetent people I've dealt with as a retail customer.
UW's email alert list probably tops 100k. They have like 70k students + staff and there are plenty of former students/staff and associated individuals who are on the lists.

In any case it does seem like the tools that have been built for email marketing are a lot faster and maybe even more reliable than conventional text messaging.
The decisions made by the astronauts were made by their mission commander - a Marine Colonel.

Rather than a labor/capitalist take, this goes back to the old military traditions that a captain has the final authority for the safety of his ship and crew, and that at the end of the day, he only makes the call.

For example, the recent collision between the USS Fitzgerald, which happened while the captain was asleep. The officer in charge of the ship, and the officer in charge of the CiC spent that whole night leading up to the collision making one giant mistake after another, and still the commander is going to court martial. He's going to court martial because by naval tradition, he was responsible for knowing that his officers had insufficient training because of over scheduling and should have rather kept the ship in port than sail.

It's bad either way - not sailing your ship will make a lot of people unhappy with you, and may be career limiting, but that's what is expected.

In the end, official NASA histories admitted that ground control was indeed wrong, and had schedule too much each day, and made poorly thought out, last minute changes to the plan, and weren't listening to the astronaut concerns. (And that there were lots of astronaut affecting problems with Skylab itself)

The Skylab 4 situation was also the final round in the culture clash between mission control, who believed they had the final say, and the astronaut commanders carrying on the naval/aviation tradition that the captain onboard has the final say. After this mission, it was hashed out that mission control did have the final say, however mission control would respond if the astronauts said there was a problem.
I like Nim but its ffi, while really good, is not effortless. You have to wrap every function you call, which in large C libraries can be an incredible pain in the neck.

There are tools to help you out, like c2nim, but in my experience the output it produces requires fixing to get it working, and of course when the upstream library changes or adds to its API those sorts of things have to be taken into account as well.
You don't need nonstandard analysis to make differentials concrete - Cauchy showed us how to model them with ordinary variables, and this method is taught in standard undergrad textbooks like Stewart.

The issue i was bringing up is that the early use of differentials does not correspond to this. The algebraic models of differentials presented in Cauchy or Robinson's nonstandard analysis is not the same thing as the algebraic models used in Euler. The book i suggested uses differentials from beginning to end, but uses the modern, correct form that doesn't lead one to wrong answers when manipulated with standard algebraic rules. There is absolutely no reason to go back in time and inflict this confusion on yourself by intentionally unlearning the hard-won right answer.

Although I should point out that Archimedes correctly understood how to compare different orders of infinitesimals in his book 'On Spirals' (via tangents), circa 200 BCE! Wow!!!
More games should be honest about death
This involves cell phone access... which is a little more complicated than a billing address lookup.
I think the post is wanting it to be handled automatically, without having to quote it, that was the intent I got from it.

But yeah, I have had a ton of issues where commands fail because I didn't quote URLs, and in the beginning it wasn't as obvious as it is now. I don't have a solution, just saying that this does add friction for newcomers.