skysight-inc/HackerNews huggingface dataset:
Thanks for your reply. Let me clear up some misunderstandings :

I didn't mean to convey I have a "less broad technical background" or haven't kept up with the bleeding edge, quite the opposite : my edge is a better-than-average understanding of the full picture from the kernel/networking layers up, and having seen the systems and development landscape evolve since the 90s. That's how I got the "big name" SRE jobs I suppose.

In dev terms that means I know why and when you'd use Go, NodeJS, Rust or C, or why CQRS and 12Factor matter. What I lack is recent day to day "in the trenches" product development experience on a large software codebase using framework-of-the-day. I am still very much hands on, but in the DevOps space only (Kubernetes ecosystem tools basically), which isn't as immediately useful if someone asks me to prototype a product next week-end.

"Being the adult" was a half-joke and I didn't mean to belittle my younger colleagues, who are awesome at what they do ! But more than a few times, I've seen them going head first into a well-known trap, not knowing what they don't know and undervaluing experience and words of warning, doing hacks their future self will hate them for, or poorly reimplementing something the industry has long had a solution for, thinking they're above that. These are all hallmarks of inexperience and young guy hubris, and it's been frustratingly hard sometimes to articulate to them why they were wrong.

That's what I mean by "missing opportunities to less experienced engineers" : I might have the upper hand when it comes to tech vision and making good long term architecture decisions, but this isn't nearly as immediately useful (or appealing to a business partner) as their ability to actually get dev shit done and code a product prototype over the week-end.

I'm aware of that and would like to remedy it, and this "Ask" is for getting tips from people who may have been in my shoes.

Another way to phrase my question : "I have arguably valuable experience and tech vision, plus current hands-on skills in DevOps, but none of that is as immediately useful in a tech cofounder situation as being able to quickly whip together a front-end + back-end prototype with possibly dirty but working code. Any tips for getting there ?"
Giving the Love That Heals: A Guide for Parents
Biggest problem is that most people use the sort notation while the long notation is supported in IE-11 for flexbox.
I did try to switch from e16 to e17 multiple times (on Gentoo), but I always had to rollback; I never found a bugfree version of e17.

(sometimes in 2018 I had to switch away from e16 (got taken out from Gentoo's main package repo) and I ended up using XFCE. It's a pity that e17 never really worked, at least for me => I wonder if they'll ever publish a really stable version)
> Having grid line 1 come before column 1 makes it feel like the grid lines are substantial and the columns are merely the bounds between grid lines.

Correct. And IIRC the spec doesn't even have columns (they're just referenced to help understanding), just column bounds.
I agree that skeleton system is not very hard to implement. Anecdotally, one of the first CL based apps I wrote were to implement Quake MD5 (.md5mesh and .md5anim) parsers to do skeletal animation.

I think he might be categorising it as hard for the following:
- Defining a simple, easy to navigate data structure with the bone and weight mappings across vertices, to do the math for pose calculation
- Having a highly compressed binary format for animation data, which is definitely hard but required for good FPS
- Doing it on CPU or GPU
Whether Excel writes standard CSV or not depends on the user's locale settings. E.g. with a German locale you get a semicolon (;) as a separator which you can only change system-wide. However, apart from the changed seperator, it's still standard CSV, which still works with Python or SQLite (.separator ; .import foo.csv foo).

A bigger issue is that Excel tends to write large numbers in scientific notation, which is a common issue handling price lists. E.g. it'll turn EAN numbers into 6.2134e+11, losing most of the number. Then you have to go back to the XLS file and change the column type into text and exporting it again as CSV. As this is lossy you can't fix it when receiving such a file.

Something like the SQL Server Import/Export Wizard but being able to write SQLite files would be very handy.
LMAO, Bush, Clinton, Nixon and Trump. They lied A LOT
Driving through Germany and France trying to find the open cafe or restaurant to find at least some food.
Maybe this is a form of NIMBYism? If the issue is primarily housing prices, then it seems the new homeowners start benefiting from the policies they previously suffered from as renters, so it's not hypocrisy, but rather a change of circumstance.

Also, it can be difficult to isolate the will of voters per-issue, given the limited number of representatives on the ballot.
Joyeux Noël, depuis la Suisse romande :)
107: KubeCon Recap, Larry Ellison, China Hacking, Kubernetes Security, and More
Happy holidays HN. I love today's Christmas css.

