skysight-inc/HackerNews huggingface dataset:
The author talks about Immutable.js, but doesn't mention Records, which have been a real godsend in my application. I use Immutable.Record with types [1] (using Flow), and I feel very confident with this setup. You are forced to set default values for every key, and the code will crash if you try to set a key that hasn't been defined.

It's really great to have typed Records (often nested), and I expose the getters as regular properties so that I don't have to call "get()" all the time. I agree that it's not perfect, but it's miles ahead of anything I've worked with in the past (at least in terms of JavaScript.)

JSON schemas are awesome, and I like the idea of validating types at runtime on the front-end. I already have a JSON schema that defines my API (I use Swagger), so I could even go one step further and auto-generate my typed Records directly from the schema. I'll get immediate feedback about any type errors in my JS codebase as soon as I make changes to the API. I generate my Swagger API specification automatically from some RSpec tests (using rswag [2]), and I also run Flow during CI, so this would result in a broken build. I could also make this work with the data I'm inlining in the HTML to hydrate the Redux store.

Random aside: I also have a one set of data that just gets dumped into a jsonb database column, so the schema for this specific data is only being defined by the front-end code. In my backend I'm always careful to provide a default value, but it's not really critical data. Anyway, I just realized that I should be defining this jsonb column as an actual model, but instead of ActiveRecord, I could use ActiveModel and a plain Ruby class. That's a neat idea. It would give me a schema and validations on the backend, while still having the flexibility and performance of storing everything in a single json column.

[1] https://gist.github.com/glenjamin/75a96b45f4bb5c6ac221815d28...

[2] https://github.com/domaindrivendev/rswag
Degree of having eyeglasses on doesn't make much sense anyway. So it has to be some spurious correlation for the network to interpolate it anyway.
On a local scale, the problem is the constant in/out of short term renters. They don't care about the neighborhood, they don't care about the neighbors, they don't care about making too much noise. They'll be somewhere else in a week anyway.

Meanwhile, the actual residents have to put up with constantly changing "neighbors", noise and more often than not common fixtures getting trashed and mistreated.

On a larger scale, it drives up prices, because landlords would rather extract the much higher rates from short-term renters than the more reasonable rates a long-term renters would pay. This drives up rent, and forces people out of the housing market. You end up with Airbnb ghettos, in effect turning previously nice neighborhoods into de facto hotel businesses. Thus robbing residential areas of their cohesion and community.

Here, a few law changes were put in place to mitigate the problem, while still slowing people to short-term rent out their dwellings while on vacation. The provider (Airbnb) has to report taxable income, and there is a limit of 70 days/year.
It varied. Many people knew. But even a few years after the war ended, some people even in neighbouring countries (I am from a neighbouring country) had a hard time believing it could have happened at that scale. I think that changed as TV documentaries become a thing.

Either way, there was and still is great room to look the other way.

But regarding the situation in Germany and occupied areas during the war, you have to understand that by the time the death industry was in full swing, protesting openly in any way could have you yourself summarily executed or imprisoned - with unclear outcome.
Interesting to see how the phrasing has changed in the last few years.

"Assume the sale" style by presenting the issue as a done deal. Younger Dryas, medieval warming period, little ice age etc. All ignored.

It is the tactics of the used car salesman applied to science...
That's the usual apology of the 60s through 80s, but it's simply not true.

Cardinal von Galen openly preached from the pulpit about the destruction of "unworthy life" (the T4 program) in 1941.

Concentration camp inmates often weren't strictly confined to some walled-off camp, but had to go to work brigade actions all over the countryside, where they had limited contact to the populace, who quite often slipped them a bit of bread or so.

Even when no such work was happening around the populace, it was an open secret. You simply cannot keep a lid on it when tens of thousands of Germans saw something keeping watch over the inmates, delivering goods to the camps, requesting slave labor from the camps, actually building the ovens, conducting trains to the camps, or with soldiers returning from the eastern front.
Countless fear avoidance trick #465: use browser form semantics for ui state and leverage mutation observers and proxies to delegate the rest.

