skysight-inc/HackerNews huggingface dataset:
It's not fatalism. It's about recognizing that a more economically even society is warranted because people shouldn't get outsized credit (or be disproportionately punished) for things outside their control.
I believe that we tend to get causality wrong on this one. I don't think dynamic languages have some intrinsic property that makes us more productive or facilitate faster time to market.

Rather, I believe that people who are concerned about the soundness, consistency and maintainability of their code, and hence favor powerful static type systems, are incapable of prioritising time to market.
Ask HN: Personalization Jobs?
Greetings,

I am considering leaving my current company. I have found I really enjoy working with website personalization, A/B testing and web analytics over the past three years using tech such as Google Analytics, Omniture, Tealium, Maxymiser, etc.

Does anyone know of companies looking for that kind of skill set?
> What's really needed is something simple that's data-centric, like JSON, but with a complete toolchain to define schemas and perform transformations, like XML (but without the warts and overengineering).

What would it be? Is there a real alternative to XML with those features out there? I don't think so.

When you would want to have the features of XML and would design it from scratch I'm quite sure it would have the complexity of XML again.

Usually implementing some functionality yields every time the same level of complexity regardless of how you implement it (given that none of the implementations isn't out right stupid of curse).
Suboxone has been around for decades. You are definitely projecting, and you do understand that buprenorphine is not a regular opiate, right? Partial agonist and also an antagonist. I was on it for 4 years, as I had a 2 gram a day heroin habit for six years prior. Please be careful making assumptions about things you do not understand.
Building the World's Most Complex TV Network
Different people probably feel impulses with different strength.
> I had to learn self-control, personal finance, investment, entrepreneurship, and so on...

Other people have to do this and other similar things. When they have kids and raise them successfully, is that luck? Or is it payoff for that effort carried into the next generation?

Some people are just lucky. Some are just privileged. But it's reductionist and just not good advice to say the whole world is random and decisions don't matter. Things, at a minimum, are a lot more complicated than that. And I think people and communities who do support their offspring deserve more credit than that. They're not just a gust of wind in the right direction one day.
Wouldn't the same problem apply at any social gathering with gender bias?
> masculine-coded genders [...] feminine-coded genders

Now what freshly contrieved linguistic contraption is this? Just say "male" and "female", or "men" and "women", no need to obey the latest gender studies fad.
Sure but the entire team meeting at a strip joint after an official corporate event is harassment.
Between Flow and Typescript, looks like the latter has all the momentum. But I see one way in which Flow could become relevant again: by becoming 100% compatible with plain JS.

I would love to have type checking, but I'm weary of solutions that aren't really JS, and could fall out of favor or lack good support in the future. I'm pretty sure I'm not the only one.

But Flow type annotations don't really need an incompatible syntax AFAIK; they could just use comments. This way, we wouldn't need to worry about the future of Flow. If the projects dies off or becomes redundant, we're just left with some useful comments - no need to rewrite or transpile our code to native JS.

PS I found an existing project which does this [1], but it requires an additional step and it isn't officially supported. It looks incredibly easy to make Flow work directly with pure JS with comments...

[1] https://github.com/Kegsay/flow-jsdoc
Is Typescript necessary for front-end Javascript?

In the many years I've done front-end with Javascript, type-related bugs were very, very rare. Textbook logic as why to use strong types make absolute sense. Yet in the real world, I've had to fight with logic, DOM, UX, framework incomprehension and other types of bugs - not types. Type issues were anomalies among bugs. When they came up, they were the easiest to fix.

Am I alone here? Anyone in the community have concrete examples of type-related bugs that took so much time to required using something like Typescript? Can anyone quantify that?
What percentage of decelopers today know anything about machine code? I would guess less than 5%, maybe 1%?

My point is that programming is moving to higher levels all the time, most developers don't have to worry about pointers anymore for example.

The change does proceed very slowly though, compared to the consumer side. I guess developers are very conservative and programming as a whole advances 'one funeral at a time'.
btw. one of my favorite config is HOCON.
it allows ini style and json style.https://github.com/typesafehub/config/blob/master/HOCON.md
> nobody is there to dig ditches

Nobody shovels horse feces or lights lamps anymore.

Also, these problems (not enough ditch diggers) are solved by just paying people more for that kind of work. Culturally we think that managers up the chain deserve to get paid more and more, but if there's a shortage of people scrubbing toilets, maybe the person with clean fingernails merely cutting paychecks doesn't necessarily warrant a higher market rate.
I'm using Linux PCs for development for 10 years now, but when I started mobile development, had to buy a MacBook.

And I have to say, it is kinda nice. I don't think the gains for developer are so big that they justify a double price, but they are certainly nice.

The alu body is very sturdy and the touchpad disabling when typing is really good.

I also started doing educational videos and QuickTime + iMovie are pre-installed so I could start without any hesitation.

On the other hand, macOS has bad UX, often I can't find how to do things right away, because they aren't correctly named or hiding is some strange sub-menus somewhere. I don't think it's much worse than on Linux, but everyone was praising macOS UX and I just can't see it. Also the keyboard has a different layout than on PC and it feels like shortcuts are randomly spread between Ctrl and Cmd. The first week I had to Google some keys, because the keyboard didn't have labels for them ([, ], ~ and | for example).

I also read that many people are switching from Apple MacBooks to MS Surface Pro since the latest iteration of MacBooks came out.
A static language is less likely to throw a runtime type error, or coerce some value incorrectly, than a dynamic language. That does correlate with being unstable and offline.

Servers don't drain battery, but they cost money, so inefficiency matters server-side as well.

And comparing a fully-featured dynamic language implementation with a less-featured implementation in a fairly weak statically typed language isn't really a productive comparison, is it.
Because its like riding a dead horse. I think, there are reasons, why areas go bad, and those reasons will not go away, unless people leave the s* holes. I do not see any obligation to stay, when its bad.

So i'd say, its reasonable to go abroad, to abandon home and make something of life, when you have a chance to do it. And later, if you still feel close to your home, you can return and create something that makes sense for you, with confidence and resources. The root causes, why areas went bad, may have died and there might be space and hunger to grow something new. That is at least my colorful narrative.

I work with many people from so considered poorer countries. They all miss their homes. But actually no one ever said, they want to go back and build something. :)

