skysight-inc/HackerNews huggingface dataset:
> Something open is different from something closed

Right, but that's just a property of "something", not a type of it. When someone asks you "What type of door you have?" we don't say "I have an open door", rather "I've a timber door" or "glass door". This is how we understand the world after all, and to me type system should reflect our mental and cognitive processes.

> If you're comfortable with parameterised types at all

I think I have the same issue with parametrized types as well. Having `Vector<int>` is good for compiler, but not necessarily for humans. When you need to put a beads onto the string (the closest real-world analogy I came up with vector, haha), you don't think "hey, I need to find a string of type "beads" and then put beads onto it". You just take a string, and it implicitly "works" for beads. If you try to put something weird (why would you, btw?) onto it, you'll break the whole thing or it just didn't work. I'm not implying that we need to do everything as in offline world, but at least try to minimize discrepancies in the reasoning about the world in the code.
Why a City in China Wants to Launch an Artificial Moon into Space
Ask HN: Oldest browser extension still maintained?
I'm doing some research on browser extensions and I wonder, what's the oldest browser extension still maintained today? (Also, the first extension ever created?)

I found that The Developer Toolbar by Chris Pederick was first released on June 3, 2003[0] (when Mozilla FireFox was still known as Firebird) and it is still alive today as a web extension.

There are other ones?

[0]: https://chrispederick.com/work/web-developer/history/firefox/
Sounds good in theory but would be interesting to know how prevalent cloud cover is in the city.
> So yeah it doesn't matter if the final user is for-profit if you think there is a risk that profit is driving something you don't want.

This is a gross simplification that erases the very real differences between the incentives of a government vs. a for-profit company. Not only is the government accountable to its electorate, but a government that wants to save money can take a much broader approach - for example by funding access to mental health services - to keep people out of prison. Prisoners are expensive to keep locked up!

In the final analysis, all prisons are non-profit. None of them generate any value. They're all funded with taxpayer money that could be spent elsewhere. It's just that in the case of private prisons that money goes to a company that has no interest in saving the government money by reducing the prison population. Sure they'll try to run the prison efficiently, so they can pocket the difference, but they want as many prisoners as possible to get a bigger check from Uncle Sam.
This is the case for the latest process nodes for the fastest CPUs. But even aside from memory makers, there are microcontroller and analog vendors who still run their own fabs. For example Texas Instruments, NXP, STMicroelectronics and Analog Devices.
Google Drive converts HTML pages to Word on download
I have just discovered this today and it is absolutely annoying. I uploaded a project folder to Google Drive which contained css, js and an index.html files.

I tried to download the project today. Drive zipped it and downloaded it. I opened it, and bang! no html file. The index.html file is now an index.docx file. Absolutely atrocious. You can't even convert it back to the original html.

I tried downloading the index.html file on its own and lo and behold in the bottom left corner of my screen it says "Converting to Word".

I am on a secure machine and can't install their bullshit memory hogging desktop client either. Which means, I can't work.

Has anyone else dealt with this nonsense?
Apple's late, others already had this for years. Sure they're elitist in that they convince everyone this is revolutionary game changing one of a kind when it's normal.
Good question. I'm contributing to postgres for quite a few years and I still don't have a clear answer to that. It certainly is not a single discrete reason, but IMHO a combination of various factors:

1) careful step-by-step engineering (vision, reviews, bug-fixing, ...)

2) open and civil community

3) not founded/owned by particular company (no one has the upper hand, companies serve customers with different needs, compete but also cooperate, ...)

4) code / documentation quality

I could probably go on, but those four are probably the most important ones. (At least for me.)
Sometimes they're right and cause a huge change in how we think about the world and science and shit. Sometimes.
As a person who ran a local store 'back when', the cost of shipping was factored into the wholesale price which then was used by the store to calculate the retail price. The end result was that shipping was included in the mark up percentage, typically 60 to 100%.

If a middle man was used, like an importer/warehouser, that middle man added their markup on shipping as well, typically 20 to 40%.
Unfortunately in practice, the lowly paid support agent is being bean counted on the number of outstanding tickets they have, and being told to periodically fix that problem.

"You get what you measure."
But scale is an important difference in legality and morality.

Consider the following example. Calling someone to ask them on a date is normal acceptable behavior. Doing it 20 times an hour, 3 hours a day, every day, quickly becomes immoral and illegal.
They collect user location during the trip, app launches and every possible user action that may be useful for them while you're using the app.
Announcement mail: https://marc.info/?l=openbsd-tech&m=153987076201158

This is the 45th release of OpenBSD!
Truth != value. Of course my feelings are valuable to me; I don't need them to be true (and I don't even think being true or false _applies_ to judgement values).

"I once heard a wise man say that if anyone
were to know the whole answer, he would cease to exist."

