skysight-inc/HackerNews huggingface dataset:
I have never implemented a custom layout in JS because the browser's layout is slow. My JS-based layouts are always slower than using CSS.

I do layout in JS because the existing layout capabilities don't cover my use cases. I create complicated visualisations in SVG, and SVG's layout capabilities are so pathetically anaemic that I have no choice but to take over and use a mixture of D3 and custom JS to arrange things.

Similarly, I don't do synchronous layouts because I'm a moron who doesn't understand performance, but because I need to measure the size of various data-bound elements and feed those dimensions back into my custom multi-pass layout algorithm.

AFAIK, Houdini is an actual attempt to solve both of these problems: It will let run my custom layout algorithm in a worklet, and give it access to the font metrics and element sizes it needs to run efficiently.

The Houdini people seem to be the only web platform people who actually "get it" with respect to these kind of problems. Everyone else seems to be either ignorant or dismissive that these problems even exist.
Ineos buys Dong Energy's oil and gas business in £1bn deal
Well if its outsourced is it really a single person company?
Which is wildly unrealistic of course. There’s no material that can take the tension such springs would have to cope with. Lots of SF books ask you to take one or two impossible things as givens in order to tell the story of course, but this one pushed things a little far for me.

The repeated "lets rape the sex bot again" scenes didn't help either. Funny how when she gets her revenge, that’s not described at all, just the aftermath. But we get page after page of lascivious detail on her abuse. Frankly, it left a really bad taste & I didn’t want to read anything by the author in question ever again.
Mark Zuckerberg will be our downfall
Portland train stabbing
Ask HN: Moving to Front End Engineering after 10 years in back end, worth it?
Have been working with Java, Scala and Ruby backend with some front end experience (Basic JS, HTML CSS). I now have an opportunity to work in depth on front end engineering.

The front end landscape has always seemed quite messy and fragmented to me, and honestly a bit scary too. I am fine with taking the leap of faith, but wanted HN community's opinion on whether it would be an enlightening experience. Is there something like "too late to move to front end"?
> For sequential languages there is probably not much to improve -- except at the edges. ML nailed it.

And that's the problem right there. There is sooo much that is out of whack with programming, even sequential.

For starters look up 'architectural mismatch'.
But can't you just do some "tree shaking" with something like Rollup, so it only sends the code you use?
Wow, you just described my problem 100% accurately.

So, what do we do?!
Actually poor people reproduce more.
Front-end is fast moving indeed. I don't have any definitive answers for you, other than to say that in the front-end vs. back-end equation, front-end is lot less stable and is going to require more time keeping up with new developments.
I've always loved this.

A little known fact about it is one of his replies is this:

we're in a similar space -- http://www.getdropbox.com (and part of the yc summer 07 program) basically, sync and backup done right (but for windows and os x). i had the same frustrations as you with existing solutions.

let me know if it's something you're interested in, or if you want to chat about it sometime.

drew (at getdropbox.com)

https://news.ycombinator.com/item?id=35103
Snap Updates are getting smaller, here's why
I doubt, that there ever was such a man.

For example knowing about plants and animals. We as whole humanity are still far from knowing them all on the earth, so how could somebody from history knew them all?

And even if you only count "everything" as the whole current knowledge of humanity, then also no, as there are for example tribes in the jungle who know about plants or hunting technics the genius in europe never heard of.
Enlightenment 0.21.8 released
The defence in depth concept makes sense. The good news is that if I understand correctly, security groups fail closed - so that makes things a little safer.

Just spoke to an AWS Architect, and the points made were similar - more secure default state, less chance of screwing up - ham fisted attempts at security groups can open things up too much, private subnets are tough to expose unintentionally, adding multiple security groups makes the rules less restrictive, possibly in unintended ways, etc.
Show HN: Crawl your all merged pull requests and show on README.md
Also, if iOS, Night Shift: https://support.apple.com/en-us/HT207570

Almost everything else, Flux: https://justgetflux.com/
Turn Sketch files into Prototypes (without leaving Sketch)
> It eventually stills the mind and will help you