I think there is no obligation to stay at one place and make it work.
If you were in the business of trawling for hot female founders, isn't this exactly the kind of thing you'd do?
This is the problem when somebody creates something simple that just works: very quick there will be a lot of other people trying to add to it "just a little thing" and then you have a lot o complexity. It only stops when nobody can figure out what that thing became.
Could have been more elaborate here. Didnt really want to explore it. Well the story and the choices you must make. The game itself is a fine work of art; but it's more exploitation than a fun adventure game.

I picked up the game because I thought it would be a spiritual successor to the text based game Mind Forever Voyaging. Well it wasnt exactly that.

The game gets dark fast. In fact I don't see it as a game at all, as it isn't fun other than solving puzzles that are at time grizzly.

(Nsfl)

I was pretty shocked at having to operate an organ/eye out of a living and awake prisoner of war in a one of the game's simulations; of a concentration camp.

Another simulation you play as a female that gets violated.

Screenshot: https://upload.wikimedia.org/wikipedia/en/b/bf/I_Have_No_Mou...

"The game's story is set in a world where an evil computer named AM has destroyed all of humanity except for five people, whom he has been keeping alive and torturing for the past 109 years. Each survivor has a fatal flaw in their character, and in an attempt to crush their spirits, AM has constructed a metaphorical adventure for each that preys upon their weaknesses. To succeed in the game, the player must make choices to prove that humans are better than machines, because they have the ability to redeem themselves. Woven into the fabric of the story are ethical dilemmas dealing with issues such as insanity, rape, paranoia and genocide."