I thought I'd pop in and post NanaGram one last time, for people who need a last-minute Christmas gift for their grandparents.

NanaGram is a service that lets you send printed photos in the mail by text message. We give you a unique phone number and you can invite siblings/cousins/family to the account to send in photos with you. At the end of the month we automatically mail 4x6 and 4x4 prints on matte or glossy and mail them to your grandparents or parents. It's a sweet gift that keeps on giving all year.

I created this video the other day and posted it to Show HN, which dives into some of the details in the service in less than 3 minutes.
https://www.youtube.com/watch?v=r_J0Uxh1eRU

There's also a shorter video on the website:
https://nanagram.co

If you want to try it, you can go through http://nanagram.co/hn for an extra 10 photos in your first shipment.

Cheers!
In case you get stuck and aren't back further than late 1500's, acquaint yourself with the lineage and changing names of the lawfirm Thomson Snell & Passmore, the oldest continually operating law firm in the world. Write a letter to someone you trust, to be delivered at a specific date in the future, and leave it in the safe keeping of the law firm.

Of course you can't tell yourself not to go back in time, because time loops & paradox etc. So, the instructions should direct a trusted party in the particulars of how to rescue you. After you've setup the necessary details of a financial arrangement to take a small sum of money and enjoy compound interest for a few hundred years and turn it into a fortune by the time you arrive back in your own time.
I think that's a great topic to discuss. Some feedback was already given at https://www.indiehackers.com/forum/the-economics-of-running-...

It also reminds me a great previous discussion here on HN https://news.ycombinator.com/item?id=14616440
At least in the US, I think there continues to be a concept that programming is related to mathematics.

I remember discovering in college that there were languages like Snobol and Lisp that had very little to do with numeric computation. Opened up a world of possibilities.
> the bottom 20-30% of men who are involuntarily single

Is there data to support this percentage?

> Romantic companionship is part of Maslow's Heirarchy for a reason

Maslow doesn't classify it as a requirement, it's a contributing element of the Love/Belonging level but there's plenty of self-actualizing people who don't have an intimate partner.
You’re correct!
thank you very much, several apps are really very useful! Hope there is enough Icloud space in my iPhone to download them
So... Because lists are dynamically typed and heterogeneous, does that mean the underlying C is basically a contiguous segment of memory of python object references? Then in cpython the actual list contents are Python objects sitting on the heap in a non-contiguous manner?

And when the list needs to be resized and doubles itself, it's just doubling the space for object references?
Or btrfs. Good thing I had a spare external hard drive I could dedicate to dropbox storage, because I'm sure not converting my drive array to a different FS just for that.
The issue for me is that both Trump and his followers operate off of belief. In my opinion, belief is the most dangerous force in the universe. It leaves infinite room for manipulation. No amount of evidence can change the mind of someone that just believes and that’s truly terrifying. Sure, Trump may not actually believe everything he claims to but his followers absolutely do and that makes them easy to manipulate and control. When I say “I’ve lost friends to Christian extremism”, I mean that I’ve watched them slowly lose there cognitive abilities and become vantriliquist dolls spewing whatever they hear on Fox News without question. I prefer to talk to people that can have their minds changed based on new evidence. These friends used to be capable of this. This happened when they started identifying themselves as extreme right wing Christians. These used to be decent people but are now entirely consumed by a perceived attack on race and religion. Christianity in itself is not bad but what it enables is: Belief.
So I assume that someone still want to keep it up, however if an ancient core developer, years ago (2015) already depict the project as at a dead end...