nice article
You are not an expert in this area I presume. You brought up some thoughtful questions and points which could skew measurements. Now if you a non expert can think of these possibilities doesn’t seem reasonable that the experts have thought of this too and have taken into account these things? Being able to think of possible ways that a measurement might be bad or skewed indicates a likely gap in your knowledge and is not a reflection on the science.

Your statement: ...we need non-political active cooperation between many different fields.... paints you as a troll. The only people who think the scientific consensus on climate change is the result of political beliefs and not scientifically sound reasons are of a certain persuasion.
I’d rather have a bunch of idiots doing nothing than have them rule a country.
The real question is how such mechanism when applied to freemium games would affect their profitability.

The industry is getting too greedy these days, even paid AAA games have this microtransaction crap, they are milking gamers dry.

Ironically the gaming press barely talks about this.
That's their problem. They shouldn't be making it anyone else's problem.
> I guess very soon we will be able to generate "super-attractive" (as in "superstimuli") faces for virtual personas

We have done that already, except it was not using AI. I would classify most anime under that label of unrealistic super-attractive images.

About the ethical impact, Akihabara seems to be one end result of this. So it would be the same but in a larger scale.
Maybe we shouldn’t be selling them at all.
Out-of-Bounds write in systemd-networkd DHCPv6 option handling
India has proved itself to be a politically and militarily responsible country unlike its western neighbour, which floundered embarrassingly at even basic human rights.
Show HN: Search and analyze news with AI chatbot in Slack
Who gives a fuck until you learn to write readable text instead of this "yo we blacks write this way yo" bullshit. You know other black people can communicate via text without issues. you're out your way to fuck with language.Un-fucking-readable phoney bullsit.Trying super-hard to fit into a community you don't fit in.
My very quick googling said that Darwin doesn't currently support 32-bit ARM (or 32-bit x86 -- but this is a bit hard to separate since the architectures are quite similar). But I could very well be incorrect.
What is interesting is that a non expert in the field feels qualified to judge the motivations of the experts. Consider that your opinion is not all on the same level of credence as that of the experts and should not be given anywhere near the same level of consideration. Perhaps the phrasing has changed not because of some PR style salesmanship but rather because the people with expertise no longer have any doubts.
Or maybe “how will history judge us?” is not a useful question to ask when making moral choices.

It assumes our many times descendants will judge our actions at all, and that if they do they will still have values that say wiping out a civilian population in war is evil.

We should stop helping SA to intentionally starve a people to death because we know it to be terrible now.
I'm only posting this, because I have reason to believe that this was already being exploited then on many systems causing DHCPv6 to flood the IPv6 protocol into Denial Of Service.
Go doesn't have a stable ABI, AFAIK, so what (probably) actually going to happen is that the same Go 2 compiler will compile both Go 1 and Go 2 packages using the same runtime.
You try to parse the received data into a predefined data type, if this fails you are forced by the type system to handle the failure scenario, if it parses correctly you now have a 100% valid data structure you can work with in the rest of your codebase, no defensive checks necessary.
You can insert whatever level of validation you need at the untyped interface between the two... just as you would with dynamically typed languages.
> Markdeep works by appending similar code to the end, which is much more innocuous when viewing the file outside a browser or when its rendered by other software (e.g. on Github).

Thank you for highlighting this feature of Markdeep. I have now added this feature in TeXMe and MdMe too. We can now put the `<script>` tag to load TeXMe or MdMe at the end of content. Here is an example:

# Euler's Identity

In mathematics, **Euler's identity** is the equality
$$ e^{i \pi} + 1 = 0. $$

<script src="https://cdn.jsdelivr.net/npm/texme"></script>

However, like I have explained in another comment[1], this method of writing content requires the content to not have any HTML syntax errors, otherwise the output would be mangled. Markdeep has this limitation too. There is a 'Caveats' section[2] in the README now that discusses this in detail.

