skysight-inc/HackerNews huggingface dataset:
Because of environmental issues (better to live close to work, less carbon pollution) and globalisation agenda, the rural areas of the world are lost forever. The rural areas will become as in the movie Mad Max, totally without and control from government.

Politicians will never address the rural areas in a positive way, because they know they will loose city votes. That’s why you always here generic promises, like “more police” and such, then they also get the city votes.
Did you write your own implementation of java.util.Optional in Java?
Hi Java users!

After working with the JDK implementation of Java 8 Optional<T> I for quite a while I came to the conclusion it contains a lot of hard to ignore deficiencies. This, of course, is my personal opinion and I would like to hear yours.

This is why I have 'issues' with JDK-Optional<T>:

- JDK-Optional<T> is not serializable for hard to follow reasons (e.g. http://mail.openjdk.java.net/pipermail/jdk8-dev/2013-September/003276.html)

- But then, Guava-Optional<T> IS serializable

- This makes migrating from Guava a real pain (effectively you can not store fields in serializable classes as Optional<T> but have to wrap / unwrap them)

- So all getters / setters / method with return values are wrapping / unwrapping like crazy (which sucks big time and cost performance)

- The JDK Optional is meant to be a return value wrapper (following the blog posts from the dev), not a full monadic type

- I wonder why not?

- In any other language with 'optionality support' I know (Swift, Scala, Haskell, etc.) Optional / Maybe / Option is highly integrated, a joy to work with and helps preventing null pointers completely

- It's considered bad style to unwrap / wrap Optional all the time, in Java it's a necessity

- Being able to monadically compose is cumbersome in jdk (it seems like the Oracle devs did not fully get grasp of the functional paradigm imho)

My personal 'solution' was writing an own 'Opt<T>' class (less than 200 lines, being fully serializable and containing all the functional goodness you would expect).

Downside is, I am not using the jdk given default impl. But hey, how many are using java.util.logging (and not slf4j, log4j2, etc.) ?

Let me know what your personal conclusions are in this topic!

Thanks a lot

Peter
I've heard that while Firebase is good, it has pretty high pricing once you have enough users and has a big vendor lock-in problem.
If anyone is interested in how the layout of a city affects the way in which people perceive the city mentally, you may find the book The Image of the City by Kevin Lynch a nice read.

The book talks about how people create mental models of the cities in which they live, using certain abstract elements (paths, landmarks et cetra) that are present in their cities.
4 Reasons Why This Piano Design Can Radically Improve the Way You Make Music
2 Инвайта на Dribbble
What you'd want is for the owner/maintainer to sign the code, rather than the repository. This wouldn't protect you against a malicious maintainer, but it would help in a case like this as long as the signing key or the maintainer's device isn't compromised along with their credentials. That would definitely raise the bar for attacks of this nature.
The one time this system complained about my tests it found a real bug in my test, though not an actual issue with the program under test.
I guess Patreon has reached that size and clout where it can accidentally crush whole lives via careless mistakes.
Ask HN: Hacker News for marketing
Most marketing discussion forums does not have the depth of thought we typically see in hacker news.

I am looking for places were the majority are experienced professionals have meaningful discussions about measurable ideas. I want to avoid fluff pieces repeating the same points ad nauseum.

What would you recommend?
The secret maps used in World War II
WJS #143: Virus in eslint-scope, Typescript 3, ES generators, and more
Apple invests in renewable power, launching $300 MN green energy fund in China
Previous discussion:

https://news.ycombinator.com/item?id=10045297

Man those 3 years went quick!
Especially now that we all use navigation apps in our cars.
The ~same offset appears in Penn's original plan.[0]

Maybe it was based on geomagnetic north? The magnetic declination in Philadelphia is now about -13 degrees, but it was maybe -8 degrees in 1682.[1]

0) http://www.ushistory.org/philadelphia/images/philadelphia1.g...

1) https://en.wikipedia.org/wiki/Magnetic_declination
Yes - most papers just present one idea, as part of a field.

