skysight-inc/HackerNews huggingface dataset:
Yes, you can write the function using entirely dynamic types:

Map Dynamic Dynamic -> [Dynamic] -> Dynamic -> Map Dynamic Dynamic

But would you actually write a function like that? Of course not. Not only is it a pain to unwrap nested maps of dynamic types, but you lose almost all the advantages of a static type system.

So what's the alternative? As you point out, a more idiomatic way is to use lenses, as they solve a similar problem but can be typed.

However, in Clojure we can use assoc-in or lenses. Dynamically typed languages are not constrained by what is feasible to statically type. In Haskell, it is hard to the point of being infeasible to robustly type assoc-in, so it's not idiomatic to use it. But in Clojure we're not restricted by the limitations of a static type system; we can use functions like assoc-in.

This is the trade off of static typing. A static type system limits what solutions are feasible and idiomatic; even functions that are simple to express and reason about, can be extremely hard to accurately type.
Dumb law IMO. I like at-will employment. I would be pissed if my company was paying 14k on my behalf for something so unnecessary. I can budget my education much better than the government, thanks.
When I bought a house, my agent got me all the documentation a day or two ahead of time so I could read through it before the closing day. I can't imagine trying to read and sign that giant stack of papers while people are waiting on you.
Also, if it was because of "logically constructed" languages, how'd many fundamental concepts of mathematics would develop in India, including concept of zero?
The attitude that people who don't want the same things you want are stupid, unwise, or irrational seems to be very common among leftists lately.

I blame The Daily Show and progeny.
Its actually a perspective thing. If you are powerfull, and huamnity forms your "maschine"- anything overreaching, or doing unexpected things, that might be put as your "fault", will be viewed as a dangerous error.

With great power, comes great deformation of what constitutes good and bad.
A lot of those maps are outdated or purposely inaccurate due to local politics. Your best bet when buying a home is to look at actual topographical maps and understanding how water will flow through the actual geography.
You can always stack rank your employees and select some people at the bottom, regardless of how amazingly awesome your entire talent pool may be. Those at the bottom are not made awful at their job due to your having ranked them there. No need to label and insult them on their way out when you have to tighten your company's belt.
Haptic Feedback for Macbook Touch Bar Keys
Why ugly? It looks similar to what I know in the Pascal family, where indexes can be ranges or enumerations.
ABB Robots Katana Fight [video]
Hey, lost some seared tissue, rhymes with whats the real issue.
Is there a good use case for Julia outside the "math" community, when your alternatives wouldn't be R or Numpy, but Ruby or C#?
> Humanity itself is a quite complex matter

I cannot help to remind you that Xi is the president of a country with 1.3 BB people. If you think he does not know this fact, you are plain ignorant.

Chinese political sphere isn't any another-world strange thing. It's just like any such things: human-dealing and power-plays... Xi knows too well how to deal with people, and how complex they are, otherwise he would not reach his currnet power at all...
IMO the benefits are huge, I'm not on Dvorak, partly because I'm on Vim (there is a remapping scheme for Vim with Dvorak users).

One thing I love about Vim is not only do you never need the mouse, you don't even need the arrow keys, everything is designed around keeping your fingers on the homerow.

Vim is bigger than just a text editor, it's a concept.

Sure there is a learning curve, but Vim is on a whole other level, it utilizes text objects, which help me see text as a series of objects to be manipulated rather than text that I'm traversing.

I'm a huge fan of Vim, so much so I have a hackernews Vim bot on twitter which is how I found this post.

So yeah, huge benefits, IMO.

https://twitter.com/HN_Vimmy_Bot
>"No I understand very well. Perhaps it is you who have not been paying attention."

It doesn't sound like you understand what you are talking about at all honestly.

Carlos Slim is just an investor who bought publicly traded stock class A NYT Stock. The New York Times has a dual sock structure and class A has no voting right. Carlos Slim also doesn't have a seat on the board of directors either. Your assertion the NYTimes is pushing Carlos Slim's agenda is completely absurd. That flimsy Medium post you linked to seems to omit these facts. So I will outline them here with citations:

