skysight-inc/HackerNews huggingface dataset:
> Can you elaborate on why you feel AutoLayout support is needed?

That's simply how most apps are designed these days, since it makes it easy to support the ever-growing list of device sizes that iOS apps need to support.

> If Boden had a layout system of comparable power, would that solve this issue?

Sure, but you might need to keep in mind that iOS developers are used to using AutoLayout and need to learn how to do things in your new layout system.
Given that the thought of the Netherlands conjures images of happy families in bakfiets {and jealousy on my part) I was startled to learn their per capita greenhouse gas emissions are among the worst in the EU.
The color scheme seems pretty similar to that of the tor logo so I think this is a "call to arms" and is a pro - host your own tor nodes - message.
'We are last generation that can stop climate change' –UN Summit
This. Just see the "Yellow Vests" riots in France because of the tax raise on fuel.
Ask HN: Ex software developers/engineers, what do you do now?
I'll keep what you've said in mind when I next get to travel. Thanks for sharing your thoughts!
Perhaps a stupid question, but what language isn't data oriented?
My favourite Steve Martin film :)
If you're not getting a written contract you're not working in the industry, you're the victim of a fraud.
> I think I have some lasting trauma for the year I was on call.

I can relate, I get big anxiety rush anytime my phone rings ever since.
I like Haskell more than Clojure, but I don't know much about lenses and traversals myself either.

The reason I came to like Haskell is that they tend to ground things in (type/category) theory, which gives you extremely strong foundation (the downside is that sometimes things get so abstract that it's really tough to understand them).

I don't disapprove the Clojure (and Lisp) approach of experimentation with new features, rather than trying to figure out the theory, but it can lead to unforeseen problems where you make design mistakes that are not obvious at the first sight.

A good example is a recent discussion https://news.ycombinator.com/item?id=18565826 about Maybe. There are several good arguments in the thread against the union types, which are very easy to miss at first glance.

So, I would recommend you dive into the theory of Lenses and Traversals, to see if you can avoid some mistakes you're perhaps doing (AFAIK there are several different definitions of lens in Haskell). As they say, a month in the lab can save you an afternoon in the library. Although I agree that lab is much more fun!
I find it odd too. I was in a crowded art gallery recently and grew increasingly angry at the number of people who were either taking selfies next to the paintings or standing as close as possible to get pictures of the paintings... without actually looking at the paintings directly at all.

The occasional "I was here" picture is fine, but why even go to a gallery to just to prove that you were there? It's way beyond simple vanity.
heh agreed, but "a forgetful, prettified IRC" translated into normie-speak pre-Slack was "a forgetful, prettified what? Can you email me a link about it?" :)
Fair enough, uBlock Origin advertises itself as following (from the github page):

uBlock Origin is NOT an "ad blocker": it is a wide-spectrum blocker -- which happens to be able to function as a mere "ad blocker". The default behavior of uBlock Origin when newly installed is to block ads, trackers and malware sites -- through EasyList, EasyPrivacy, Peter Lowe’s ad/tracking/malware servers, various lists of malware sites, and uBlock Origin's own filter lists.

However, I assume that most people still use it mainly for blocking ads. And for that it is excellent.
Criticising inherited wealth is justified, it is a major driver of inequality and bad for capitalism.
I'm not talking about the families that invest in businesses and build functioning businesses. The degree of hereditary land banking and hoarding of land assets is a real drain on society and an inefficient use of capital.
There is no great social benefit to society in this practice and it's morally unjustifiable to allow a certain class of land owners to enrich themselves.
I don't care if your great uncle was a duke, a business magnate or a large farmer, it's 2018 and you are not entitled to live solely on the rent of others!
Git process that works – say no to GitFlow
Tourist Nepal Visit
How to Write a Good Software Design Document
because there's no username and passwords for paywalls...
"The beginners guide" is another good one.
Using FreeRTOS in small embedded systems
Was the Amiga a British phenomenon or was it Stateside too?
That's a charming degree of trust you have in our intelligence services to be acting in your interests.