Although, the original paper of an idea, I often find, has the most human-readable explanation. Pearl's 1986 paper of Bayesian Networks, Gauss' 1800-whatever paper on the normal distribution, the original bitcoin/blockchain paper by that Japanese-sounding name, etc. They're still trying to sell the idea so they really need to talk to the idiots.
I agree that the first two three body problem books (I've just finished dark forest) have some weak points on character development and dialogue.

But I've really enjoyed them so far because the books have surprised me at least a dozen times.
Interesting technology, shame that it looks ridiculous.
1: 12 Rules for life, Jordan Peterson
Ignore the controversy, this book will change your life for the better. Get the audio version Peterson narrates and it adds an extra dimension.

2: The Obesity Code, Dr Fung
Probably the most eloquent and effective breakdown of how and why obesity comes to be and what to do about it. As a bonus, it’s really funny!

3:Not Alone, Craig Falconer
I picked this up on a whim and enjoyed it more than any other work of fiction in the past year. It’s a first contact story that focuses on the media and politics.

4:Measure what matters, John Doer
This book has transformed how my team runs. Anyone in any kind of management role should read this book.

5:Win Bigly, Scott Adams
I’m going to be controversial with this one. It’s an interesting story that provides more practical tools for persuasion than any book I’ve ever read (and I’ve read every popular book on the topic). If you want to know how to apply influence read this book.
Ask HN: Educational resources for a developer who recently started a firm?
What educational resources would you suggest to a developer who started their first web design/development firm yesterday?

Bonus Question: If you have experience starting a web development business while being unqualified and under-funded, what would you say to this developer if you were their bestfriend?
Select the passage of interest:

$ xsel | espeak-ng --stdin

Don't over engineer things.
I should have worded that differently. I meant migrating an existing production.

If you have an existing production which works well after years of improvement and stabilization, with people with a lot of expertise on it, you won't get that in 2 months, not the stability and quality nor the ability to troubleshoot it.

Startups start from scratch, don't have big workloads, also there isn't so much pressure to have a high quality service from day one because you don't have that much people consuming your services.
The Veluwe area in The Netherlands already has a civilian patrol that even has multiple helicopters. This is a direct result of the police closing down stations in rural areas.

https://www.ad.nl/binnenland/veluwse-knokploeg-met-helikopte...
From the accompanying blog post https://blog.wire.com/blog/post-quantum-resistance-wire/
So why don't they buy wooden ladders?
Not cheap, but https://www.aliexpress.com/w/wholesale-ceramic-tile-laser-cu...

And perhaps they're bullshitting.
How to Rank Your Website Effectively with Long-Tail Keywords
Akitio Node + Apple TB2->3 dongle + GTX 1080 + external LG 4K monitor on a rMBP 15" 2015, used only w/ Bootcamp.

Works pretty well, and my latest addition is a DisplayPort switch to use the iGPU directly with the monitor (when I'm in macOS) or the external GPU (when I'm in Bootcamp). Performance is great, around ~95% of desktop GPU I'd say.

The only issue is that it needs a particular boot sequence to enable it, when switching from macOS to Windows with the GPU enabled: reboot from macOS, turn on the GPU, the default partition is Windows so Windows will boot with the GPU enabled.

To reboot from Windows to macOS, disabling the GPU: reboot from Windows, hold Option at boot to show the boot menu, then turn off the GPU and boot into macOS.

Not that bad once you get used to it, and having a desktop GPU on my laptop makes it all worth it.

My post on /r/eGPU: https://www.reddit.com/r/eGPU/comments/77e86g/success_macboo...
Digital-to-biological converter for on-demand production of biologics (2017)
That's exactly what I like about good tests: they serve as a double-entry bookkeeping system. Telling me that I changed something is very useful, because they help me verify that I changed only the things that I wanted to change.
We decided that we didn't need to collect the data in the first place, so we sidestep the issue entirely.

In reality, the amount of data an application needs to collect is very small. Everything else is mostly for marketing purposes. Eliminate the latter and it's very easy to comply with GDPR.
I'm currently reading "Dark Continent - Europe's Twentieth Century" by Mark Mazower, and I found it thoroughly interesting.

It highlights that democracy was absolutely not a clear path for Europe, and why fascism worked.

I had no idea how much of the welfare state (government housing, children benefits, etc) had fascist and imperialist roots.

Recommended read, it's thought-provoking.
You can also add Neo4j (graph) as part of the NoSQL family, right?
MlaaS: Machine Learning as a Service Solutions
In this way it almost seems appropriate to rely on country statistics - sure there may be political motivations to label certain places a certain way, but they are also more likely to capture local variations as to what is considered urban and not. I live in a place that is semi-rural by Indian standards but which definitely qualify as urban by EU standards.
Much of it was written in the way of "The wizard went here and this this, and it was pretty damn cool". It wasn't necessarily dry, but it was so differently written from the fantasy I normally read I couldn't get used to it on my first time reading it. It should probably try again at some point, however. The setting was really cool.
To be fair, even with navigation apps central London is a nightmare...
Locals face long delays but companies win land rights with ease
I wrote to Ken Thompson when I was an undergrad doing a history of computing essay. And he wrote back with a potted autobiography! It was probably a bit before email became the scourge that it is now.

The sad part is: I lost the email in a transition from one machine/set of floppy disk backups to another.
> encrypting tenant data at rest

I know that this is required by various security certifications - but is there a reasonable threat model that it actually protects against?

The only one I see is someone physically stealing the hard disks out of the servers, which is impossible if you are using a trustworthy cloud datacenter instead of a server in your bedroom.
I followed your advice and read chapter 9 of Rationaly from Ai to Zombies. This chapter title is "Expecting Short Inferential Distances", my summary is that if you are using a scientific language and your audience is not used to it then you should explain basic terminology. So from this piece I should estimate content with low density of information.
When I looked at Julia last time I do not think it had the capability to partially apply tensors. In Spiral indexing into a 3d tensor would give you back a 2d tensor. It might be possible to do this with function in Julia, but that would depend on its inlining capabilities and unlike Spiral it does not provide guarantees with regards to that.

Its type system is definitely less powerful than Spiral's - some of the things you could express naturally in Spiral would require macros in Julia.

All in all, the language strikes me as a better Matlab which I think it succeeds at, but Spiral is made to be a better F#. Some of the tradeoffs I had to make in language design means that I could not succeed at this across the board.

The fact that it has a more powerful type system makes it take an immediate hit in terms of ergonomics, and the language is less pleasant to code in than F# because the IDE is not providing immediate and constant feedback.

On the other hand for systems programming, I can't imagine what C (and even C++) could possibly do better than it except maybe compile times. Despite that, Spiral is also nothing ilke Rust - it does not try to check that pointers are safe. It is rather a extremely expressive static language that has no type annotations anywhere and looks like a dynamically typed functional language.
I wish more math teachers would actually understand this.

The amount of crap I got for using the "wrong way" to calculate something in math class, was probably one of the major reason I never really got into it.

I remember math classes in the beginning actually being fun, I loved figuring out more convenient/to me more logical ways to calculate something, only to be constantly shut down by the teachers for using them, as he/she demanded I use the solution given by the book.

I do understand the value of getting to the same solution in different ways, I even did back then, but teachers didn't frame it like that; their insistence on the book solution just felt like an accusation against me of not understanding, telling me my way of calculating is wrong (even tho they usually proof calculated right) when to me it looked like it was them not understanding, by insisting on that one formalized, and often awkward, solution, and only that.

So as a somewhat rebellious character, it didn't take long for me to start actually despising math classes.

If I could go back I'd probably try to do it differently, I'm in my mid-30's now and consider myself "math illiterate". Sure I can do most basic stuff and even the occasional Pythagorean theorem (which fascinates me to this day, take two knowns to figure out the third unknown!), but I still feel like I missed out on something I could probably really have enjoyed.
The Thai youth football team was rescued from Hollywood but could not sit still
Dont mean to troll. But how choosing for the easiest way to achieve your goal not a choice?
> In a grids all the roads look the same (they have the same size)

Does not have to be true and often is not true. Some places alternate alley (single lane, one way) with neighborhood (one lane each direction) and every ~4 neighborhood streets, have a larger street, either with wider lanes or more lanes.

Grid does not have to mean all streets look the same or be of equal weight.
If you know a city somewhat, organic layouts can tend to channel you toward major squares/circles and other landmarks. London is a good example. On the other hand, it can be fairly easy to get totally turned around. Not that big a deal in an era where everyone has a GPS in their pocket but still.

That said, I'm not sure why someone would find the mostly grid layout of large sections of New York, for example, hard to navigate as a pedestrian. Yes, there are a lot of street crossings but a lot of that is a function of density and you can use the grid to go either up/down or cross-town depending on the lights and traffic. I find it's pretty convenient to more or less know where something is and how far away it is just based on an address/pair of cross-streets.
This is very interesting! I wonder what the chart would look like if the lengths in each direction represented total lengths of streets in that orientation.

Hypothesis for some of the oldest European cities which look like big circles currently - the older parts of the cities which would likely have streets going in all directions are small - so the fat circles would get smaller and we'd start seeing spokes for the newer parts of the cities.
It would be so cool if replica set works with this!!! I'll look into it!
Transition phases actually make sense even if you apply "everything" instead of just "Kubernetes" considering how every company transitions through stages in terms of tooling.

Think being a startup where deployments most likely will be manual and undocumented, upgrading to an initial automation using some scripting, transitioning to CI/CD, etc.

So from various experiences at companies of all sizes I would actually support such a broad claim, since companies are basically transitioning all the time through new phases to greener pastures. That of course assumes that the company values constant improvements and uses an iterative process for growth and change.
1) Factfulness: Ten Reasons We're Wrong About the World--and Why Things Are Better Than You Think by Hans Rosling.