The New York Time is controlled by the the Ochs-Sulzberger family dynasty and has been and has been since the end of the 19th century.

Ownership of the NY TImes:

"In 1896, Adolph Ochs bought The New York Times, a money-losing newspaper, and formed the New York Times Company. The Ochs-Sulzberger family, one of the United States' newspaper dynasties, has owned The New York Times ever since.[36] The publisher went public on January 14, 1969, trading at $42 a share on the American Stock Exchange.[83] After this, the family continued to exert control through its ownership of the vast majority of Class B voting shares. Class A shareholders are permitted restrictive voting rights while Class B shareholders are allowed open voting rights.

The Ochs-Sulzberger family trust controls roughly 88 percent of the company's class B shares." [1]

"Slim has bought large quantities of the company's Class A shares, which are available for purchase by the public and offer less control over the company than Class B shares, which are privately held.[2]

And an actual member of Sulzberger family is still the publisher:

http://fortune.com/2016/10/19/sulzberger-nyt/

That medium post you linked is pretty shoddy and not quality journalism. It also contains zero citations for any of the the figures it throws around. Perhaps you should learn to read more critically.

[1] https://en.wikipedia.org/wiki/The_New_York_Times

[1] https://en.wikipedia.org/wiki/The_New_York_Times
Having six months to prepare for being fire sounds better then "bye tomorrow".
Also built into Gnome since 3.24: http://www.omgubuntu.co.uk/2017/02/gnome-night-light-blue-li...
It's great and all, but I can't justify switching languages for minor improvements over Python + numpy/scipy. I'd be abandoning:

* My deep knowledge and experience with Python
* My entire codebase
* The ability to work on projects with colleagues who don't also switch
* The certainty that when I leave my current job, someone will be able to pick up after me
* Zero-based indexing

I've started to do some work in Rust when it makes sense, since there's occasionally a compelling case and it's substantially different than Python. Incremental advances in programming languages just aren't worth it, and knowing that other people are probably coming to the same conclusion means I can't expect a serious community to ever arise around Julia.
>The bar is raising all the time as a result.

I don't get why it would be that way. Your work's complexity isn't moving as fast as Top Coder, Leetcode, etc., so why is the interview's difficulty pinned to the difficulty on those websites?

If you guys are taking on new practices and doing more difficult things, then that makes more sense.
Not "absolutely spanked". Not in all three quarters. Make all the excuses you want, Tesla sold more EVs. When Model 3 production does ramp up, do you think it will be less than the Bolt?
Can someone explain to me why open source projects don't take on more 'sponsors'?

For example, one of my employers used to use the open source software Chronos. There is a lot of lacking GPU support in chronos, we opened up an issue and nobody wanted to tackle it, and in all honesty, if they had an easy way of getting the core contributors to be paid to add support they would have considered this.

Fast forward, they had a dedicated internal developer build out a very specific replacement for our needs.
And there are runtimes that do that, like Erlang's BEAM. At least Node concurrency is a step in the right direction, as it's much easier to reason about than threads on the JVM.
Vanish into the Night. And take Jamie's lunch with you
For editing text, the difference between vim and a plain editor is much bigger than hunt-and-peck to touch typing. Depending on what you're editing, there may be other tools that will make a similar difference.
GIMP initially started as an university project, that, by now, has been developed for almost 20 years. Just in the past seven days there've been 9305 LOC additions and 3535 deletions, according to the github mirror [0].

It's one of the most important projects for the open source desktop, for example GTK (formerly GIMP Toolkit) is one very important outcome.

Please support GIMP, because it's more than 'just' a Photoshop alternative.

[0]: https://github.com/GNOME/gimp/compare/master@%7B1507386622%7...
“Event loop” pfff. windows 3.1 was doing event loops before it was cool
“People living in fear of their jobs created the most toxic environments.”