I does still the mind, but I have a problem that it makes me even more awake. A couple of times I tried that I ended up going back to my laptop and working through the night because I felt like I gained so much energy.
Monero Cloud Mining
I do remember that being a huge pain in the back, as in:

- You have to maintain a full list of your files, in order, to include them in your html page (in dev mode) and concat (for prod mode)

- If you want to know on what other module a given module depends on, you have to hunt every call in the source code

- You can never remove a dependency on an external lib as you can never be sure it's not used somewhere

- Upgrading a lib was a pain

Compared to every other language, it was a huge pain point. It's not by chance that so many people started to work on implementing modules for JS, there was a real need.
Eg, the processor in the BBC MicroBit pulls about 10mA @ 2.5V or so. Of course, it only runs at 32MHz or so & has a whopping 16kbit of RAM, but you can run one off a pair of AA batteries for a week or two without ever sleeping.
If you are on mac, you should check 'f.lux'. It will adjust the colors of the screen automatically to minify the effects of blue light.
> its "real" bounding box

The terminology is axis aligned bounding box (or AABB).
Four years of OCaml in production (2015)
I have tried kopi luwak and IMHO it taste bad, I couldn't finish it.
I think there is one more expensive than that one and it is the Black Ivory, collected from elephants waste [1]. But after been disappointed by the kopi luwak I am not interested in expensive coffee, give me a cheap colombian like Juan Valdez, or some organic colombian.

[1]. https://en.m.wikipedia.org/wiki/Black_Ivory_Coffee
What will the Elephant think about that?
This looks great and nicely built. Once you've created something like this how do you start getting traffic? My assumption is you also need to market it somehow but the specifics of how to do that always eluded me.

Any suggestions or strategies you could share?
It can also be the number of threads about bitcoin (or cryptocurrency) on Hacker news being upvoted to the top 10/20?

I was there when the last time bitcoin reached record highs. Surely the USD conversion rates play a large part when suddenly people get interested in block chain or bitcoin at all.

Other metrics can be the glut of "altcoins" with very high "genesis block" or ICO rates.
How does that work? Never heard of traffic arbitrage before.
Tallest Lego building with 4 pieces?
Does that mean that neonicotinoids are now confirmed to be a major factor contributing to the bee colony collapse?
As if almost anything written about events in history is not propaganda. There is barely any complete truth. English Wikipedia in general just spews same thing western historians words, others do the same to fit their agenda. History is a joke.
Oops, it turns out I somehow ended up with decompressed files, that's why the filesizes are so far off. I'm creating a new fixed dump.
Live with the choices you've made and get enough sleep. You can't do everything the world has to offer.
Oh, thanks! TIL.
You can only do so _thanks to_ the new module system. From the Rollup website [1]:

> Since this approach is based on explicit import and export statements, it is vastly more effective than simply running an automated minifier to detect unused variables in the compiled output code.

[1] https://rollupjs.org/#tree-shaking
I've been using JS lightly for a couple of years, in earnest for a couple of months. From the perspective of someone who's comfortable in C, Lisp, Python I think the semantics are fine (given a certain subset).

One major issue I have with JS is that the standard library is severely lacking in the basics. We have Promises but Math.round only rounds to the nearest integer. We have generators but no string formatting (the template syntax is not a replacement).
Eh. I hire developers overseas on the regular. Senior devs, or people who can pass for one, are making ~$30/USD/hour regardless of location if they have conversational level english skills. Yes, having skills I want as an employer is important. There's no free lunch.

Let's assume their fill rate is only 50% of their total time. That's still ~$32k USD / year. This is great money even in a developed country like Russia where the median income is ~$5k/USD/year.
That is kinda the point.
5 celulares intermediários com leitor de impressões digitais a partir de R$ 999
Very likely. So?
That is a clear sign that you're overworking your brain.
And then use it in a desalination plant to make freshwater again?
This is True, but just for genetating and selling electricity on a market. By contrast, Cycling or taking stairs can still make great economic sense, or even much better sense, than driving, when deciding to produce or purchase energy.
Actually academia is not necessary dependent on Government. Universities can be private or privately funded and still do basic scientific research.