This book really changed my perception of the world and how I look at market dynamics. It's also a Bill Gates must read.

2) High Growth Handbook by Elad Gil

This is supposed to be released next week and looks really good. Some of our investors have been raving about it online.
> Doesn't that very fact prove that there's plenty of room for improvement in recommended lists?

No, this does not automatically follow, there could be other situations that provide the same given but don't lead to that conclusion. For example, the value of lists provided by friends could be a purely emotional one: The items on the list seem better because your friends love them, and you like them more because you can discuss them later.
The HN for marketing would be https://barnacl.es I guess, but there's not that much activity.
> This sounds like an old-wives tail at this point.

Except it's not. I've seen it in person, over and over. I've gone into systems where people were complaining about the 'database is slow', but there were no indexes. I've seen systems pull back 100s of thousands of records and then sort on app server and take the first 50. I've seen what would have been a simple join with exists clause turned into many round trips to the db with loops and app code complexities where a query would have 100x easier to reason about.

It's not even about optimization yet, but taking the time to learn even the surface capabilities of the tool.
Why has Elon Musk recently started acting in a belligerent manner on Twitter?
That’s not waterfall. Waterfall you don’t start dev before specs are final.

Waterfall isn’t just a synonym for “the wrong way to do it” :-)
it goes beyond the displayed icon certainly, but definitely not to the physical extent of the whole bar, for at least mine and another that I've tried.

