skysight-inc/HackerNews huggingface dataset:
Ask HN: To what extent could mutability be stripped from JavaScript?
Wondering how much JavaScript could be made into a functional language by somehow removing mutable things or somehow making them functional.

Thoughts?
> What exactly is the point of a having a country at all, if not to accrue unfair advantages to its citizens?

"What exactly is the point of having the white race at all, if not to accrue unfair advantages to its members?"

Countries should effectively be large organizations competing for people based on tax rates, laws, efficiency, and productivity.

> And I assume you have a problem with all other countries unfairly "opportunity hoarding" for their own people too, not just the US?

Obviously. But this is not a Nash equilibrium. Even unilaterally opening up your borders will result in better Pareto outcomes.
The intent of the H-1B provisions is to help employers who cannot otherwise obtain needed business skills and abilities from the U.S. workforce by authorizing the temporary employment of qualified individuals who are not otherwise authorized to work in the United States.

https://www.dol.gov/whd/immigration/h1b.htm
Founders – scientific techniques to reduce entrepreneurial anxiety
> Proof-of-work solves that problem by putting the network on a trustworthy clock. It’s a kind of computation which takes a predictable amount of time to run, and which can’t be forged by a bad actor.

That’s not right. PoW takes a completely unpredictable amount of time. It’s not about a clock ticking, it’s about making the presence of two incompatible versions of history as expensive as possible, thus forcing the network into consensus.
I also found this to be the case, I think the ELO system they implemented when I was playing in the WoL era to be quite accurate, I was quickly able to rise through bronze but found people that were more or less equally matched to me at high silver and low gold. Was enjoyable and not huge fluctuations in skill level except for the occasional unavoidable smurfer.

I did find that 1v1 was definitely more balanced than team play, so I think both you and parent are correct. In team play with friends we were much more likely to encounter people of radically different skill levels playing together.
I would have expected someone working at Apple who should be getting paid a high salary and writing software that is used by millions of people to have huge pride in their work. This means testing what they deliver in isolation and on integrated builds. So either apple staff are under too much pressure that quality control has gone out the window or they have the wrong kind of people. For instance are they missing the type of people who are obsessive about detail.
You don't think Bezos would have ended up there? or some other company?
How Facebook determines ad placement in news feeds:

> Millions of auctions take place every minute as users across Facebook load their feeds. ... The algorithm is constantly learning, using past results to inform how it weighs bids in the next auction. The intent, Facebook says, is to maximize value for everybody: to pair the advertiser with its likeliest customers, and to show ads that users want to see. And, of course, to make money for Facebook. [emphasis mine]

So FB wants:

1. advertisers to be successful so that they come back and attract others;

2. users to remain sticky and not be turned off or too distracted by an ad; and

3. sell each ad space at the highest price, so long as 1 and 2 remain true.

Interesting business they're in and an incredibly challenging (and fun/rewarding) algorithm to code.
Yeah, I figured that was the intention. But, ugh.
Google already has a smaller ride sharing service with Waze. It differs from Lyft and Uber in that passengers only cover gas costs.

https://www.waze.com/carpool/
Because we would like our country to prefer our own citizens for such jobs, when possible.
There is some stevia in it: https://help.hvmn.com/hvmn-ketone/what-is-inside-hvmn-ketone.
I'm looking for some resources for signed distance functions and something beyond min,max etc. I'm aware of iq's website and all the things that have "made rounds" around internet.
Wow. That's incredible how psychedelic these images are. I'd be really curious to learn more about the link between these two seemingly distant subjects.
Does anyone know of similar github repos / websites that describe things (does not have to be fp) by providing code / math examples ?
Personally I just stay away from virtual online economies. Fun with an RTS here and there is fine, but if I'm going to sink my life into getting rich, it better be real.
If we weren't around, an American could demand a (significantly) higher wage. If the developer wages were higher an American programer would consider not becoming a manager (why code away for peanuts when you can boss others for much more?).