You can read an old piece on the issue from Murray Rothbard:

https://mises.org/library/science-technology-and-government-...
Show HN: Resized Unsplash Photos for Websites [All Responsive]
I have built this tool, https://allresponsive.com over Unsplash.com production API, so everything that you get with allresponsive.com is also available through Unsplash API.

The prime motivation behind this project was that whenever I had to use any background image from unsplash on any new project or client website, I had to:

1. Choose an image from unsplash;
2. Create multiple sizes to use on different devices with CSS media queries (Responsive). Unsplash images are generally more than 5MB in size each.
3. Optimize Image with an Online compressor, or Fireworks.

Recently Unsplash opened their unrestricted API, that made me think to build a tool over it to automate the resize and compression work. So, here it is.

To use this, you can either explore the live collection on this site, or if you have an Unsplash image that you want to compress or get its sizes, just do the following:

from unsplash image page:
https://unsplash.com/photos/XvBusK61gIc

just change the domain name
https://allresponsive.com/photos/XvBusK61gIc

I will add interface for easy searching if the community likes this tool.
Plotting an escape from the quagmire of equality in Emacs Lisp (2012)
Not to mention that a Tour de France Athlete is consumed during the Tour. You need to accumulate reserves for at least three months in order to last 23 days of effort.
I had a similar idea, but I think it is more accurate to compare creative thinking with Monte Carlo tree search. Setting the exploitation vs exploration ratio higher means you will miss some obvious candidates, but now and then you will find some 'genious' idea.
Also reducing transportation costs is good for the environment. And consumers will like that!
Not a big fan of FB or Zuckerberg, but the article reeks of fear mongering. FB won't be the cause of society's downfall. There are way more powerful factors capable of causing it.
> Each student in the human powered Van Unnik student building is responsible for generating the electricity that’s used in his or her individual room.

No elderly or physically disabled students need apply.
Free Effective Guest Post Website for High-Traffic
Are you wanting to increase your traffic to your blog as well as the website through guest post? Submit your article or guest post on the live blog spot free. http://www.liveblogspot.com/
Heap Exploitation
Again, maybe a concrete example would help?
The color temperature of a phone backlight and ordinary household lighting are fairly different
But the game plays further in my head even after I shutdown the computer or write down the last note. I often find myself above a piece of paper that I wanted to scribble on, but my mind jumped and run around much faster than I could even start to write anything.
Not sure this is new, there are trials running in The Netherlands ( afsluitdijk )
Simple metadata indexing into object store
Pff, "modern society". Most hunting populations have been calculated to yield 10kcals of food for every 1kcal of expenditure --- our fancy modern fuels OTOH result in more like 1kcal food yield per (non-edible of course) 10kcal expenditure. Not exact figures of course but the difference is that profound. "Human power" thus "wins", then --- but not to "run modern society", of course.
Check out – Grovio – instant green thumb
What part of Facebook? I know the search page on Facebook mobile web version uses React. But what else? It's not like every Facebook page uses React, most pages are still the PHP rendered legacy stuff, that is around for many years.
Not it can't. Because governments can refuse to honor the documents and they can also refuse to honor the blockchain proof too.
Sure like on paper, block chain will show he owns the house but without an approving authority no one cares.

As it is stated in one of the earlier comments, block chain is good for digital currency only.
It depends on what exactly those 20 lines contained, but it does sound a little exaggerated to me --- perhaps 3 days to actually develop that program (including learning about the machine and its architecture) seems more reasonable.

The first microcomputers in the 70s also require bootstrapping from manually entering code, and it usually didn't take days to do that: http://oldcomputers.net/altair-8800.html

(I was going to make a joke about APL, but then realised this was before its invention...)
A recent TED I watched linked sleep deprivation with the speed one can develop Alzheimer