There's at least 2-3mm of dead space on the LHS of the bar.
Given how much hype blockchain projects attract, I'd dare say that it's about time we had distributed and uncensorable crowd funding platforms.
Umm... do you use Github? Docker? Wordpress?
180 degree rotational symmetry happens because almost all roads are bidirectional -- if there's a road pointing north, it's also a road pointing south.

90 degree symmetry seems like a consequence of the road system consisting more of straightness and 90 degree turns, with no other specific angle being common.

https://www.google.com/maps/@-22.9111837,-43.2566471,14z

Rio fits the bill. There's no overarching grid, but if you zoom into any small area, you'll usually find a pattern of rectangular blocks with 90 degree intersections.

As far as I can see, the only viable way out rotational symmetry would be to use concentric 'ring-blocks' either for local areas or for the city as a whole. The rings would cancel themselves out, and the 'spokes' could be places relatively freely.

So... Canberra might have an interesting distribution?

https://www.google.com/maps/place/Canberra+ACT+2601/@-35.288...
Wikipedia [1] says it has been proven in 2017 that no convex pentagons that can tile the plane other than these 15 types exist. I've been wondering if there's a single convex tile that can only tile the plane irregularly, guess not.

[1] https://en.wikipedia.org/wiki/Pentagonal_tiling
We tried it at work, I wanted to like it but it was often slow, some features only sort of work due to the way they are integrated with office 365 and lastly, too much conversation emphasis. Now, at our workplace, for dev related items, basically 'I'm the guy'. I have been in IT for ~ 30 years and try to keep up on most areas. That being said, I have to say I really don't find the conversation thread communication style all that helpful on technical projects. So, teams, slack etc don't seem as handy to me as perhaps others find them. Getting back to teams, one of the primary failings was that the schedule and tasks integration looks ok on the surface, but once you try to use it you quickly run into serious roadblocks. Can't combine project schedules into a global view. Navigation of multiple lanes is tedious as every lane scrolls independantly and the scroll bars helpfully disappear on you etc etc. I filed numerous helpful suggestions but never saw much progress on things that seemed basic requirements. In the end we have put it aside and are using other tools now. Maybe your mileage will be better though.
Sydney would be interesting to add, being a harbour city. With weird stuff like it can take a 10km trip by land to get somewhere just 1km away "as the crow flies"
I use Notepad2 as a direct replacement for Notepad - it's a single binary that's a few hundred Kb in size, supports syntax highlighting (with customisation) for most major languages, regex search and replace, rectangular select, coding-friendly text tools (change case, toggle comments, indenting etc), code folding, and handles different encodings and line endings.