That's in the short term. In the long term more Americans would do CS, and if the supply is tight enough, Apple and the others would open schools to train teenagers to code.

Not saying that the current system isn't better. But the basic forces are what they are.

Btw, you are underpaid and overworked. The game-room is gaming you to stay at work longer hours.
Don’t forget off-road or very remote driving and camper vans.
My guess would be iOS11 overall 64bit application switch and deprecation of 32bit processors on older devices is making it slow overall.
Why are the videos always done in perfect conditions? I like drive.ai's approach a lot more where they demonstrated the capabilities at night and in heavy rain. It's much more impressive.
The Jim Sterling one?
He also simply called into the media, giving dozens of live interviews. Did Hillary ever do that? Or did she just go from one staged Q&A session to another?
> i posit that nobody wants autocomplete-style live DB lookups. They don't fit the mold that autocomplete fits in.

1. I live-code an example in about:blank with devTools window open.

2. I roll my own little jQuery-like closure for the sake of convenience.

3. It works.

4. I close the browser and forget about the thing.

5. Later, I decide I wanna test out a feature of the Web Animation API, so I open my browser to about:blank again.

6. I remember that I used a little closure last time-- as I type the var name Chromium pops up an "autocomplete-style live DB lookup" menu. At the bottom is My Little Closure from last time!

7. I move the mouse down to the relevant line in the menu. Or, I use keyboard arrows to navigate to it. Or I keep typing and narrow down the menu options.

Useful? Check. Discoverable? Check? Obtrusive? Negative-- in the case that I don't every want previously typed expression, that menu option is put at the bottom out of the way of the more common JS internals and DOM methods.

Default settings in a terminal (or terminal-based GUI) generally require the user to either type something to get into a history mode, or type tab to do completion. But both of those options are less discoverable-- they require me to know ahead of time that I want to retrieve something. With devTools it shows me what can be retrieved so that I know what's available even if I'm a neophyte.
Same here with an iPhone 7. I am permanently in low power mode and even then I barely make it through the day - and I am hardly using the phone. It is ridiculous.
Little bit tongue in the cheek but littlewargame can be a contender :)

http://www.littlewargame.com/
Do you believe that this will actually force corporations to not suppress wages? Even if the H-1 program is disbanded, corporations have many options to cut workforce expenses, including offshoring.
Not to mention that healthcare cost rises are one of the key factors that are limiting wage growth: http://www.epi.org/publication/ib218/

Neither the Republicans or Democrats are addressing the systematic issues with wage growth in America.
I agree, say now you may have two CARS each costing $400/month ( AAA estimate ) Total cost of ownership ( Insurance, gasoline, Repairs, depreciation ).

Now when some thing is available for $200/month , you won ONE CAR like OLD way ( for Kids etc.. ), and your spouse may use FLEET CAR .
I ran into the same issue and found https://chrome.google.com/webstore/detail/markdown-to-jira/j...

That converts markdown to Jira-markdown and back again. It's been fantastic for me.
the post is talking about using blockchains as a systems tool to build a distributed ledger, not how to create a new cool crypto currency that will be more 31337 than bitcoin.
I envisage systems of standardised storage lockers, you can pull the whole locker into your car, 4 fit in the car for 4 users, you can wheel them into work, or lock into cabinets around the place, when there's no car parks they'll be lots of free space, 1% can be for storage lockers.
I think the linked article answers your statements more effectively than I could. You should read it. But I'll try anyway.

> begging undignified

That's the point. It's so undignified that the people doing it likely do not consider it a choice. Saying "I won't give you what you want because I know what's best for you" is compounding that situation with infantilization/patronization.

> Kantian BS/"Do no harm"

The categorical imperative doesn't help you decide one way or the other here, because you have no information other than someone asking you for money. Giving the money could hurt or help. Not giving it could hurt or help. There is no clear "rational" (Kantian) or Hippocratic ("Do no harm") choice here. Absent that clarity, unless you want to defend defaulting to inaction, make a moral choice to preserve someone's dignity.