https://www.ted.com/talks/lisa_genova_what_you_can_do_to_pre...
I don't claim ownership of any ideas, but find the overall public advancement (or arguable lack thereof) in the cryptocurrency arena pretty interesting. My interpretation of the older paper in question is that it is some kind of hard-coded Bitcoin blockchain/sidechain centric multi-asset balance based reputation system: To keep this project realistic, the focus will be on re-using existing code, to support only Bitcoin-Multichain trading, only use a single market maker, and offer no anonymity or DDoS protection.

Frankly this sounds like a pretty toy / naive implementation of multi-asset / multi-settlement-system reasoning given the year of publication. However, it's still great to see people pushing in this direction, and I certainly don't mean to dissuade anyone.
This shows how important it is, that the whole Go runtime is written in Go - you can see how things are implemented and also use all constructs in your code.
Introducing Kubic
That's for sure a minus, even if you speak the language. You are restricted to a smaller subset of developers that can improve the ecosystem (and let's be frank that most good developers should know English but not Chinese, internationally speaking).
Or simplify the H2-A (temporary agricultural worker) visa process.
Damn them LIBRULS!

Never mind that actual healthcare costs are more expensive than in other countries on a pill by pill and procedure by procedure basis.

Healthcare cost in the United States isn't about liberal or conservative or progressive or whatever label. Get over your tribal blame game.

https://www.washingtonpost.com/blogs/ezra-klein/post/why-an-...

https://www.washingtonpost.com/news/wonk/wp/2013/03/26/21-gr...

http://www.pbs.org/newshour/rundown/health-costs-how-the-us-...
Agree... there's a good argument to be made that the "right" primitive looks more like crypto_box than AES anything and I agree with that too. Sometimes you want things a bit more low level (i.e, that don't dictate s11n) though.
Introducing Cortex-A75, Cortex-A55 and Mali-G72
Infrastructure Project Management Solutions
> This kind of graciousness in warfare does not seem to exist in modern times. Weird, considering how brutal war in those times looks compared with today.

Well, there was a ton of brutality then as well. Probably even much worse than today.
One of the more thought-provoking articles I've read in a long time.

If you think they're dreaming, I suggest reading it nor for engineering detail, but to try out their perspective. Most people would answer 'no,' leave it at that, and not reach some interesting perspectives they did.

Not that it goes into engineering detail, but for the creativity, thoughtfulness, and, most importantly, change in perspective from the predominant views of: we must produce more power! ... we must not change our way of looking at things!

I use my rowing machine regularly, which creates resistance through a fan and wind resistance. If it used a generator, I could power most of my apartment's electrical needs. Maybe not my refrigerator, which I shouldn't use when it's cold outside. Most of my electrical bill is fixed costs and taxes, not my electrical use, so a little less power and I could drop my contract. Articles like this one get me thinking that way.

If you keep extending how little you can use and what the world would be like if we had to work for our power instead of lazily flicking a switch and not caring about externalities, it's very interesting. Not to mention what it would do to our declining physical fitness, growing obesity, increasing disconnect from nature, and probably mental fitness too.

I bought a hand-powered washing machine a while ago and it did the job fine until it broke. Sadly, our culture doesn't promote great solutions that reduce consumption. I'd be happy to wash my clothes under my own power and other things like that if well-built ones were available. I can solve some things myself, but it's a lot easier when solutions are on sale. There are thousands of options for plug-in washing machines and only one or two hand or foot powered.

I'd love to see people engineer solutions that work and endure. This article isn't trying to solve all global power problems, but I bet its authors feel something like Stallman when he started writing GNU utilities, which people probably saw as tilting at windmills. Or even Torvalds writing the kernel, though Stallman's platform made his project more plausible to help. By the time people started Wikipedia, they could look back and build on several successful models. Or maybe like Feynman considering how much room there was at the bottom. Contemporaries probably said they were crazy and didn't see the point.

I, for one, support people thinking along these lines and seeing how far they can take us -- beyond engineering solutions to new ways of thinking about ourselves in the context of nature. I bet a lot further than most of us suspect.
I used to be like this. And the problem was, because there was no pattern to my sleep, I found out extremely difficult to sleep, even when I wanted to.