Their track record doesn't support it very well though, unless your interests happen to align with the economic elite and social conservatives.
"ABCDEFGHIJKLMNOPQRSTUVWXYZ, it's the most amazing word I've ever seen" -- Big Bird
I see it was upstream at Bo'ness where the gap is narrower - I always imagined it being miles and miles, heading from Edinburgh northward. Less amazing, but still pretty cool.
"Only" implies necessary but not sufficient here.
> You can think of the solid sphere as an infinite stack of concentric infinitely thin hollow spheres.

This is dangerous logic. For example a similar argument might lead you to think that a staircase in 2d between two points would have the same length as the Pythagorean distance between the two points, as you can make the steps arbitrarily small.
> don't blindly apply settings from this list

I am not a security expert, but I tend to agree with this. I took a look at the script and noticed a few of the things you pointed out, and I have had horrible experiences running random scripts I found on Github before from claimed-to-be "experts", so I'll stick with the defaults (and UBlock).
The design of the website and of these wallpapers communicates this: we're better because we're free, who cares about the looks.

I do appreciate the GNU tools and whatnot, but it is hard to "convert" everyday users with the moral argument.
> Unix licensing costs maybe?

Unix licensing costs almost definitely.

A/UX was forked from UNIX System V Release 2.2, with "additional features from System V Releases 3 and 4 and BSD versions 4.2 and 4.3". It also had a TCP/IP stack, since before MacTCP (if I recall correctly).

I don't have any direct knowledge of Apple's licensing issues with AT&T, but I worked for SCO in the early 90s, back when it was a UNIX OEM, not a litigation zombie.