> I don't give random strangers money normally.

Maybe you should, especially when they are literally begging you for it on a street full of people who ignore them or treat them like shit all day.
Wait, hasn't this always been the case?

https://www.reddit.com/r/Android/comments/4pwv0l/i_finally_f...
> "Open source" is not "more free" in any general sense

And yet, this is the point that Mr. Tenenbaum has tried to make in TFA:

"this bit of news reaffirms my view that the Berkeley license provides the maximum amount of freedom to potential users"

So let's make a point of disagreeing with him, at least.
Apple makes great hardware but they are falling farther and farther behind Android in software IMO. Modern Android on a good phone is just a smoother, more powerful, and more pleasant experience. I develop iOS apps for a living but I carry a Pixel 2 in my pocket and it's the best phone I've ever had.
Xactly | Senior UI Engineer & Senior Scala Engineer | Denver | Onsight, Full-Time | $110K- $150K

Headquartered in San Jose, we're building out a brand new Engineering workforce in our LoDo Denver office.

Named among the best workplaces in the U.S. by Great Place to Work five times in a row, honored on FORTUNE Magazine’s inaugural list of the 100 Best Workplaces for Millennials, and chosen as the “Market Leader in Incentive Compensation” by CRM magazine, Xactly is proud to be disrupting the incentive compensation market space. We’re building a culture of success and are looking for motivated professionals to join us!

Please apply at https://www.xactlycorp.com/company/careers/ or ping me directly at ehartmann@xactlycorp.com
I like the idea from the point of view of 'making things better', but from the philosophical perspective of publicly funded entities should not give benefit and preferential treatment to private and proprietary enterprises and systems.

I think if the USPO was capturing this data, then it should be available to everyone.
I'd rather use a contract that has been around for a while storing major funds, which has several public, current audits. The Ethereum Foundation has a multisig which has been holding their funds for years, that's probably a good choice. Parity's audit was done before they made a major architectural change.