That itself can affect your performance and motivation. Tough out there.
Lol glad to know I'm not the only one. Still confused on what accepting millions in bribes has to do with a car loan.
Working in china, we were made clearly aware of the FCPA (it applies to individuals also), and we had to change our businesses practices multiple times to stay in compliance. We couldn't even buy a grad student lunch without a lot of paper work because of their government connection.

I felt like there was still bribing going on but it was very very indirect. For example, some things like the government making us buy security from particular firms seemed like a legalized bribe as the security guards never actually did anything.
America’s 50 best cities to live in
I’m curious what Deutsche Telekom will do if this happens. They’ve spent most of their time in the US market signaling that they want to leave, but maybe it would be a different story when they’re not in distant 4th.
Nopalin
Yeah the diet part is hard, genetics is on my side thankfully but not with regard to heart (hypertension). I'm trying to figure out an inexpensive healthy diet to follow. I know extensive resources online. The other problem is sleep, freedom to go to sleep whenever/wake up whenever and of course get to work.

Yeah it's slow progress but it's there.

Thanks
Lots of weird anecdotes.

Why is the computer unable to be connected to the internet?

Why are you pasting so much code from stack overflow to visual studio?

Cool implementation - should try ultrasonic...
I've noticed that whenever you have to sign a contract or agreement of any kind. No one expects you to read it.
it is in the original language design which is all about type-genericness and separation of implementation from interface with zero-cost abstractions. Creating an array with a different `getindex` dispatch is a great example of what Julia's type system was made to do! The standard library chose to use 1-base indexed contiguous fixed-dimesion dynamic arrays, but that's not the right choice for every problem.