If I need anything more then I'll use VS Code, but for single file viewing and editing it's perfect for me.
Coming from a 2012 rMBP (from which this post is being typed out), the ability to double RAM/HDD by myself would be probably the end-all be-all
Like a lot of automated things, navigation apps are pretty much designed for the 95% case. Especially somewhere like a city, they fall down on the lack of instructions like "You want to be getting over into the right hand lane soon. You'll be making a turn up at $LANDMARK in a couple of minutes." Or, in London, which of the 5 streets coming off the circle do you want to be taking exactly?
Avoiding Conflation of Political Speech and Hate Speech
> It actually IS quite hard to imagine solid engineers finding it hard to learn simple SQL.

I used to think this because I learned SQL right along with all my other coding. I've realized though it is a mindset shift to go from imperative to declarative, and to think mostly in set operations. That shift can be hard for otherwise good developers.
Yeah it had a caper headline.
Behind the Standard Gauge Railway Walls
Walmart patents tech that would allow it to eavesdrop on cashiers
You're no more expected to carry around the eGPU than the two external monitors that many developers have.
That does sound like a very cool work flow.
With size often comes excessive automation, which could be the cause: something being flagged by an algorithm and dealt with by another algorithm before a human can actually see what's happening.
Microsoft Whiteboard is now generally available for Windows
Yeah, I'd say that's "Logitech's crayon", not Apple's. Unless Apple claims ownership.

Mods might want to update the title.
JustForFunc, good videos for golang beginners
The way many things relating to infinity in math are described is something like this:

You get to pick a size of tile. You can pick whatever you want, totally independently. 700x700, 1000000x1000000, whatever, it's fine.

If I can describe a mapping for that arbitrary size tile, then I'm able to map an "infinitely" large plane. That even as we approach infinity, no matter the size of the finite plane, I can make an arrangement of tiles that fully covers the plane, means I've "infinitely" mapped the plane. (In some cases where there's uncertainty you might say something more like we've shown that the limit as plane size approaches infinity is mappable.)