I do think there's a need for a much simpler standard multisig than the ones being used now.
This is not entirely accurate because most Australian domestic university students have their fees heavily subsidised by the federal government, which is why they are called 'HECS-HELP contributions' and not fees. After taking into account government grants (including those made on account of domestic students' fees) and other sources of income international student fees make up less than 20% of university income on average – see slide 35 on this 'data snapshot': https://www.universitiesaustralia.edu.au/ArticleDocuments/16...
I ditched that disgraceful application for downcast after it used my whole data allowance by not respecting a download on WiFi only setting. This was a previous iOS release, but once bitten twice as shy. I will never take another look at podcasts because it already cost me real money.
But these students aren't getting loans - they're having their tuition waived. Now the government wants to tax the amount waived as income. If anything, graduate students will now be forced to get loans in order to pay their taxes - which is absurd.
I'm with you.

A UI markup language could define forms that are "desktop-like" without involving a Turing complete language.

The paradigm of the HTML form with controls and a submit action has not been developed to its full potential, because it was basically derailed by JS.

It could have a lot more widgets, and there could be some standard way they exchange and validate data, without a full-blown client-side programming language.

For instance, say you want the user to pick a date. There could be a standard widget in HTML for doing that that could be dropped into a form, and it could be configured to communicate its value bi-directionally with some other field. (Perhaps like cells in a spreadsheet or that sort of reactive thing.) A rich set of standard widgets with flexible styling and layout, communicating the content of the data model to and from the server. Something like that.
Half the day was normal to you?! What are you guys doing with your phones, I use some cheap chinesium android and it gives me easy 2 days of battery if not more.
If I can make a suggestion, you might want to look into the structure of the blockchain networks that use a network of known super-nodes to watch and verify each other.

If you have hundreds of known, diverse nodes distributed globally (run by very different institutions like Harvard, Bank of America, the Vatican, the Red Cross, the Gates Foundation, the House of Saud, etc. etc.) they can all watch each other, and the odds of them all going offline at the same time or cooperating to deny a specific user's transactions are very low.
I was going to post a single comment of "Good!" But knew I'd just get down voted for it... so here I just did..

But I share the same sentiments
I've seen something similar - a few podcasts begin to download at once, progress indicators don't move above 0% on any of them, but then you hit play and it's already downloaded
Will this increase the number of remote positions (work from anywhere) for software developers?
Or that she legitimately spent way more money and it was spent poorly.
Source article:
http://www.autonews.com/article/20171105/INDUSTRY_REDESIGNED...
I for one am still playing Age of Empires II. I am the last of my kind :(
don't forget the bulky and heavy car seat(s)
I keep losing audio controls on my lock screen - not just navigation, even volume. Alarms have also started making no sound in the morning.

I've just picked up the habit of restarting my phone before I go to bed at night. I am just shocked that so many existing features got broken in odd ways.
> and the public may, if they deem that service unacceptable, demand of the researchers that they do not use it.

Many hiring requirements for researchers is that they have a published paper in X journal. Usually these journals are run by Elsevier, who takes copyright from the researchers. Are suggesting that the public lobby universities to change their hiring practices? (In which case you had better have a good alternative, otherwise you'll most likely be laughed off)

Anyway, your putting the burden on the public feels like just another way of saying "Someone else should do it". You're a member of the public, have you set up anything to demand that researchers not publish in certain journals?
They need to hit a panic button inside Apple, and use the time they've bought themselves by introducing 2018's hardware in 2017 (as they claim the X does), and focus 100% on software.

I think giving iOS design to Ive was an error, but even if they don't agree with that, they need to focus on software very clearly and very publicly, making iOS 12 a release like the old Snow Leopard MacOS release. Focus on quality and performance, not new features.
Ask HN: What are the best resources for teaching IT security to laymen?
I'm looking for any tools and resources to help teach the average computer literate user better identify and avoid common security threats. Ideally resources that can demonstrate how to avoid things like phishing emails disguised as invoices or account statements, fake Flash or Java updates, websites that use the name of a legitimate website as part of their sub domain, and other semi-sophisticated methods that an average computer user might fall for but can be identified with a little knowledge.
> most other t shirt design sites want ownership of your design forever

Threadless legal notice states you own and will maintain ownership of your design(s) after submission.
Yes, custom games between friends are already free with the Starter Edition. This latest announcement will add the first campaign, multiplayer ladder, and much of the co-op mode to the selection of free modes.

SC2 does not support LAN games so it’s all via Battle.net
Having been caught out in Tucson hailstorms with a 0% precipitation forecast, I'm not much impressed by "L5 for some regions, sometimes" myself.

L4, sure, map easy suburban spaces carefully and wake up your driver if things get weird. But L5 is intended to be human-parity, or at least have well-defined boundaries. It can give up and park until the snow stops, but if you're taking out the steering wheel it had better not stop more than humans do - and offer a "chance it anyway" button for if the snow isn't stopping.
Today I participated in voting (put your energy in the system!) in local elections and I must say, voting is something that would benefit immensely from blockchain ideas. Cryptographically secured ballots that are verifiable but also don't expose individual's voting preferences, it's very possible! Very intriguing.
Am I the only one who DID forsee Donald Trump becoming president? He is the most accurate reflection of what America has become.
I just don't like to see people made into indentured servants. Here's my radical proposal: let H1B's change jobs once a year, as long as they're employed somewhere in the industry they're here for and their visa hasn't expired, they can stay. "Sponsoring" companies should not be allowed to keep slaves.

I don't think your radical proposal makes much sense. What's the benefit to a country to basically throw its borders wide open?
When I lived in the Metro DC area (Bailey's Crossroads in NoVA) with a 1-2 year old we kept that stuff in the bottom of our stroller (mostly in a single medium-sized bag). We took the stroller everywhere via buses and trains. We very rarely drove our vehicle while living in DC since a couple grocery stores, several restaurants, and several department stores were within easy walking distance (about a mile) from our house. With the stroller, we used carabiners to hold bags on the walk back. For longer excursions (all day to a museum or zoo), I'd bring a backpack with misc stuff in addition to what was in the stroller. Our stroller had a detachable car seat integrated (the car seat set locked into the stroller when using it as a stroller), which allowed us to use taxis if needed.
Serious question here: Why not get rid of the closed number and charge a 100% immigration tax to the employer?

Cheap labor would be priced out unless American really cant substitute the imported labor. Employers would encourage employees to get a green card (as opposed to doing everything in their power to keep them chained to the H1B)

What are the negatives (except for the obvious problems of taxes, of course)
Some schools may do that because schools are often used as polling locations. They may be concerned about security and logistics when there are lots of different people going in and out.
Okay, hire 23 year old americans instead of 40 year old americans.

Still not seeing why it's wrong.
Young french software engineer here. I was an intern with a J1 for a year in a company in san diego. I'm working remotely since last february.

My H1B got picked in the lotery but I received an RFE early august. I had to write a ton of technical doc about my job and the system I work on. The documents were submitted mid-october. I received my approval last week.

I guess if your application is legit you don't have much to fear about getting an RFE.
Back in the dual floppy drive days, I vividly remember getting the diskcopy a: b: right but accidentally placed the blank in a:.

I vividly remember doing it a second time some months later. But never again.

In my defense I was an idiot and was 8 or 9 years old, so fortunately it was just some shareware game disk that I was trying to copy for a friend only to lose my only copy.

The error made here is in an enormously more complex domain, but kind feels like they just accidentally low-level formatted an important diskette.
>Right after the upgrade, batter would last for maybe 1 hour, tops, 30 minutes on average

What are you doing on your phone for that type of battery life? My phone (iPhone 6 Plus) has definitely been slower, but my battery life seems to be the same post upgrade. My phone is mostly idle throughout the day.
It is D-BHB, not acetone. https://help.hvmn.com/hvmn-ketone/what-is-inside-hvmn-ketone

When taken with carbs, as was done in the athlete studies, performance output increases because the body has access to both types of energy. The ketones are used first, protecting the glucose for later use.
I disagree. I agree they need to focus on quality and performance and be public that they're working to address it. But they also need to focus on adding new functionality to catch up with Android and other flavours of Android. The mobile market is moving a little too quickly for them just to sit still and not move for 2 years.
Sure, but if the attacker has physical access to the machine, I don't see many scenarios in which launching a USB denial of service attack would be the most effective thing to do.

Perhaps if the goal was to sabotage a presentation or some 007 style attack...

In any event, I didn't mean to say that the vulnerability is not worth fixing. It definitely is. It just seems like a relatively benign issue compared to the daily barrage of hair raising security flaws.
Yea general public thinks of programming languages in terms of human languages.

Learning one is super hard, learning two is almost impossible.
You must have never worked on a project with more than 10 people on it.
As for bartering being taxable, I wonder how employee-only discounts at retail establishments work? Is the discount amount taxable (or should it be taxable)? From my understanding of research tuition waivers, the PhD student is working for the university, and as an employee is getting a steep discount on the product (education) they normally sell.
> the driver may safely go to sleep or leave the driver's seat

That's going to be hard to do while you are wearing a seatbelt and I don't see seatbelt laws rescinded just because a vehicle is self driving until car accidents are exceedingly rare.
it looks like a great platform, even if it seems their userbase is not that big. Is that right?
RacinDirt Holeshots Live Racing Broadcasts with Mushroom Networks Streamer
The bill he endorsed switches to merit based immigration and cuts the number of green cards given out in half.
Man slow down and drink a cup of coffee.. enjoy life!