The original method of writing content with a single line of HTML code at the beginning of the content does not have this limitation. But if the HTML code in the beginning feels distracting, we can now put the `<script>` tag in the end too.

[1]: https://news.ycombinator.com/item?id=18314175

[2]: https://github.com/susam/texme#caveats
Haha, that's insane. Congrats, Norway. You could have public road take-off and landing Gripen fighter bombers serviced at home for a fraction of the price.

https://www.defenceaviation.com/2010/12/gripens-ability-to-t...
There are three things in git that I consider design errors:

- The staging area/index/cache should not even exist. That the same construct has three interchangeable names is already a sign that something is wrong. The fact that that construct is used to confusingly stage snapshots of files for committing as well as moerge operations makes it an unwieldy thing that has probably teleported too many lines of code into the digital nirvana already.

- Branches should be immutable properties of changesets instead of flimsy, easily deleted tags with special flags. Deleting a branch after a merge makes it impossible to tell which branch in the history was the master and which the feature branch.

- Gits graph of changesets is also too lightweight and is missing forward references. This is the reason why deleting branches irreversibly deletes their entire history. The reflog is only a crude hack around that and exists only because the crude data structures require taking stock of the entire set of internal references to figure out that a certain part of it (an "object", but essentially a file in the repository) is actually no longer referenced and can be removed.

I can probably come up with more reasons why git is very flawed. But this is enough fuel for the fire for one post.
Probably the reason is that reasonable Flow types for Records aren't in the mainline 3.0 release, and 4.0 (with good static typing support) has been in RC hell for about a year and a half.
In many other countries you can not fire someone by default (it's illegal) so calling it a powerful tool sounds wrong.
> So what should i do instead?

Learn to sell anything, anywhere, for a profit.
No they aren't... I haven't seen a single Perl script in the last 5 years. Ask me how many Python scripts I've seen...
But then you end up with C++ which is fine in some respects and totally dreadful in the others.
There was some knowledge, but it seems it wasn't so widespread. Also the Sonderkommandos were "rotated" (hint: they weren't relocated or fired) with some frequency

https://www.reddit.com/r/AskHistorians/comments/6b1z61/did_t...
A Mac Plus could run Smalltalk.
Fair point that. I'd not considered all the possibilities
I'm not joking, or supporting any moral positions. Just thinking of it from another perspective. I am aware of the Stalin quote. There are very few cases in history when we intervene at the right time. Sadly, this will be another one of them.
Blame It on the Bossa Nova: How Music Changes Our Perception of Touch
I don't buy arguments from authority, sorry. You seem to want to have your cake and eat it too... Agreeing with me on the phrasing while simultaneously justifying it.
I actually do but I was trying to state a reasonable middle ground and sow some seeds of doubt. The general consensus seems to be that intellectual property is an unbridled good and so moving the needle a small amount towards doubt seemed like a good first step.
> For example when was the last time you complained about weak type systems when working with JSON, XML, or SQL tables?

Well, I don't know about the person you're replying to, but I certainly complain about these all the time.

Interestingly and counter to your point, I think, XML grew a "type system" of sorts with XML Schema (which is widely used IME, esp. where interfacing with external services as in SOA), and SQL actually has a reasonably strong type system for most implementations albeit dynamically checked at query planning time. (SQLite seems to be the outlier here.)

JSON is actually the outlier here, but even with JSON there's been attempts at a sort-of type system with JSON Schema. Why? Well, because beyond a certain size the "just chuck some data somewhere in there" ceases to be workable when you want stable and maintainable interfaces between software components.

Ultimately type systems are invented and used for almost entirely pragmatic reasons.
Quoting a self-proclaimed mission statement as "proof" of anything, really?

And no, you did not think this through, or you are just grossly uninformed.

Example: https://youtu.be/ZTC_RxWN_xo

Private business only takes paths that are already visible. No investor spends money on the truly unknown.