https://books.google.es/books?id=KuFwDwAAQBAJ&lpg=PT181&ots=...
WSL is a great idea and I think Microsoft is onto something super cool with WSL, but after a week of serious use I found that it was not a viable replacement for cygwin. The major problem with WSL right now is that you can't effectively edit files in both Windows and WSL. For me this was very limiting because I could not interact with a git repo via WSL and then also open the files from that repo with a Windows IDE. In cygwin this would be no problem though.
> From the vast research I've done, sleeping may be more important on a high-insulin-fluctuating diet.

Could you link to some of your peer-reviewed articles in moderate-to-high impact journals? I'd be really interested in hearing about that vast body of research.
Major enhancements in PostgreSQL 11 include:

* Improvements to partitioning functionality, including:

-- Add support for partitioning by a hash key

-- Add support for PRIMARY KEY, FOREIGN KEY, indexes, and triggers on partitioned tables

-- Allow creation of a “default” partition for storing data that does not match any of the remaining partitions

-- UPDATE statements that change a partition key column now cause affected rows to be moved to the appropriate partitions

-- Improve SELECT performance through enhanced partition elimination strategies during query planning and execution

* Improvements to parallelism, including:

-- CREATE INDEX can now use parallel processing while building a B-tree index

-- Parallelization is now possible in CREATE TABLE ... AS, CREATE MATERIALIZED VIEW, and certain queries using UNION

-- Parallelized hash joins and parallelized sequential scans now perform better

* SQL stored procedures that support embedded transactions

* Optional Just-in-Time (JIT) compilation for some SQL code, speeding evaluation of expressions

* Window functions now support all framing options shown in the SQL:2011 standard, including RANGE distance PRECEDING/FOLLOWING, GROUPS mode, and frame exclusion options

* Covering indexes can now be created, using the INCLUDE clause of CREATE INDEX

* Many other useful performance improvements, including the ability to avoid a table rewrite for ALTER TABLE ... ADD COLUMN with a non-null column default

https://www.postgresql.org/docs/11/static/release-11.html
Agreed. The issue in this case is that exercise can cause relapse in CFS, and there isn't much research showing how it can be done safely. However, I don't think that creating a grab-bag of minor complaints against a study and forcing the authors to retract it is the way to go.
The Elitism of Fantasy vs. The Egalitarianism of Science Fiction
Introducing the Raspberry Pi TV HAT
One thing that Postgres does not do well is row churn. If you have a table that have rows that are constantly added/deleted/updated, Postgres tends to bloat pretty quickly because of the way they handle updates. Say what you will about using a relational db for that kind of data, but if you need to, Postgres isn't a great choice.
Statically enforcing behavior helps the human as well - in this example, it would make it more clear what types of things you can do with an open connection vs a closed one just by inspecting the types, whereas otherwise you would have to either find documentation or test it and see.

We use type tricks like this (although not exactly in this way, as we don't really have a concept of kinds) in OCaml, and we find that in practice people new to the language aren't actually confused by it much - it actually makes readability better, not worse.
Let me know what you guys think about this. I tried to keep a running log of the main problems I had to prevent others from stumbling when building their first Electron app.
It also has powershell, where everything has help and examples, the naming is consistent, and it neatly separates content from presentation so you pipe to 'select' and 'where' and don't scrape with regexs all the time. WSL is great if you don't want to learn anything but you can happily do everything you need in the powershell / Terminus.
I vaguely recall Holland went through a similar process and is facing similar problems. Could the Dutchies in the know here on HN shed some light on this?
I'd like you to try to claim your salary as corporate "profit" on your next tax return. Tell me how that goes.
"X looks like Y, thus, it must be made by Y" - that's the kind of inane logic I see on so many YouTube conspiracy videos. It's absurd to assume that just because something looks like something to a layperson, an expert would see them in the same way.

Not to mention that this line of logic has been used by everything from conspiracy nuts to eugenicists
Real-Time Tracking of Russian Influence Operations on Twitter
This sounds disturbingly like a plot of supervillainy. We'll really be in the shit when this thing goes live, only for U.S. intelligence (or maybe MI6?) to discover that that's no moon -- it's a battle station!
Ah! Thanks for the explanation!
> and that he is just witing Singapore / Czechoslovakia / any other developing country on the package

That's impressive both because Czechoslovakia does not exist anymore, but also because Czechia is developed these days, I'm pretty sure :)
A shortage of reasonable pay for said cyber skills are the issue. The article is about using unskilled labor with 'ai' to 'defeat hackers' and other buzzword soup. Nothing backing up the assumption this imagined shortage.
Nope. UML is a language for describing software systems. It's software first. Domain-Driven Design is a focus on understanding the actual concepts of domain experts. So this is people first.

As Martin Fowler said, “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” That's much more likely to happen if programmers start with the existing human understanding of the situation.