IMO it's only a way to keep up something that's needed awaiting for alternatives, do not forget how many reason, many like Andrew Morton and his "rampant layer violation" when he first meed zfs...
Merry Christmas or Happy Holiday everyone!
God's voice as a copilot. Sounds awesome.
This is serendipitous, I just saw a cartridge I had lying around and thought "I should look up how those work, they look interesting." Thanks for this!
I have a small and independent blog, and zero blog comments spam — I think it's related to requiring manual approval of each new persons first few posts. (The comments software is open source, link in my profile)
I enjoy the current rewards scheme with the Uber card, but they must have received a massive amount of cash from Barclays to have chosen them. Their website and even backend processing is abysmal. No other card I use has such a bad user experience.
I went for brevity but you are absolutely right, it's a lot better (and scarier) with that bit left in
Needs a [2013] in the title.
Can't comment on others, but ZFS. I fell in love with FreeBSD + ZFS when I set up a dedicated file server. The ease of use, feature set, integration, and reliability is just lovely. At times, I cannot believe that I'm getting all of it for free from an open source project (Ex-NetApp er, who was amazed by WAFL before touching ZFS).

Having said that, I don't think rebasing to ZoL is a bad idea as long as intentions are right(FreeBSD being considered as equal, and not an after thought. No commit should be allowed if it breaks CI with FreeBSD without exceptions). Having ZFS bridging the Linux and BSD storage realms can be amazing. Also, more open source eyes on a singular OpenZFS project the better.

Here's to a better ZFS future!
I have Git repos that can't be cloned onto encyptfs, so it's not surprising to me. Make an encrypted partition or just encrypt your entire disk.
Filesystem primitives the application requires to deliver the desired functionality.
Telling your base exactly what they want to hear doesn't make you honest.
There were a campaign slogan that he later said during another rally was just bullshit but he said it because it played well. There was a Daily Show where they showed it but I cant find it now but I can find things like this which illustrate the point:
https://www.independent.co.uk/News/world/americas/jared-kush...
Can we replace paper?
"felt as if" and "probably should" are very different than "wasn't allowed". The headline makes it seem like it was policy when it clearly was not. Sounds like there are problems at Uber, but the headline implies something else.
how to keep people engaged

Once this becomes the goal, the game is already up. It doesn't matter whether you use A/B testing, focus groups, or brilliant designers who operate on intuition. By targeting engagement, you're treating your users as a means to an end and falling afoul of the categorical imperative [1]. You're focused not on meeting their needs as users but your own needs as an engagement-driven platform.

The answer to this puzzle is to take engagement right off the table. An ethical business model is one in which you treat your customers as fully autonomous agents. As soon as you look past people's autonomy and see them as creatures of habit with psychological traits that can be gamed, you stray from the ethical path and find yourself searching for other rationalizations.

[1] https://en.wikipedia.org/wiki/Categorical_imperative
It shouldn't have to. Dropbox ran fine on all filesystems for years. In September they sent everybody an email basically saying "you can't use Dropbox anymore, bye bye"
Advice from an Old Programmer
iPhone Owners Irate After iOS Update Bricks Cellular Data
WivSansJs
[JavaScript] Why does {....0} evaluate to {}?
Random trivia: airlines don’t have to weigh your carryon nor count it against performance criteria. Bags that go underneath are weighed and “count” for performance calcs.

Obviously, it affects the airplane either way and there are some safety margins built-in, but the airlines have some reason to push people to maximize use of carry-ons.
No, they are not.
At "best" they are implemented "like" an array of pointers to the objects (scattered somewhere else in the memory) in the list.
If you want an array (in the "c-like" sense of it) you can look at the array module https://docs.python.org/3/library/array.html
What size restrictions are you worried about ?

*Note I work with software that regularly stores terabytes of data in sqlite.
> So... Because lists are dynamically typed and heterogeneous, does that mean the underlying C is basically a contiguous segment of memory of python object references?