You can downvote all you want as the small person you show yourself to be through it, facts will still remain facts not open to voting.
You're right. We seldom think of how the future will judge us. If we did, we'd take the whole climate change thing more seriously. I don't think the people who are responsible for making these decisions think morally. So it is baffling to the common person, wondering why we let these things happen.
https://www.theregister.co.uk/2017/10/19/f35_fighter_engines...

It's pretty common knowledge that the work was spread around for political reasons. Similarly everyone's avionics must be overhauled in the UK.
Shielded quantum bits
Yes, I always knew that is just a simple side project to reliably measure software engineering productivity. It is probably as simple as counting the lines of code produced in a given day. /s
flamegraph.pl is a fairly common sight.

It would also likely be better (more readable and maintainable) and faster written in something else (did a partial Python port to understand what kind of munging the script actually did, the Python version was 50% faster, and a bit shorter though the latter may have been because I didn't test/check all features and some of the edge cases may have been missing in the non-default options).
But the conclusion doesn't jive with the comments he was responding to. I found the article a bit annoying because of that, though otherwise interesting.
Rust doesn't have proper integer subtypes either. Ada has.
Ask HN: Why can't I visit emu8086 official website?
I am learning assembly programming, so i want to install emu8086, but I can't visit its website.
Anyone has another IDE for ASM? How to download?
Hello, I'm a video addict
Could you give an example of partial application with Haskell in the way you mention? I've had similar feelings with Clojure.
So using static typing doesn't help you in other words since you need to do the same runtime validation as with dynamic languages?
Sorry I confused the model year. It's MK4 but after facelift with BLIS system.

I don't know what model the Volvo was, something recent from around 2015. It's not my/my family's car.
Of course, DST doesn't make sense outside a relatively small range of latitudes (too close to the equator and all days are 12 hours anyway; too far and summer evenings last until 9pm-10pm even with solar time).

In Italy, for example, having DST means you avoid dawn at 4am in the summer (getting nice longer evenings in exchange) _and_ dawn at 8.30am in the winter.
How does that work? I thought static typing was only checked when compiling.
Show HN: Standalone Containers
Go to Europe and enjoy your stroll through the public streets of cities that were designed for walking. A pleasure :)
https://www.moneysavingwallet.com/
This is wrong. Yes, the Nazis built systems specifically designed to break up social cohesion with Jews, e.g. first deporting them from smaller cities to Ghettos, then deporting from Ghettos to KZs (concentration camps). And also yes, relatively few actually knew about the scale of operation themselves, but a large part of the population knew that many of those deported were killed and not just deported to work camps or whatever. It was not a well-kept secret. Also, NS propaganda was full of the "[Endlösung der] Judenfrage", eradication of Jews etc., though it did very intentionally leave execution open. I think it is fairly obvious that most didn't want to know anything about it, choosing to ignore what is happening.
Creators love to create, thinkers love to think, programmers love to program.

Most people do NOT like creating(when they can use something already created by someone else without effort), programming or thinking(it is slow, takes effort and gratification is not instant) at all.

It is not a critic on most people, in fact I have seen people spending months of work for installing or compiling a custom Linux like gentoo just because they can. Thinking on problems that will probably be a dead end forever or programming things that would have been done cheaper, better and way faster manually.

That is the reason Steve Jobs succeeded, he made what people (most people)wanted. Instant gratification like music on iPods. Simple solutions to problems people have(simple install). Making sure creators could live from their professional work(simple payment system).

There is a talk somewhere when Steve Jobs talk about him realizing people really demand things like Trash TV.

When you sell products you see reality, Alan could only see the idealism of Academia.