As a contrast, let me describe two terrible code bases I worked on. The first was something built by roving gangs of consultants. It was about donations and corporate matching, but that was hard to tell by the code. It was basically a giant snarl of HashMaps with magic keys that got passed around all over the place, with bits of code fishing out things they needed. It mostly worked, but it was incredibly hard to sort out because the code didn't mean anything.

Another is the typical Java enterprise mess. I was once called in to advise on an open-source product that was being built by consultants used to doing banking work. Between being fetched from the database and rendered on the screen, data was copied from object to object 7 different times. ThisBean and ThatBean and DTOFactoryIntializerStrategy. Most of the code base wasn't really about the domain, it was cargo-cult rituals and architectural patterns that had no practical value. Worse, having the domain knowledge smeared out over a zillion objects means that their early domain understanding was locked in, so the code base and the way people talked about the domain drifter further and further apart.

At this point I'm a firm believer in Domain-Driven Design. If you really understand how people think about what they do and then build the system in those terms, you'll get a much better code base and a much better user experience. Domain concepts are generally very stable, so your design is less likely to go obsolete.

A good example is yesterday's article about building a real-time editing system. They got good code because they really thought about the human experience and then built in those terms: https://news.ycombinator.com/item?id=18220020
I wonder which BI tools they use for running ad-hoc queries on their Presto cluster. The user behavioral analytics is a hassle when you use SQL and generic BI solutions don't help with that.

Also, I assume that they have dashboards that use pre-aggregated tables for faster results, they probably have ETL jobs for this use-case but is the pre-aggregated data stored on HDFS as well?
In the last engagement, FluentD was used to write logs into ElasticSearch and then transfer them to Splunk to have an integrated view with other applications of the organization. We start developing ELK solutions at www.kuberiter.com from early next year.

Great Article. UP VOTED!
Announcing RStudio Package Manager
I disagree. How would you know that you're fine? There are studies that support the claim that people quickly adapt to their sleep deprived self and regard that as the new norm. That's precisely one of the dangers: that you are not aware of your sleep deprivation.

Obviously, many detrimental effects of sleep deprivation only kick in after many years. And then there are the outliers. Just because you can cross the street blindfolded with headphones on without checking traffic doesn't mean it can generally be considered safe.
Here's a closer-to-ground design from over a century ago: https://en.wikipedia.org/wiki/Moonlight_tower
Anyone seen Goldeneye recently? Great movie.
I get the feeling this article is conflating birth rate with actual population growth. One reason why people have less children is that more of them survive. Happy to be shown I'm wrong though.
"Helm currently ships to anywhere in the United States. Unfortunately, we cannot ship to PO Boxes, Army Post Office (APO) or Fleet Post Office (FPO) addresses."
Every satellite I've seen crosses the sky in seconds. How does an orbiting mirror provide consistent illumination? Can it orbit as show as the rotation of the Earth and still maintain an orbit?
Huh? This video is Secret History of Silicon Valley
"Predator the Thief" Malware: In-Depth Analysis (v2.3.5)
The Algorithm That Turned Politics Upside Down
The Fake, the Manufactured and the Fast
Or smog
Goodbye stars.

I wonder what kind of dreadful ecological effects this will have on nocturnal wildlife?
Don’t forget those of us who take the subway. My iPhone used to regularly berate me to turn on driving mode.
I wonder what the impact will be on wildlife that depends on the hours of darkness?
Note this news has nothing to do with epacket
The PIC18 can run the following Scheme implementation: https://github.com/stamourv/picobit