Source:
https://en.m.wikipedia.org/wiki/I_Have_No_Mouth,_and_I_Must_...
I see, I was interpreting the GP comment as that the OP stopped talking altogether after knowing she had a boyfriend. But you are right, it can also be interpreted that after the OP knew she had a boyfriend he changed from "small talk" to some more interesting subjects cause he felt more at ease of not being misunderstood as hitting on her.
> my thought, they don’t want to be my friend anymore,” she wrote, appending the hashtag #ThisIsWhatAnxietyFeelsLike.

No doubt their anguish is real. But reading that from the perspective of someone​ who is struggling to pay bills, feed a family, or starving leads to a less charitable interpretation. And might fall under the #ThisIsWhatBeingMildyDissapointedFeelsLike tag.

Oh and of course they had to mention Trump. Just couldn't resist, it's like they have a quota to fill. And the funny thing is, media like NYT is active participant in feeding and manufacturing that anxiety by reporting how many scoops of ice cream he had or the overextended Russia angle, etc.

Yes that will make 37 year old media consultants from NY very anxious, and they will not hesitate to mention it on Twitter to all their followers.

I only found a little mention at the bottom about general wealth inequality. How about just about plain ol' poverty, lack of jobs, not being able to provide for a family. That will cause a debilitating and constant anxiety. That is something worth reporting and tweeting about.
Reddit should stop promoting their app on every freaking action you do on their website. I refuse to install because of it. Just build a better website.
In Africa, Mobile Wallets Mean Business
There's a lot of truth to this and they use rather unique (bordering on gimmicky) job titles such as 'Forward Deployed Engineer' as opposed to 'Solutions Engineer' or 'Technical Consultant' to add an aura of spooky government mystery and mask exactly what they do.
Having used many languages over the years, the biggest advantage I've seen to dynamically typed languages is that they're easier to learn.

I love Ruby because of its delightful standard library, its thoughtful syntax which makes manual refactorings easy, not because or in spite of its dynamic types.

I detest Java because of its verbose syntax, its love affair with XML, and because it isn't a good unix citizen. Not because of or in spite of its static type system.

I detest Javascript because of its non-existent standard library, its many, many design errors (slowly being fixed, I know). Not because of its particular type system.

All other things being equal, I would prefer my language of choice to have statically checked, expressive type system. Unfortunately, all other things have not been close to equal historically. Things are improving, and maybe these days it's possible to have your cake and eat it too.
Election forensic analysis of the Turkish Constitutional Referendum 2017
They way they chose to do it though seems to create some ambiguity. Like, what does this do? I can think of 3 distinctly different things it could do.

$ echo test 1 + 2>err

Or what if there are files with these names?

$ cp /bin/grep 42

$ 42 + 1
Thank you! This looks very helpful, I'll be using this!
Edge Cases to Keep in Mind. Part 1 – Text
Yeah but reporting on the actual problems in this country instead of Trump tweeting about some people who until a few days ago I had never even heard of doesn't fit the right narrative.

Anyway, I'm going to keep trying to teach kids and adults how to write code and keep making sure I vote in my local elections. I'm really disappointed in the media and our government.
> and most people younger than that can't imagine moving to the US

Are you talking about Europeans here?
Oddly enough, a few things come into play:

1. It's hard to describe what you do, to someone who doesn't understand what you do.

2. This isn't a new problem.

3. There are actually fewer official U.S. Census occupation codes today (545 as of the 2000 census) than in 1920 (587). Much of that explosion had to do with railroads.

I did some research on this a few years back.

https://www.reddit.com/r/dredmorbius/comments/3832wx/occupat...

The Iron Horse gave us such classifications as:

* Baggagemen and freight agents

* Motormen

* Switchmen, flagmen, and yardmen

* Express, post, telegraph, and telephone, selected occupations

* Express messengers

* Inspectors