As evidence of this, check out JuliaArrays (https://github.com/JuliaArrays) which is a whole Github organization devoted to the development of alternative array types, like StaticArrays (which are stack-allocated immutable arrays) or CatViews (arrays which are non-contiguous and constructed from views of multiple different arrays). The nice thing about Julia is that, if packages are written to work with generic types, they can natively (and efficiently) work with these "non-standard" array types, making them easy to integrate into the scientific ecosystem.
In a 'Groucho Marx'-ian turn, what would Elon do if he judged himself wanting? Would he have to find a successor, or would he just walk?
Despite being one of the senior engineers at a Fortune 100 company, I wear an Iron Maiden shirt to work almost every Friday. Screw em..

Despite the 90’s sucking for metal, at least it filtered out all the hair band, and some really good bands like Dream Theater gained traction.

Maiden is back to selling out arenas. Unfortunately never heard Ghost until they opened for Maiden this summer; reminds me of old Mercyful Fate, with some late 80’s Voivod.
Here's the beginning of Prelude of the Chambered. A Link's Awakening-inspired dungeon crawler:

https://www.youtube.com/watch?v=rhN35bGvM8c
Actually, I apologise for my vague description. I did enjoy simple programming tasks and problem solving with python and C in a workshop held in my city. This workshop made me fall in love with code and it piqued my curiosity to know how a computer works. I am totally excited to make this my career.

I must learn C and Python without fail for learning Data Structures and Algorithms. I can't leave any one of them. It was just the order. I am getting more and more convinced with your line of suggestion as other's opinion keep pouring in.

Thank You!
Yeah, the flood plain map... They are free and publicly available. Typically your county will be the one to ask, but they are available at the state and federal level as well.
> (Pet example: if you designed websites as data structures and the browser to support doing so efficiently, 90% of requests on a site like Reddit would be a single `memcpy`.)

Formatting a webpage cannot be done by a simple memcpy, especially since you don't know the size of the browser window in advance.

But perhaps I didn't understand the point you were trying to make.
Even well cared for, domestic, gentle-natured cats can turn quite vicious when they don't want something to happen to them. We run that gauntlet every three weeks or so when our two needs their claws trimmed.
> political corruption only arises when someone breaks the illusion of the State being some kind of entity that seeks the well-being of every citizen.

Corruption is when the state fails to enforce rule of law, which is its purpose.
You should have reviewed the map during due diligence, not at closing. Closing is for checking that the terms of the deal are properly documented not for research.
For me it's covered by virtual keyboard. But scroll is turned off...
That's in 2005.

CCP's online control only got worst these years.

Today if you ask average young people on the street in China about 4 Jun, some (If not many) of them may even don't understand what you're talking about.
This makes me apprehensive, but as long as I can still move that slider to 100% charity, it's probably not too big of a deal.
From my experience having a diploma is a huge boost in job hunting, at least until you have more experience.

Any company will have no problem in hiring you if you do not have a diploma but have credential from your work you have done previously or you are well know in your area of expertise.

But the longer you are out of high school the harder it is going back to finish it and get a diploma. Sometimes life happens .
Is it a shared building? For the type of building the op was talking about (e.g. single tenant industrial warehouse) it's typically the tenant who handles maintenance.
irony == lost
TLDR:

This just in, wolves != dogs
What is "wake up"? How can a machine "wake up" in a way that we can't shutdown with a trivial disconnect? Our computer systems are exceedingly fragile and bottlenecked. No runaway bandwidth-hogging super intelligence is going to be able to 'wake up' without pissing off someone sitting next to a power switch.
That is already in ES6, no?
The introspection is crucial.
AI will never do what the human mind can do, so the real concern is bad or malicious human programmers of AI.
The English version, https://hieroglyphicsinitiative.ubisoft.com/en-GB/home
Cellphone bills only became deflationary after the government blocked the T-Mobile-At&t merger. With this merger, and a new administration, they stand to "correct that mistake" and you can bet that cellphone bills will return to their previous trend.
So what happens to the call stack above foo? It looks like `await` is implied and the program stops until `bar` is done.
Interactive Design Space Exploration and Optimization for CAD Models
Yes, someone linked a news article here about a tragic accident in Munich. The truck driver was cleared of all charges. Sometimes genuine accidents happen. But that's not what the article or this discussion are about, is it?

I don't know about the laws where you live, but in Germany cyclists are not permitted to use crosswalks (or, for that matter, sidewalks). It'd be stupid to assume that a motorist could see them coming, even at normal bike speeds. That's just reckless behaviour.

But these are not the cases I'm talking about. The law in places like Germany recognises that they exist and has appropriate provisions for them (see the above-mentioned article). This isn't magic, and it's not criminalising accidents. It's criminalising irresponsible behaviour while operating dangerous machinery when that behaviour has tragic consequences.
Well I can tell you the map was not available prior to closing. I requested it and all documents. Town and County governments only referred me to the Metropolitan District, whose board cancelled meetings and ignored all attempts. Closing was the first time I saw anything. That's why I didn't feel bad making them wait.
>I would assume that, as a country develops and grows, the amount of corruption will generally naturally decline.

Why would you assume that? The corruption gets fixed first, usually in an entirely unnatural way (e.g. top down crackdowns), and only then the country grows.
I made the mistake of getting a Malamute puppy, sight-unseen, from a breeder who dropped him off one December day. The first year was fine. It was an incredibly handsome dog and a good companion on hikes.

Sometime during the second year his independent nature became more and more pronounced. He also began to be more assertive around other dogs, sometimes even treating them as prey (it attacked one of my parents smaller dogs on a couple of occasions). Dog parks were a no-go and late-night walks became routine.

No amount of professional training could curb his instincts. I went as far as taking him to a trainer who specialized in working with aggressive breeds. No change.

Then one day he bit my dad out of the blue. My dad was petting him and suddenly stopped and the dog wheeled around and bit my dad on the wrist – I guess indignant that my dad had stopped showing him attention. It was bad enough that my dad had to go to the hospital.

By chance, I was able to find a home for the dog, a retired man who had worked with both Malamutes and wolves. He took him to his ranch and we kept in contact for about a year after. The man a couple of times said that the dog was one of the most feral-minded Malamutes he had ever come across and exhibited traits of a dog that had been raised for fighting.

It was a terrible experience. I really cared for the dog in spite of his tendencies. I learned a lot from him about the importance of breed selection and the perils of living with an un-vetted animal. Many years later, I now own a mixed-breed Newfounland / Golden Retriever rescued from a high-kill shelter. He is the polar opposite of the Malamute behavior-wise (still very handsome, though). I couldn't be happier.
Ketamine is used as a disassociative, though.
This feels like it was work sort of, but I was program director of my college radio station, WKDU in Philadelphia in 2005 or so. It was a volunteer position, and I was to oversee programming quality and the schedule, etc.

One of my duties was to randomly listen to radio shows to check for errors and issues, and make sure people are actually doing their shows.

We had a live stream, so I used some linux stream ripper and cron jobs to record the stream into 3 hour chunks (the default show length) and then time stamp them. This made it really easy for me to spot check shows and have a record in case issues came up.

There was one freshman DJ that I didn't really care for, and he had a 6am slot (It's early, but it's drive time, so you actually get a ton of listeners). He kept skipping his show and as the program director, that made me mad.

I ran into him one day and asked if he had done his show that morning and he said yes, and I was like "ok great!" But I went home and listened to his mp3... and he had not been on air.

Later at school I again ran into him, chewed him out for lying to my face, and then saw him crying afterwards.

The beauty of automation.
It varies by state, but you can collect unemployment a lot of the time if you have been fired.
CoinLaunch – Free and Compliant ICO Platform
That may be illegal in the US, but I don't know if it is in other countries.
Uh, they sell games. They continue selling games. That's the value proposition. I fail to see how they are not serving their old customers.
If I were you, I'd work on setting a good image of my own self, or of my agency, instead of attempting to change image of an entire country.

I'd work hard to sharpen my skills. I'd find some way so let the world know about my skills. It could be through blogging, or through contributing in open source software, or any other way. When looking for clients, I'd find good clients who appreciate quality work (not every client cares about quality and not price). I'd work hard to build good work relationships with those clients. One good relationship goes a long way.
I grew up in this area. I can confirm it’s not common knowledge how these dams work. I learned a lot seeing Harvey.

Everyone does know the dams are there. But in an otherwise flat city they are just big mounds of dirt running for miles. They don’t hold water most of the time. Even with heavy rain any minor flooding goes away in a couple days. I never really understood why a 20-50 foot tall dam was needed. I remember once joking with a friend that if the water ever filled up over the dam that means the entire state of Texas behind the dams is under water. It actually did not make sense to me why they built the dams so big until Harvey.

In any case, someone knew and should have been a required disclosure when buying a home. However, I don’t think it would have helped. People would have bought there anyway because this kind of flooding was unthinkable. Although they would have known they needed flood insurance. But then, insurance companies probably wouldn’t offer it.
I think part of the problem here is twitter can't decide what it is.

Is it a place for people to chat with friends?

Is it a platform for free speech or are there limits to that speech?

Is it a platform for brands/people to broadcast to a broad set of followers?

Is it a source of news and a place to talk about politics or what is going on?

It can't be all of those things.
A little less awkward:

~array.indexOf(a)

https://www.joezimjs.com/javascript/great-mystery-of-the-til...
The downvotes are probably due to the fact that there are no contracts in the states. It is at will employment
Well, most people assume the development of AGI will in short order lead to the rise of superintelligent AGI and then the reason is precedent -- look at how we treat creatures that are less intelligent than we are. If you're lucky you're a dog or a cat and you're kept as a pet and treated as a member of the family, but you're still a pet. If you're not so lucky you're a cow or a pig and used primarily as a food source. If you're even less lucky you're an insect that gets stepped on for wandering too close to the picnic where we're eating the cow and pig while we watch our dog play.
I am not blaming FB for Trump (also, I am not American) but I do think that there is some indication that social media including Facebook has contributed to a more polarized climate which I think is what allowed someone like Trump to get elected in the first place.
Typing git...
Nothing happens