(The (last of the original) main author(s) has stopped maintaining it, although there are many forks, some of which might be maintained, I haven't checked.)
Other ongoing discussion:

https://news.ycombinator.com/item?id=18248230
It seems to me like in big cities, as this article describes what eventually will happen is the rich will buy up the property because nobody else can afford it, service workers won't be able to actually live within a reasonable distance in order to work there, and the city will exist mainly for 1) wealthy professionals, 2) people who use real estate to park their money, and 3) tourists. Regular working-class folk disappear.

When one visits the city in the daytime, it seems like it has activity because of the tourists, but it has no real indigenous activity.

Perhaps that's the steady state, because there are enough tourists to keep the city going economically.
Same. I feel people invent problems in order to not use these tools.
I'm low income for where I live and buy a lot of basic $1-$5 clothes from China that would be $20-$30 equivalent in USA. This is going to hurt me directly. It's not like I'm buying food, housing, electricity from China, but having good quality fashionable clothes for very cheap when I can't afford anything except Goodwill here is beneficial for professionalism at my job, and overall satisfaction about myself.

Trump should focus on putting more money in our pockets rather than making things more expensive and hoping the pipe dream of any manufacturing is coming back to US is a reality.
This mirrors my experience working at a company that achieved similar results on some of its internal products.

The very biggest difference between working there and working anywhere else, is that developers spent only a tiny fraction of time actually writing code.

The biggest chunk of it was spent on peer review. Every change required sign-off from everyone on the immediate team, and, if it was being made to a component that other teams interacted with, they'd also have members reviewing the changes. And, as a newcomer, I found the reviews to be brutal. Over time, though, I came to recognize that what originally felt like others getting all up in my business about pedantic little variable naming issues was actually everyone having my back about legitimate maintainability concerns.

Next biggest chunk was spent on planning - understanding requirements, talking over changes with anyone who might be impacted by them, etc.

The second biggest difference was just how fast we could move. I think a lot of that came from a certain "wei wu wei" that was attributable to the deep understanding of the systems we were working on that developed out of all that time with our hands off our keyboards.

Allow me the vice of inserting a mangled Hitchhiker's quote here: "If human beings don’t keep exercising their [fingers], he thought, their [hands] probably seize up. After a few months’ consideration and observation he abandoned this theory in favor of a new one. If they don’t keep on exercising their [fingers], he thought, their brains start working."
Agreed! It's the small things sometimes...
Damn, you are right. I thought the load-store architecture was no more in ARM thumb 2. I was wrong. Thanks for the info.
I wonder if there's more than meets the eye behind this?
I find the claim that the majority are wrong in fields tough to believe. Not impossible, mind. Just tough.

I would think it matters on what is "right." Are they wrong in the way that Newton was wrong? Still far more correct that anyone else? (Obviously, not to that degree.)
A friend was a senior IT guy at Lloyds. He said the building was a pig, functionally. All the network cables etc had to go down the pipes on the outside of the building.
Microplastics found in 90 percent of table salt
Facebook inflated video view statistics
Is JIRA almost unusably slow for anyone else? After a bunch of trial and error, I've landed on a workflow I like with JIRA, but it painfully slow (we run on their cloud).
with this product, any company could improve own prices and check the prices of their competitors:
https://competera.net/solutions/by-need/competitor-price-mon...
Use pipenv. Deploy in Docker, using pipenv

As a developer I definitely see the advantage of this approach and realize that it trivially solves some very hard problems (and causes a whole bunch of different problems if you're running Windows...). As an end user I'm not super thrilled about the prospect each tool I use coming in its own docker container and needing to spin up 20 different containers each time I want to do anything.
I am so tempted to install this after a 15 year break...
My first thoughts were that it sounds like the plot from a Bond movie, but jokes aside, this may be a good thing, essentially ‘free’ lighting at night for the area covered, i wonder how long it would take for the cost savings to match the cost of the satellites
"My political opponents are all deranged babies" doesn't strike me as being interested in any sort of "grown up" discussion.
The top 13 Linux and open source conferences in 2019
I need to figure out how to turn this into an openAI gym so I can train my DQN on it. I just finished running the code from Deep Reinforcement Learning - Hands on for Pong, and it's pretty cool...
I'd be very happy if this could solve the decades-long computing problem of sending a file from one computer to another one next to you.
Imba – a programming language for the web
Would be great if it works, could on net reduce emissions.
It varies a lot. Many parts of the code base are very accessible and easy to modify for almost anyone, while some parts, especially the query planner, contain some of the most advanced code I have worked with.
I get that the idea is to have an ever-improving champion, and I like the idea, but it's not going to work out that way in practice. The best way to defeat the current champion will be to exploit it in some way, which will usually lead to irregular, but very specific, behaviour of the challenger.

Then, when challenger becomes the champion it's behaviour will be useless and the next challenger will either beat it easily, or will do the same and the cycle will repeat.

To protect against this, the challenger should have to beat all previous champions, not just the current champion.
Yeah, but there's only one such "ring" around the equator and it's pretty crowded. https://en.wikipedia.org/wiki/Geostationary#Orbit_allocation
> My pet theory is that humans are poorly adapted to modern life

Or modern life is not adapted to humans
I am of the opinion that facial recognition technology is a good tool to produce and sell to the police provided it is burdened with significant regulation to prevent abuse. this includes short term expiration of all imagery gathered, access by public warrant only, and full public auditing.

the reason I am of this view is that if can reduce the impact of the police on innocent people the better and I think that a system which can eliminate people as suspects is the true value here. anything that stops the nonsense or need of no knock warrants and other brutality the police have been caught doing.

the face id tech should work both ways, identify the police and policed.
What databases do you recommend to handle frequent updates?

How does their design differ?

What are the tradeoffs to consider?
It works perfectly with intermittent connectivity, restarts, etc. That will not be a problem.

I'm not sure about thousands of nodes syncing to a single replica though. That may be a bit over the top.
in similar news openssh [0] released a new version recently. noticed 7.7 [1]applied to this openbsd release

[0] https://www.openssh.com/txt/release-7.8

[1] https://www.openbsd.org/plus64.html
China isn't concerned with such things.