AT&T licensing fees for UNIX back in the late 80s/early 90s were fiendish; that's the whole reason for the ascendancy of Linux today. (Linus couldn't afford his own Intel UNIX shrinkwrap, so he began rolling his own kernel.) I heard a ballpark figure that SCO paid out $200 in royalties every time they sold a copy of Open Desktop 3.0, which included royalties on SVR3.2, a third-party TCP/IP stack, X11 (which was free), and OSF Motif (which wasn't) and IXI's X Desktop (the desktop and utility apps build with Motif/X11). This drove the price of a copy of ODT 3 up to the $1000-2000 mark depending on trim. SCO also paid royalties to Microsoft every time we sold the developer tools, because SCO had inherited the MS C compiler by way of their Xenix license in the late 80s, and SCO SVR3.2 was built using MS C.

The AU/X "additional" features from SVR 3 and SVR 4 was probably the result of a similar process to SCO's cloning of SVR4 features in the early 90s. SCO's UNIX license only covered SVR3.2. AT&T jacked their license prices for SVR 4 so much that going to true SRV 4 would have drastically raised the price of Open Desktop. It worked out cheaper to assign a couple of hundred developers to work for 3-4 years at cloning SVR 4.3 (needed to hit the standards compliance checkboxes required by customers), while keeping the AT&T SVR3.2 copyright declarations in the header files (and on the box).

My guess would be that Apple hit the same wall that SCO hit after 1995; AT&T licenses were too expensive and cloning features and bolting them on top of an ancient code base was also becoming expensive. (As I remember it, SCO bought a license for SVR 4.3 in the end and switched to that, some time in the mid-to-late 90s, too late to dodge the bullet of Linux gobbling up the Intel/Posix world.)
There's a problem in that it's effectively banned by international treaty as part of the ICAO. I believe people are working on changing this but it will be slow going.
Show HN: Website speed test with charts and performance metrics
I think that if you use the RGB output, you can get 640x480 at 60 or 70Hz.
Income tax is stupid ... we want people to work. Why discourage it?
>I think you aren't buying very good math books then.

Just to follow up. A comment[0] on the book `Discrete Mathematics and Its Applications by Kenneth H. Rosen`

`I'm convinced that math gurus are incapable of teaching math.

Whenever I encounter math textbooks like this one, I'm reminded of Underpants Gnomes on South Park. For the unwashed: Underpants Gnomes stole underwear from the residents of South Park hoping that they'd profit from the thefts, but although their business plan included a Phase 1 ("Steal underwear") and a Phase 3 ("Make a profit"), Phase 2—the connective tissue—was just "?".

Rosen and others like him fail to grasp how much "?" connective tissue they're leaving out when they "teach" math. He'll describe a math concept using almost-but-not-quite human language, then—oh, there's always a "then" with these books—the math gymnastics begin. Math teachers can't resist the gymnastics, can they? No, they really can't. At some point they lose their ability to see how much they assume other people know, and when that happens they cease being effective at teaching. This describes almost every math teacher I've had, and it definitely describes almost every math textbook that I've read. Rosen's book isn't the worst math textbook that I've read, but it's still pretty awful.

Seriously, corner cases and extreme mind-bending problems don't help people learn math; giving students time to grasp concepts before baffling them with bullshit does. This is why math schools like Khan Academy are amazing and college/university level math courses are not. This stuff can be taught, but not like this.`

I strongly agree with this argument. I had this book in my undergrad and I felt barely learning anything and just kept getting drowned in the way the content was written. I switched to a different text in a few weeks and it became an easy subject. The difference was more intuitive examples and gradual difficulty in exercises and less of the proof is left for the reader as an exercise.

[0] https://www.goodreads.com/book/show/1800803.Discrete_Mathema...
What comes after serverless?
React.christmas: 24 React articles in 24 days
They paid tax on the money they earned, they worked for it. This one time payment doesn't absolve their heirs from receiving the money in perpetuity without paying a single penny of tax on the same money in the future.

People get high and might and see it as some sort of double tax, inheritance tax is the price heirs pay for receiving money they didn't earn through their own means.

I'm not saying every penny should be taxed, sure have a threshold.However if you are 35 with no great skills and just waiting for a grand-parent to pass and inherit $/€/£3m. With the sole aim of buying 5-10 apartments and living off punitive rent you charge others who don't have rich grandparents, then you should be taxed to the hilt.
The bodywork of those buses is built by Alexander Dennis, based in Scotland.
I have my original A600 (1993) and C64 (1986) — great hardware that captured the imagination of a young kid. I still have fond memories, fooling around and coding games (my parents were too cheap to buy me more than a few retail games)
TAWS – The Amiga Workbench Simulation
Yes it is. My favorite anecdote about it is that the province of Ontario is big enough to have vineyards in the south and polar bears in the north.
Heroin is the kind of strength where a practised addict can probably eyeball it and get more or less the effect they're looking for.

Fentanyl is the kind of strength where a difference in dose the size of a grain of salt could be the difference between life and death.
That's the million dollar question.
US needs to follow with a class action
How is it going? FOr advent 2018 I use scheme but after 4 stars I think that kdb+/q actually quite suitable for such kind of tasks (at least so far). I'm not very good at it but now I'm thinking about trying to redo the exercises in it.
We had an electric bus in my city for testing purposes made by Yutong (another Chinese company), and it really looked like plastic: https://www.ville-rail-transports.com/wp-content/uploads/Cap...

I have no idea why it was not retained for further tests, and I never tried it.
> we should sue people less frequently. Until that happens, you won't find companies being more willing to fire people

No, you could also find this if the legal system stopped encouraging meritless suits.

Suing would be less frequent then, but as an effect, not a cause.
My code is barely coupled with any server engine. My code is just agnostic. Everything is a function. Then I put some wrapper to connect my function to express API or sockets. My code probably is not aware is running on the client or server, nor should be aware of that.

For me works amazingly. I couldn't see myself using anything else on server.

It's not hard to pick up a new language, but changing every 5 minutes it is, especially when you create a new feature.

I think I have 75% of the code shared between client and server side. Again, I can't see myself duplicating so much code and testing it.

I use typescript by the way, so it's pretty good imo.

Just think of all the utils that are shared between client and server side.

Of course I'm talking about web applications with streaming data, not simple webpages.

In a project before we had some functionally that was done on the client side, then somebody decided to move on the server side. Has to be written again in Java from scratch. It's doable, but it's more expensive.
So its interesting to think what will happen when they turn their gaze outwards. How long will it take Chinese brands to be a force to be reckoned with?

Yes they might be sniffed at to start with, but that's only the same as Japanese cars in the 60s, Skoda in the 90s and most recently Kia, but other manufacturers won't be able to get away with calling them cheap tat for long (assuming they aren't).

I assume there are more barriers to entry compared to other industries. I know Europe slaps duties on imported cars but Japan worked around that.

We're all looking at Tesla to bring electric cars to the masses. Should we be looking at China instead?
The meaning of data oriented in this context is that it's idiomatic for functions to receive and return plain data (primitives like map, list). In most languages it's idiomatic to receive and return mostly your own defined classes.
I've had more luck with the shock-effect of starting conversations like that with "you know, we didn't have Youtube back then" or similar.

The first time I did, my sons retort was to ask if we had electricity.
The city is very concentric, with a lot of corporate jobs in the docklands and state jobs central.
We had a half baked attempt at decentralisation in the past, but it was a mess and only lead to incredible waste. Sadly the remote work opportunities are the oddity, rather than the norm, especially for govt. jobs.
The blocker's effectiveness is only as good as its blocklists.

uBO, however, is the most efficient blocker out there. And it comes with some of the best default blocklists for blocking ads and trackers.
>to me, separating out that function is a good thing

To us, too, and that's exactly the point of Hooks. They let you extract logic into functions in a way that wasn't possible before. I suggest to read more than a single page -- in particular, extracting custom Hooks is largely the point of the proposal.

https://reactjs.org/docs/hooks-custom.html

I also wrote about this here:

https://medium.com/@dan_abramov/making-sense-of-react-hooks-...
He’s Built an Empire, with Detained Migrant Children as the Bricks
12 Effective ECommerce Marketing Strategies You Need to Implement Today
the fact that it's free software is in fact the core of the message, so I think the design correctly conveys it succesfully
> I didn’t know this for years. Please don’t turn this into an interview question. In fact, this post is more about JavaScript than it is about React.

Well, I think how prototype works is much more important than using React.

I think having an interview in JS without knowing prototype is like having an Java interview without knowing polymorphism, abstract class, interface or something.
Not sure the exact nuances that go into “generalizable” but please consider:

To go from a radius to a circle, you can rotate a radius 360deg. To go from a circle to a sphere, you can rotate a circle on its axis 360deg.

This sort of “take a shape and move it” to produce an N+1 dimensional shape is definable using calculus.
Holy cow, these are hideous. Then again, the website itself isn't exactly a Renoir.
You are saying that income tax in discouraging people to work, do you have any evidence of this?
Opened to post this. The text is cut off and wont scroll, why do sites break such basic stuff in this day and age arghh
When I picture a black cab I don’t picture it actually moving, their traditional role is surely to line the streets or sit in traffic with the engine running, decorating the air with particulates.
> City sponsored interest clubs

There you go. https://en.wikipedia.org/wiki/Palace_of_Culture

Unsurprising, socialist governments put a lot of effort on socializing people.

OTOH the US private transportation, education, housing is preferred to public one and that has social effects. Also gated communities, single-family houses, gentrification, and so on. The word "exclusive", used in real estate, is telling.

All of this is meant to allow people that belong to the same social circles/companies/church to socialize and prevent mingling with people from other walks of life.
I just created an account to thank you for making this game. I have been looking for a game just like this after reaching all the limits in Airport Tycoon ages ago.

And I mean literal limits. That game had a bug where flights were limited by an internal variable that was smaller than the capacity you could build so after a while the game would just stop and you would be unable to get any more use out of your airport. You could easily test this by cancelling one contract which would immediately make a new offer pop up.

Anyway your game looks just the thing I've been looking for since that old early 2000s game. I'll be throwing some money your way for sure.
Ok, thanks for the explanation, but I don't see why languages where you use more heavy machinery to define and check the types of your data would be less "data oriented" than languages where you use mostly primitives.
Edinburgh invested in electric and hybrid buses, but they turned out not to have enough power for some of the steeper routes.

London is planning to have "Europe's largest electric bus fleet" next year .. of 240 buses? https://www.london.gov.uk/press-releases/mayoral/london-to-h...

I'm not sure where Shenzen would manage to run 16,000 buses given that London's TFL only have 8,500. The streets must be absolutely full of them.
The bones of excessively inquisitive natives.
Used this before, but its wildly inaccurate.
I've been in Shenzhen since 2009. They had electric buses here back then. I'm pretty certain I saw my first electric taxi over five years ago. Now, they are common. The ROW is behind China in several areas like this.
Progressive income tax retains the property that the higher your salary is, the more you take home
It doesn't communicate very well. All this website says is: you don't pay anything, so you're getting a sh__tty quality. Plus you have no right to want anything more.

There are tons of good free high quality wallpapers on deviantart.com, and for those that aren't "free as in freedom", I think it's up to negotiation with the author of a particular wallpaper. Some of them will probably be delighted to be selected by gnu.org to be the producer of GNU-approved art.
Well, there was also post-slavery forms of indentured servitude, no labour laws (i.e. shoot strikers), no worker protections, no social security, barely such a thing as healthcare.

And no pesky female or non-landed male voters ...

So if you're in the capital class, it must have been a 'golden time', yes!
> Let's consider hydrogen cars are the next big thing.

.. let's not? Where are you getting the hydrogen, and how are you transporting it in the car?
I've been using Koa for a couple of years now. It is a lot better than express in terms of middleware layout and the API.
Fully aware that it is unsustainable. Being a small team, we chose to maximize the time between on call stints. We will revisit the decision early next year.

We're hiring people with on call being something that is part of the position they are taking.

As for the other teams, we're working on the politics to get them to support there systems, and looking at alternatives to using them if they don't.
The UK has the Air Passenger Duty. Which is kind of similar (you are charged more for flying a farther distance). So there are ways of structuring it legally.
5 Reasons why I stopped using snapshot testing with Jest
They're naive, non-professional, obviously from a different time, not too distracting and there's a strange proportion of people who can't help but point out that they don't like it. What else could you want?

To go off on a parallel topic for a bit, I haven't used a desktop or a wallpaper for some years now and it's great. Both are a bad idea. The desktop is a magnet for sloppy organization. You'd be surprised just how much more organized and productive file system and shortcut usage gets if you turn off desktop icons. And a wallpaper is just distracting. I've never found a wallpaper that I didn't want to change after a while. I even tried minimal gradients. What ended up working perfect, as in I'll likely never change it, is a solid black wallpaper.

Concerning not using a wallpaper, functional benefits aside, someone might think that this would take away the bling of an expensive laptop, but that's exactly what I find appealing about it. This way you're treating the device, not as a status or fashion statement, but as a functional tool.
Bill Cosby on the cover, ah, the good times..
I grant that there's a lack of electric buses and trucks in western countries but how is a taxi different from a normal car? Build electric cars and you can have electric taxis?

There are counter examples though. The Deutsche Post, the german postal service, wanted to electrify their fleet and bought the company StreetScooter GmbH [0] because there were no other eletric vans available to replace their VW Caddys. They scaled up the production to 10000 vans a year in 2017 and a second factory producing another 10000 vans per year should begin operations in 2018. They are pretty common in cities and surrounding areas now but less so in rural areas as they lack the necessary range.

Demand seems to exceed production at the moment, as far as I know they have quite a number of other potential buyers for these cars.

[0] https://en.wikipedia.org/wiki/StreetScooter
I've been having a lot of cosmetic filtering issues with UBlock lately, not sure if it's an issue with the lists or with UBO itself.

Sites that load but stay "blank" until you disable filtering
Good luck with that in a one-party state.
> the vehicles are generally of low quality and little effort put in, some look like ugly plastic toys, no real technology edge across-the-board.

Who cares, if they're not pumping out CO2?

If the price of avoiding ecological catastrophe is we all have to drive ugly electric cars for 25 years, any sane society should be thrilled with that compromise.