Yes. Every Python object is held by the interpreter as a pointer to a PyObject struct on the (C) heap.
$26 million a year. It’s in the article.
Merry Christmas from Israel :o
Ask HN: What are the important life/work lessons you learned in 2018?
Functional Programming: Lazy sequences are not compatible with dynamic scope
If it’s tripled you’ll see Japan rise again
The electric scooter wars of 2018
I have been living in Asia for 8years and I have learned Chinese. Initially because i thought it would help me to thrive professionally in Asia.

I am happy I learned Chinese, however I wished I had done it for the right reasons. i.e to do something intellectually interesting.

Professionally, your time is way better invested in learning a tech skill, developing a business or expanding your network. Those are the thing that you can leverage.

Chinese language abilities? Not so much. Apart from the exaggerated congratulations of chinese speakers after they hear you speaking 2 words of Chinese, it wont provide you much business wise. Remember that if for any position chinese language is important, they will just hire a local, never a foreigner...
If I care to guess, because if you go an abstraction lower you can do your job better. Dropbox actually uses kernel drivers on some platforms (not sure on Linux).

I guess power users are not the target market.
That's why tunneling would probably be a better choice than going overland, certainly cheaper at Japan's costs than California's.
Bonnes fêtes (de Nyon)
XBRL is the format the SEC (security and exchange commission, the government "accountants of last resort" that check publicly traded companies). This means there's regular XBRL files (every quarter) for every large publicly traded US company.

Here's Google's latest: https://abc.xyz/investor/static/documents/xbrl-alphabet-2018...

Please do keep in mind that this is a sort of XML key-value database with a number of keys standardized, and some level of rules defined that say "if a bank lends Volkswagen money and it uses 12% of that money to Google to run ads with a repo clause, you enter add A to value X and B to value Y". In other words, there's rules that define how complex financial data is entered into those standardized values. To find those rules, there's a SEC textbook that you wouldn't wish on your worst enemy, nothing about that in the files themselves.

There's a large directory at the SEC with the quarterly XBRLs for all US publicly traded companies. Used to be accessible over FTP until a little over a year ago.

Here it is: https://www.sec.gov/Archives/edgar/

XBRL files exist for all forms to be filed with the SEC. The ones you probably want are the 10-Q and 10-K ones (q = quarterly, k = no idea, but somehow means yearly)

(of course there's an entire industry of accountants essentially about hacking those rules, and therefore the meaning of those files. So let me give you a free quick 5 year experience in financial analysis: search for "GAAP vs non-GAAP", read 2 articles, decide the conspiracy theorists are less informative than the government, and just believe the SEC is at least trying. That doesn't mean nobody's lying, but GAAP vs non-GAAP is generally not what they're lying about)
Something to search, “Vitamins C megadose”
My wife does these surgeries. I'm not going to ask her for journal citations on Christmas, but paraphrased answers:

1. You use electrodes to interfere with each piece they are are going to resect, and see if it interferes with the task they are having the patient perform. This is a mostly non-destructive way to test before doing something that damages the brain. It is not completely perfect for a bunch of complex reasons, but it works pretty well.

2. It's somewhat more complex than that (especially "the part of the brain that's responsible for that muscle memory"), but the goal is to identify the regions you want to avoid removing before you damage them.