A few things helped me. First, I started logging my sleep. It helped me analyze how much sleep I was really getting. Second, this sounds simplistic, but I first fixed the waking time. Irrespective of the time I sleep, I started waking up at the exact same time everyday. And finally, I stopping using all gadgets at least for 2 hours before my sleep time.

I see a marked improvement in the quality of my sleep these days. Hope you beat your problem too.
> work alone

He (alone?) does the actual "work" that brings in the bread. The other people could be considered contractors. I mean, a single SaaS app developer still doens't "work alone" when you consider that she might be buying services like hosting and/or payment processing.

It's hard to really find the line between alone and not.
Galaxy Note 8 or Galaxy C10: What will be Samsung's first dual camera phone?
Unicode is hard
Node 8: Five New Features You Need to Know
Modern war is methodical. If it's rational to destroy something, it will be destroyed.

Medieval or ancient wars were a bit more emotion driven.
Runscope (https://www.runscope.com/) is a service that does this. The founder, John Sheehan, was an early Twilio employee and he lives and breathes developer APIs.
If the desalination is needed at another place where the power grid extends but water pipes not - might be a useful idea.
if you keep extending how little you can use the answer is obviously yes, but then it isn't modern society. you could.more efficiently harness the sun than growomg plants and eating them then working out anyway, so this whole approach fails to make sense at any level.
>I have yet to find any vim/emacs tool that can do this so easily and effortlessly.

You want cscope integration. Nothing compares to this in terms of ease of navigation - and I say that as a dedicated ST3 user. How to integrate cscope with vim:

http://cscope.sourceforge.net/cscope_vim_tutorial.html
History is not a joke. Just use the scientific approach of comparing and contrasting various sources.
Spectacular aurora australis lights up the southern skies
What about setting a bedtime for yourself? Treat it like other events, meetings, or work. Whether 10, or 11 or whatever time will give you the chance to sleep enough given whatever time you need to get up.

A lot of life org problems are good candidates for solving through scheduling ...
Still has to be confirmed by neonicotinoid manufacturers.
No, this is only when I am going to exercise for an extended period of time, 30min+. I generally consume enough potassium from fruits and vegetables not to need any additional electrolytes in my day-to-day water.

Basically I don't consume sugar or alt-sugars so I make my own version of gatorade.
Not being familiar with the name (though I knew the concept), "afsluitdijk" sounds like what you get when a cat swipes across the middle of your keyboard.
they could do 400 watts for one hour a day indefinitely though.
Have you tried checking out some of these students these days? Have you missed the shortage notes about classical Meister, etc. roles given out the past decade?

Also low wage sector is a few million people (last official numbers are about 8 million people). Compare that to high skilled workers.
Import/export statements vs require() calls?

const x = require;
const m = x('crypto');

Here I'm requiring a module but it's hard to follow for a tool that Crypto is being imported.

The proliferation of class systems in JS before ES6 classes. Building a tool (IDE for example) to support all of them would be a complex problem.

See also interviews with Anders Hejlsberg (e.g. [0]) where he explicitly mentions that TypeScript type system's primary focus is allowing better tooling support for developers (like press dot and see what's there, safe refactorings).

[0]: https://devchat.tv/js-jabber/209-jsj-typescript-with-anders-...
I consider myself one of those short-sleepers. Ever since I was a kid I averaged 5-6h of sleep a day.

While the differences perceived (which can always be misleading) from sleeping 6 or 8 hours weren't noticeable, if I slept 4-5 for a week my short term memory would suffer, reflexes and split second decision making (think fast passed multiplayer shooters) would also suffer.

But what I noticed was that although the split second decision process would come back after a good night sleep, short memory would take me a whole 3-4 days to come back at its finest.

Obviously this is all what I observed and not to be taken seriously, because as we know observing and understanding oneself is one of the hardest tasks out there.

Just my 2c
Fast and Natural Continuous Integration with GitLab CI