Or we could turn, as The Conversation hails from Britain, to the UK Census classifications of 1851, 1861, and 1871, for: joiner, beermaker, gamekeeper (this sounds suspiciously SV, probably growth-hacking on the side), worsted manufacturer (but no "bested manufacturer"), hose manufacturer ("laying pipe..."), hawker, huckster, jockey, straw hat and bonnet maker (don't confuse your boots and bonnets), protestant dissenting minister, ropermaker (in cahoots with the hoseist, we surmise), staymaker (someone who stickifies the gamekeepers gamified websites, obviously), currier (but no ives), wine and spirit merchant (good, not evil, spirts, one hopes), boilermaker, Chelsea pensioner, commercial traveller (ads delivery and reach?), and weaver not otherwise described.

And, ah, yes, to the pedants, I'm aware of the original contexts of these descriptions.

The point is that, especially at times of dynamic change and specialisation, new distinctions become important.

Overblown? In cases, yes. The value of jobs titles is both for internal and external communications and comparison, as with most protocols.

"Astro" Teller, by the way, is the grandson of a gentleman who's known for a few particularly bright points in mid-20th century history, of which there's some residual glow.

Speaking of which, my favourite jobs title remains that from the 1880 U.S. Census classification, #309, "Gentleman".
> Why do most people in the US seem to never look abroad when it comes to healthcare?

The Brits were just debating how much nurses should get paid. When government runs your organization, math and economics become subservient to politics.

> The US healthcare system is probably the most privatized in the developed world.

It has privatized profits, but the whole system is heavily regulated. Prices for things are certainly not set on open markets.
"A ship in harbor is safe, but that is not what ships are built for." (John Shedd, but sidelong relevant to this thread was also cited several times by Grace Hopper in interviews).

If you take the apparent maximally safe course of action at every turn in life, you probably won't achieve much. It's risky to change jobs, to break up with your current partner, to start dating someone, to have kids, to buy a house, to change cities, to pick a college/major, to pick an initial career, to drive in the rain, to play recreational sports, to travel to a different country, to eat sushi, and 100s of other times in any given year.

If you are willing to do something important (and work-related) for a man that you are not willing to do for a woman, IMO, you should not be in a position of leadership.
> I would imagine if VCs and investors get the message that if they hit on women they'll be fired, they'll stop doing it.

You imagine wrong. Instead, they'll learn how to do it without getting caught. Lesson one comes from these incidents. Don't leave an electronic or paper trail. It's much less likely these women would have come forward if they hadn't had electronic records of chat sessions to back up their assertions.

If you only treat the symptoms of the problem, it will keep returning in different forms. You need to address the root of the problem and your over-simplified view of the issue will never allow you to do that.
This person needs a better understanding of the US Constitution. There are clear checks and balances in place. This is one of the main differences between parliamentary and the US form of branch government.
Indeed, work is not measured in Joules, but in dollars. A dollar's worth of work is worth a dollar. In those terms, I perform more work than a ditch digger, with fewer Joules.

In my view, what needs to happen is, get rid of the promise that if you work hard, you'll get ahead. Instead, adopt a more realistic ethic in which success depends on a combination of wealth, education, and effort, with those factors listed in descending order of value. Also note that wealth is accompanied by political power.
Regarding Rand, I hear her referenced more by libertarian detractors than any actual libertarians.
They didn't ditch it, but they did fuck it up and seem to prefer Bing searches now over Wolfram Alpha queries.
jq can't handle big numbers, it silently mangles them, beware! Was bitten by this twice already..
Sadly, access to medication does not counter all the other issues that are causing a declining quality of life for lower and middle class Americans.
What is ‘skip locked’ for in PostgreSQL 9.5? (2016)
Type errors might not be the biggest issue up-front when writing new frontend code, but refactoring JS becomes really hard as the LOCs grow. Typescript (static typeing in general) really helps with this as you can get instance feedback about how you're changing interfaces between parts of the system.

Another reason i've enjoyed TS is the editor intellisense support. It's really helpful when using a library to get type info in your editor instead of having to google when you forget what a function returns, for example. This is also helpful when you're coming back to code you wrote a long time ago, or a colleague wrote it, and you don't know what particular variables/function arguments/object properties are at a given spot in the code.
Linus Torvalds is an arsehole who cannot behave as an adult and control his emotions.

If he was my boss, I would sue my company for allowing abusive behavior happening in the work place.

There's no excuse to do what he does, and it saddens me that a lot of good developers may choose not to work on Linux development just not to have to deal with him.

But I guess that this is what he wants. He built his little "kingdom of terror" and that way he can make sure that in his team there will never be developers who can diminish him.
One major argument is that TypeScript gives you arity checking on function calls, especially as you're refactoring. Seems like a simple thing, but after using TypeScript I realized how much time I wasted solving things like that.
"Good" government regulation is what created the mess. Patents on prescriptions. When loopholes can be applied or not to offer generics. Licensing and certifications. What counts as "health insurance". What kinds of medical practices can be opened. What drugs can be offered across state or national boundaries. Who gets discounts on health insurance (employers) and who doesn't (employees).

The list goes on.
Convincing investors is an orthogonal skill to running a tech company or building a useful product - much like winning an election is a completely separate skill from actually being competent at managing a country.

This unfortunate reality is why I try to avoid dealing with systems that developed professionals who are solely specialized at gaming those systems - like MBAs or career politicians.
> Lindsay Meyer, an entrepreneur in San Francisco, said Mr. Caldbeck put $25,000 of his own money into her fitness start-up in 2015. That gave Mr. Caldbeck reason to constantly text her; in those messages, reviewed by The Times, he asked if she was attracted to him and why she would rather be with her boyfriend than him. At times, he groped and kissed her, she said.

> “I felt like I had to tolerate it because this is the cost of being a nonwhite female founder,” said Ms. Meyer, who is Asian-American.

As abhorrent as Caldbeck's behavior was, what difference does being nonwhite make? It doesn't seem like white female founders don't get sexually harassed.
Sorry if I'm killing a joke or something, but could you please clarify?
some people are assholes, very few but some
I agree. Type-related bugs of the kind that TS can catch are indeed rare and trivial. However, TS does help with documentation, intellisense and refactoring. Personally, I will usually go with Babel/JS, since I don't find that the benefits of static typing outweigh the costs.
I think the problem here is that the do it for their kids.

Family businesses are generally know for planning more for the future than non-family businesses.

But they don't do it because they think it's good for society to build something sustainable for the future. They do it for their kids, which sounds nice first, but is a rather selfish reason.

Yes they go one step further, they don't just want to enrich themselves in person, but also other people who happen to be their kids, but in the end it's just individualism on a higher abstraction level.

Behaviour that is really honourable doesn't just benefit you and your family, it benefits as much non-related people as possible.

I mean, on another level this this the same as with white men only hiring other white men. Sure they grow big companies, are successful and help other people, but people who aren't white or aren't men won't get as much out of it.
This doesn't work for everyone, but if you find allow yourself time, trying to solve specific problems you face (asking: could I automate this? Could this be simpler?) is a great way to get better - and how I learnt my way through bash.

I recently released https://terminal.training (paid course for 4 hours) which is just for this kind of question, but I've also started a free mini email course (same URL) that tries to share some of the CLI shortcuts I've come to rely on over the years.
> In the many years I've done front-end with Javascript, type-related bugs were very, very rare.

Wow, really? My experience has been the complete opposite.

Most of the bugs that slip into production have been dumb type errors. Things like accessing a property on an null/undefined value, or on an object that doesn't have that property and unfortunately JS just returns `undefined` instead of complaining (these silent ones can live longer before being spotted).

It's because of these kind of bugs that i've found many JS codebases tend to become brittle to the slightest change, and very difficult to refactor into a good shape. And why i'm seeking statically typed languages like TypeScript on that front at the moment.