3. "Becoming Hendrix" doesn't happen, but it's common for people to be able to perform the task in question better post-surgery than before. The reason for this is simple: you do these surgeries because the tumor is very close to the region whose function you want to preserve, and it tends to be interfering with the normal operation of that region already due to that proximity (if it wasn't interfering, you would try to delay surgery until it was). Removing the tumor removes that interference.
> Connected politically or not means squat if you build a structure that collapses killing hundreds of people. At least I hope that is the case in any place under rule of law.

I wouldn't count on that. 18 months later there have still been no prosecutions (or even open court cases AFAIK) regarding the Grenfell Tower disaster. It'll most likely be years or decades before that happens.

If it turns out this was caused by someone being negligent, they will continue endangering the lives of other people until that happens.
Lets see how well that theory goes up against recent history.

---

Tesla to build world's biggest battery

https://www.telegraph.co.uk/technology/2017/07/07/tesla-buil...

Tesla mega-battery in Australia activated

https://www.bbc.co.uk/news/world-australia-42190358

---

Hyundai Plans World’s Largest Grid Storage Battery In Korea

https://cleantechnica.com/2017/12/05/hyundai-plans-worlds-la...

Hyundai Electric completes world's largest ESS

http://komec.kr/eng/Board.asp?menucode=0503010000&mode=2&no=...

---

I don't think Korea Zinc or the people of Adelaide are storing their power using public relations. I think, in reality, they had a battery delivered.
This is cool. Thanks for sharing.
The problem with discussing IQ is that people like to focus on the performance of very high IQ individuals where it's predictive power is weakest.

But it's very strong in other areas.

For instance say you have two groups of woodworkers, one group has an average IQ of 90 and another group has an average IQ of 100.

It's a smart bet that the 100 group has more (total) fingers.

"What can we do to help people with 90 IQs live dignified lives?" is a very important question that isn't discussed enough.
My wife went through this about a year ago. They do this because brain cancers are so invasive that you basically want to remove as much brain matter around the tumor as possible with minimal functional deficiency afterwards. This is a tradeoff because it means they would want to take more, but cannot due to the functional impairment. They stimulate the brain with electric probes to find the coherent structures within the brain. This technique is actually quite old, pioneered in Canada over 50 years ago, and proliferated recently at UCSF. It is a miracle to those with benign cancers, but in most cases prolongs life by months not years unfortunately.
A couple of things are unclear from the article (for NYC specifically, and, more generally):

1. Does NYC still lose people after accounting for the effects of international migrant inflows?

2. What are the education levels of the people leaving the city?

3. Are they referring to the city only, or the metro area (which, IIRC, can stretch into Westchester and parts of Jersey)?
Elon Musk never just invests money into other peoples business. If he were to do hyperloop, he would run the engineering himsef - and does he really need another project to drive?

That said, there was some talk about Musk looking into Hyperloop himself in the context of one of the Boring companys projects, so we will see.
Does unification of getter and setter have to be lost?

Assuming you are in a unityped context, hkts are gone, functor is not a thing. so

(a -> f a) -> (s -> f s)

is not meaningful. If we pretend that unityped means everything is parametrically polymorphic, for the purpose of this discussion, can't we leverage parametricity to choose a representation that provides this unification?

for example, if i provide laws that show for a given

lens :: (s -> a, s -> a -> s)

that

(snd lens) s (fst lens $ s) == id s

doesn't that provide the same assurance, even if less elegant and not typechecked (the latter of which is much broader than just applicability of lenses)
My group is developing Clasp (github.com/clasp-developers/clasp.git). It's a Common Lisp implementation that interoperates with C++ and uses llvm as the backend. It's something you might want to look at because it could change your options in the following ways:

(1) Clasp interoperates with C++ - C++ libraries like graphics and physics engines can be easily exposed within Clasp Common Lisp. (See https://github.com/clasp-developers/demo-expose-bullet-physi...)

(2) Clasp uses llvm as the backend - it generates llvm-ir from Common Lisp code and uses link time optimization to link C++ and Common Lisp generated llvm-ir.

(3) Clasp uses the Memory Pool System garbage collector, which can be configured to minimize GC pause times to a programmer-defined level.

(4) Clasp generates debug info and can be profiled with standard tools like dtrace and C++ functions, Common Lisp functions and GC functions are all profiled against each other.

I'm a professor of Chemistry at Temple University - I'm developing Clasp to design molecules and materials - but it could be applied to a lot of other problems.

Caveat: Clasp is not yet as performant as Steel Bank Common Lisp, but it uses the open source and highly configurable Cleavir compiler developed by Robert Strandh and we have incorporated inlining and are currently incorporating type inference.

If you want to see a little bit more - I have a 25 min talk up on youtube that I presented a couple of weeks ago at the 2018 llvm developers meeting (https://www.youtube.com/watch?v=mbdXeRBbgDM&feature=youtu.be)
Modern Python Dictionaries – A confluence of a dozen great ideas