It is not that people do not want to improve themselves. It is just that most people do not want to pay the price, in effort, in time or focus. Just look at the Ads on TV: Lose weight with no effort with product X, in no time, while you watch TV.
Federal MP inundated with complaints about ACT drone delivery trial
Blog publish tools inside gatsby blog
Nissan Leaf, Renault Zoe, Chevy Bolt, and the list goes on -- all boring little EVs. The huge displays and app store are the exception, not the rule.
isn't and isn't going to become recursive over the path
Meet the Illustrator Diversifying Air BnB's Image
I just love how you managed to come off more elitist than an ivy league school frat boy realizing that there are workers cleaning up his mess after every party they throw.
Not in the current climate, no, and most certainly not for Pakistan where military runs the state!
Am I missing something here? The piece reads like a faithful transcript of Darius & Q talking, and I found it really vivid and compelling.
Typescript brings much needed order to the complete (seemingly) typeless nature of Javascript. That is the source of enthusiasm. TS is the direct result of a development team working out the kinks of having to maintain a large JS codebase.
A URL without a private corporation's embedded tracking ID is in the prior posting at https://news.ycombinator.com/item?id=18303613 .
I agree that defensive checks may clutter code, but in the current landscape of constant security issues, to not use a battery of defensive checks whenever dealing with input is simply naive, no matter the IDE, compile language or runtime language.
It is our duty as Americans to die for Saudi Arabia and Israel, our greatest allies
Thanks I noticed that part, it was right before everyone took Mescaline.
We haven't decided on the pricing nor implemented it in code. That's the next thing to do. Probably we'll roll out both bundles ($x for y images) or subscriptions.

As for the copy, you're right. We need a lot of improvement on targeting. We thought LSPs and marketers are going to be main customers. Have to refine there.
Our first idea was to do an API but we deferred it as the output still needs a pair of human eyes to approve.

Thank you for the feedback and wishes. Really appreciate it!
TS Angular client generator in OpenAPI-Generator just added Angular v7 support
You would never be able to write the infinite amount of tests necessary to supplant static typing, let alone run them.
If there is EU resolution to suspend arms sales why is Macron still refusing to abide and continuing to sell weapons to the Saudi regime:
https://www.france24.com/en/20181026-macron-france-halt-saud...
I've heard "climate change occurs in cycles" from many of my equally-educated friends. It's scientific-sounding, you can find research articles online (apparently), but from what I understand – a total myth.

But that may give some insight into /why/ so many people, including intelligent ones, disregard climate change.
Rust is not a good replacement for C++, though. It doesn't even have inheritance, let alone multiple inheritance and/or multiple dispatch.

It's kind of in-between C and C++ in terms of capabilities, and neither a subset nor a superset of Ada's features in terms of safety. Some of Rust's memory safety features are only now being added to Ada and not yet in the forthcoming standard, whereas Ada has many features that Rust still lacks (e.g. integer range subtypes, OOP with inheritance). Rust is less secure than Ada/Spark, though, and clearly not intended for high integrity systems.

It seems that the niche Rust is aiming for is "safe general system's programming for people who primarily use C and C++ but have never used much Ada or Haskell", and in that area it's quite successful.

Both Rust and Go are odd, because they have less features of C++ (plus added safety) and attempt to sell a lack of features as advantages, whereas in reality no one forces you to use a feature and their developers are merely pushing their own, personal agenda about "what's the right thing to do". I personally don't like C++, but one of its benefits is that it leave its users the choice of what's the right thing to do and offer as many zero-cost abstractions as possible. Rust and Go are way more patronizing.
Haven't you seen the McDonalds coffee in the UK?

"Warning, contents may be hot"

The "may" always makes me chuckle.
There was an exception that proved* the rule.

In 1943 there was a hitch and the Nazis stepped back from mass murdering German women that dared to protest in their capital city.

The problem was that these good German women had Jewish husbands and weren't that keen on having their loved ones sent off for processing into lampshades:

https://en.wikipedia.org/wiki/Rosenstrasse_protest

* The actual facts of this protest are not clear and there is lots to be learned about not just what happened but the stories told about this event.
[OpenAPI Generator] New Erlang Client Generator with PropEr Support