skysight-inc/HackerNews huggingface dataset:
Rust has flat level class: Struct and its implementation methods. No inheritance here. Struct method can be called as struct_obj.func1().

Rust also has Trait, which is like interface, with a set of method function signatures. A Trait is implemented for a Struct to have concrete method implementation. Trait supports inheritance.
> and activate the new 60 day grace period to find a new job.

Just FYI, this 60 day "grace" period is a bit of an unspoken rule, in reality though, you're expected to leave the US as soon as your job is terminated/visa is revoked, so make sure if you can that the terminating company doesn't revoke your visa within 45-60 days, or else you'll be in a lot of trouble, even if you find a company willing to transfer your visa in that time period.
Can you elaborate on that? What's an industrial simulation (compared to a "regular" simulation) and why do you like to solve it with inheritance?
Neil DeGrasse Tyson on Linguists and Arrival
>> AFAIK Its very rare to get a H1B denial or RFE, but YMMV

I have received an RFE in the past for stupid things like "Prove this fortune 500 company is real and paid you real wages".

This, after having sent my paystubs and W-2s.
>unrivaled in terms of intelligence, thoughtfulness, convenience, social justice, curiosity, work ethic, respect for tradition, ambitions for the future, and the ability to live your life in peace.

What about wealth and income inequality? And what is there to show in terms of social justice? And why is respect for tradition something to be valued? And the lack of laws that prevent discrimaniton (except for the constitution, which I've read only applies to the citizens)? I'm curious, not trying to come accross as attackative.
They already did, back in 2023.

[EDIT}: I meant they will in 2023. Maybe. We can't possibly tell, of course.
The concern expressed above was not about anonymity, but about requiring the approval of a third party to carry out a transaction. (Although I'm pretty sure Bitcoin does that too, but with multiple third parties in the form of miners.)
> user studies of programming languages

I feel like a lot of what I see is people want to establish that language X is much better than language Y, and I think that kind of study almost doesn't make sense with all of the relevant but poorly defined and difficult to control variables. A study around ergonomics of a few options in otherwise the same language is comparatively trivial.
Been there, done that.

No longer there! (Thank god!)

I got ill not too long ago. And the lost the one part of me that I had the most pride in, my intelligence. This "thing" got me carried away. I looked down on people who did not have it. I assumed that this was part of everyone. It gave me zeal and ambition. It gave me hope and burdened with me dreams.

And then I got ill with 106 deg. I lost my ability to recall memory. Before it my memory was on infinite replay. And now I could not remember my worst years of high school and best years of college.

Gone was my pride, my hope, my expectations. And I realized I deserved it.

What I realized after is that life is like a game of standing in front of projectiles. The longer you play, the more likely you are to get hit. The people who live on to 70, and never got really sick were very very very lucky. Another proof that God exists.

We are all bound to get hit. Some of us harder than others. And if you don't it is a miracle. A proof that God is there intending to be this way.

It may not be cancer or anything particular, but we are all likely to fall ill.
Struct is for data and Struct's implementation is for methods. Trait is like interface, just a set of function signatures.
I assume you are referring to the refugee crisis. Nobody claims that refugees help with the economy. Nobody is saying immigration solves everything.
The premium processing service has been around for years, most of the time there isn't a hiring freeze.

I guess if they were planning to use the premium processing fees to hire a bunch of extra people for the April application deadline the hiring freeze will stymie that, which just shows how stupid a general hiring freeze is.
Additional to what you don't need further comments about: you can ask for billing address at payment time and then validate it with a fraud checking company like ReD to prevent them just making it up, so that a card registered to an organization will have to out itself. Or if it's registered to a "front" that's designed to look residential, flag that address as dirty after having been caught in a sting and then propagate the dirty flag to other cards that also point there.
So much of the story and motivation around FirefoxOS seemed to be: "we want to take web browser technology and build a smartphone around it."

Or interpreted another way: "Our agenda is to take technology X and apply it to a problem domain that would not seem like a natural fit for it."

Meanwhile their competitors were trying to out-do each other in trying to produce devices that would satisfy consumers the most (sell more). It was, and remains, a ferocious competition.

If you want success in the marketplace you need to focus on delivering customer value first, and put the technology agenda second (if not way behind other priorities).
“Curating it” is the new “Crushing it” in tech
It seems like someone really wants Kalanick to step down.
Yes, I'm against corporate lobbying in all cases, even when they're lobbying for causes that I believe in like LGBT rights and net neutrality. I would be quite a hypocrite if I only supported corporate lobbying when it was for causes that I agreed with. Ideally corporations would have no place in politics.

And please don't conflate "doesn't support lobbying for XXX" with "doesn't support XXX". They're really orthogonal concepts.
I can confirm that company is Apple.
Windows Phone had some impressive Lumia phones with fancy cameras, but I
don't recally that they ever tried to fight Android on the lower end of the
market.

If anything, my impression is of the exact opposite. Windows phone tried to fight Android on low and mid-range handsets and abandoned the high-end to Apple. The later Lumias (the 650s and the 950s) were all in the 3-400 "midrange" that's dominated by Android. Microsoft hasn't put out something that attempts to compete with Apple in quite a long time.
Ask HN: What do you think of “Prosperity Without Growth” (2009)?
For those that have read the book "Prosperity Without Growth" (https://en.wikipedia.org/wiki/Prosperity_Without_Growth), what do you think of the ideas, notions and concepts contained within it?

More specifically:

1) Do you agree/disagree with the premise that is the first half of the book?

2) What do you think about the framework (for solution) outlined in the second half of the book?

For those that haven't read it, I recommend that you do.
Isn't that Uber's specialty?
No offence, but I hope you never can, because if you can, others can, and since Rust already uses '?' for something else, it's likely to just get confusing. Is the if syntax for ternary really that bad?
> Try it yourself and put something that attracts you in front of you and start working.

Easy solution. Turn 180 degrees. Ask the coworker you are now facing to change the desk with you. Problem solved.
So kissing at a party which was most likely consensual is now evidence? Give me a break.

You do realize that inter-company relationships and hookups happen all the time right? How is two consenting adults sexual harassment? This is still innocent until proven guilty right? Maybe not.
In most cases a foreign government spying on you is trading their insights with your government in order to sidestep domestic spying restrictions.
This is not true. 2015 freeze applied to all h1b applications including h1b transfers.
Further update: I now have a Rust program that is 100% safe code and is also faster than any of the unsafe programs (including the C and C++ entries):

https://github.com/TeXitoi/benchmarksgame-rs/pull/55
Researchers uncover PowerShell Trojan that uses DNS queries to get its orders
https://www.theguardian.com/business/2016/jul/01/macys-shopl...

Not killing, but taking of liberty and property through their own extrajudicial system of justice.
Any time you see a decimal floating-point constant with a nonzero fractional part that doesn't end in '5', you're looking at a bug.

depends on the language. for example here it is in go:

Pi = 3.14159265358979323846264338327950288419716939937510582097494459 // http://oeis.org/A000796
The tool that birthed and will kill fake news
>If Culture B was totally fine with adopting Culture A and adding to the culture rather than demanding things be done their way "culture killing" wouldn't be as large of an issue.

What if those in Culture B face problems? Should they not ask for change? What if those in the culture are citizens? The idea that people can't ask or demand for things just because they are of a different culture is ridiculous.

>and there are often calls to censor things that are seen as being totally innocent in Japan.

What are you referring to? At a guess, I'd say lolicon/shotacon pornography (which often faces calls to be censored and has been censored in many countries), which is hardly seen as innocent anywhere. That said, I very strongly disagree with the idea of censoring it.

I find the idea of 'culture clash' to be ridiculous, and the reason is that even within cultures there is a huge aemount of variation as to how things should be done. So why are those people legitimate (such as the Japanese Marxists) but those of a different culture are not legitimate? How is 'culture' even defined, and what elements must one have of it?

It's a very nebulous concept so I do not think that drawing the lines you are drawing makes much sense with regard to actual human interactions. Or I could be misinterpreting you, in which case please correct me. I'd say that ignoring people who are complaining is a very dangerous thing to do, in terms of the happiness and benefit for all in society, not just those of your tribe/race/hair colour/football team/culture.
Once you get the reference code, indicating that USCIS received your case(but deadline unknown), you can go to the new company and work.
If you don't like to have to load an external file (+ an extra request) you can use my library uwork: https://github.com/franciscop/uwork

It has some limitations, but for long lived process intensive and async functions is perfect. It has a really clean and easy syntax where you don't need to learn everything about Web Workers and their APIs to be able to use it.

If you are already using promises you might not even need anything besides wrapping the function in a callback.
It's sad that sweatshop owners have to go to such lengths to avoid busybody government officials from interfering in peaceful commercial transactions with children. The people of the United States should fire these officials. Not only are they wasting taxpayer money, but they are also imposing costs on manufacturers and their customers.

Uber has demonstrated a willingness to treat their employees like shit. The fact that local governments haven't interfered more is a testament to the pervasive attractiveness of two-bit libertarian confusion. I don't want to be driven around by a driver on their 14th hour of work. I don't want to be driven around by a driver with a poor driving record. I don't want to be driven around by a worker who is being exploited because they have been wrongly classified as a contractor and willfully mislead about their earning prospects. That's why we have government labor and safety regulators, because the profit motive is constantly in conflict with the rights of individual works or customers.

Don't like e coli? Don't like false advertising? Don't like children smoking cigarettes? Don't like predatory lending? Thank a regulator!
Yeah, I worked in a low level high school in Japan. People don't realise that for every high level school (where students are virtually all prepping for university entrance exams), there or 4 or 5 high schools that are prepping students for trade schools and/or jobs.

Having said that, high level high schools in Japan have a bigger curriculum than what I was familiar with (in Canada). They will cover quite a lot of the stuff that you'd cover in first year university. However, I'll agree that it probably isn't that much different than what students voluntarily cover if they are trying to get into competitive universities in the US, for instance.

Finally, I'd like to echo that students in low level high schools in Japan generally have a lot of fun. It was probably the best atmosphere of any place I've ever worked. Obviously there are some students that are having problems, but the vast majority really enjoy this time. You can see it on their faces -- smiling all day long.

I'm not planning on having kids, but if I were, I wouldn't hesitate to put them into the Japanese school system. Personally, I love it. There are advantages and disadvantages, but as long as the parents aren't pushing their kids into places they don't want to go it offers a lot more opportunity, IMHO.

Just one last point, since it was raised above: employers do spend a lot of time training. I had a friend who graduated from a prestigious university as an engineer. She went to work at a fibre optics company. She spent the first 2 years there building cables and studying. The company wanted to make sure that she understood everything about the business from top to bottom. Now nearly 10 years later, she's managing an engineering group. Very different environment.
> "This is what I don't want to become."

Very much doubt this is due to our history of immigration.

Is this the same kind of logic that says gay people shouldn't have kids people the bigots will bully them?
Related work:

* Penrose graphical notation. https://en.wikipedia.org/wiki/Penrose_graphical_notation

* Trace diagrams. https://en.wikipedia.org/wiki/Trace_diagram

* Trace diagrams for Hopf algebras. http://tmp.esoteri.casa/hopf.pdf

* Frobenius algebras. http://math.ucr.edu/home/baez/week299.html

* Temperley-Lieb algebras. https://en.wikipedia.org/wiki/Temperley%E2%80%93Lieb_algebra

* Planar algebras. https://math.berkeley.edu/~vfr/VANDERBILT/pl21.pdf

* String diagrams for 2-categories. https://en.wikipedia.org/wiki/String_diagram

* Diagrammatic algebras in general. http://mathoverflow.net/questions/168888/who-invented-diagra...

* Begriffsschrift. https://i.ytimg.com/vi/KFYvF3t1xUM/hqdefault.jpg

* Existential graphs. https://en.wikipedia.org/wiki/Existential_graph

* Laws of Form by Spencer-Brown. https://en.wikipedia.org/wiki/Laws_of_Form

* Opetopes. http://mat.uab.es/~kock/cat/zoom/scan.jpg
Well that's about how long the Naga lasts for me. I just budget ~$50/year or so for a new one and don't really worry about it. If I could find a quality replacement that has the like 14 or so buttons it has then I'd go for it. But at the moment I use every single button and wouldn't give it up for anything less.
An opportunity to write a great screenplay and make a blockbuster movie.
Right, but that alone shows that the reason they didn't go for the cloud for those has nothing to do with the capabilities of it, just that the locations are not close enough to their userbase to make sense.

Put another way, if there was a cloud DC in each major city and Netflix hadn't already started using their own edge nodes, then there's nothing stopping them from spinning them up in each cloud DC as opposed to their own hardware. There's nothing inherently special about their setup except location.

Nothing about this situation says that Netflix "realized its "too core" to give to someone else." I don't quite understand how you're making that leap. Instead, they had a very specific requirement (that most companies don't have, mind you) that current cloud hosts can't provide. Nothing else.
I've used it for background image manipulation before.

Paint the image to a canvas, then grab the imagedata off of it, split it into as many parts as you have threads, then use the "transferrableObjects" property of postMessage to zero-copy transfer the data to each worker to be processed, transferred back, and re-stitched together.

It's pretty powerful and suprisingly easy to work with once you understand it.

[0] is a snippet from the code, but be gentile... It was a personal project where I was trying out polymer 0.5 and made a lot of questionable design choices...

Also, I've heard of the idea of using webworkers as a "first class" platform. That is do all of the core parts of your application in them and only use the "main" thread as a "ui" thread. I haven't gotten a chance to try it out, but it seems like a great idea that could really work well in some SPAs.

[0] https://github.com/Klathmon/stitchpics/blob/master/app/eleme...
Is this supension for h1b new petitions or extensions as well?
Hi all, is this applicable to new h1b petitions or extensions as well?
you left out a word "credible" for eyewitness
If they're reading this, here's my wishlist:

1) 15.6 inch laptop (14 is too small, especially with those bezels).

2) As thin of a bezel as possible (see XPS)

3) Camera on top! I don't want to show my fingers in conference calls. This may force the bezels to be larger on top, that's fine. (Pop-out camera?)

4) Offer the highest quality display from a color reproduction point of view, not the refresh rate. This is NOT a gaming laptop, or at least not a pro one.

5) The resolution should allow me to use the OS without scaling. If you can squeeze more than 1080p (1440?) the better. We need vertical space for coding! Some folks like 4K, so that should be an option.

6) Connectivity is important; lots of ports. Also, Intel WiFi cards, not Killer.

7) The sound should at least be decent. I don't understand how a phone can have better (ok, lounder) sound than a laptop.

8) Give us an option to optimize for power vs battery life. I want the fastest CPU (within reason) and a good GPU (1060 or 1050, but ideally 1060) at the expense of battery life, but others would like more battery.

9) I'm picky about the SSD that goes into the laptop. Either allow me to replace it or allow me to pick what I want (960 Pro).

10) Good trackpad, ideally with buttons.

11) Good keyboard, super important...

12) Under 6lbs

13) Cooling has to be top notch and the air intake cannot be on the bottom. I actually use the laptop on my lap.

14) Height should be around 1 inch. Making it super thin like MBPs is not worth the tradeoffs.

15) That logo needs to go or at a minimum don't make it glow...
Currently living up in the Sierras along the Feather River, it's no surprise the amount of water that went rushing down into the Oroville reservoir. Even at about 4500 feet, you had about 3-4 feet of snow that ended up being melted by a significant amount of rain.

That is quite a bit of water rushing down that way.

Interesting times and the videos are quite educational.
Or, for an even scarier example, the way that payment processors have forced FetLife to restrict the kinds of (legal!) fetishes people are allowed to discuss on the site.
Your example would be better put to government officials trying to shut down Uber.
I doubt that MIT eschews computers for project based work. No MATLAB on a chalkboard.

Similarly, when computers are used sensibly in the classroom they are tools applied to certain parts of the instruction, and not the only medium of instruction.

That's true regardless of the equipment manufacturer.
I would have expected "making math more legos like" (US English) or "making maths more lego like" (British English). Instead we have a hybrid version.
Stop saying that! It's a foreword. Like 'foreplay' but with 'word'.
This has nothing to do with Trump, or national threats. No F1B holder is superior to the others, but I'm glad that there's a way to jump the line if you have the means.
Of course not *anybody* can make a well-performing web app, just like not
just anybody can make a well peforming Android app.

Now that's a false equivalence if I've ever heard one. Making a well-performing mobile website that does more than display text is really difficult. The tools one uses to build and test websites are all geared towards desktop development. Only recently have we begun to see browser vendors adding support to their dev consoles for mobile devices, and those tools still aren't nearly as extensive as the tools one uses for native app development.

Moreover, both iOS and Android have pretty decent documentation around how to use their APIs and what one needs to do to make an app that responds to user input nearly instantly. For the web... well, to call Javascript performance tuning folklore does a disservice to folklore. It's more like rumor and witchcraft.

Speaking as a C programmer who was pleasantly surprised by the change

Well, that sort of explains it, I guess. You moved from one platform with crappy tooling to a platform with ever so slightly less crappy tooling. Of course things look like an improvement to you. Meanwhile, to programmers coming in from Java, .Net, or other, more "corporate" languages, the lack of tool support for Javascript makes it really difficult to write good apps in a reasonable amount of time.

Now you might just say, "Well those guys are just shitty programmers." Fine. I agree with you. But somehow, Android and iOS allow even shitty programmers to write functional workaday mobile applications. HTML and Javascript do not (at least, not on mobile). So by that standard, HTML/JS is an objectively worse platform.
On what basis do you establish "most likely consensual"? If the makeout partner was a subordinate, they may very well have been coerced, EVEN in a setting such as that. Risk takers thrive on risk taking behavior.
Hmm, so if Japan was to accept a bunch of Muslim refugees from Syria but ban the women from wearing hijabs would you call that racist?

Japan wants people living in Japan over the long term to adopt Japanese value and mannerisms.

They value this because they want a harmonious society.
So, saying the bar's closed would be ethically unacceptable but just saying you're not allowed in isn't? I'm afraid I don't agree with this being a clear ethical distinction.
> Wait, so people use git and they don't know this?

Oh God yes.

> How?

The same reason nobody seems to bother to read the RFC describing the standard they end up implementing badly, I presume.
I have lived in Japan since I was a teenager and people have been predicting an economic collapse leading to the end of Japan since before then.

Not saying that you're wrong but it's not the first time I have read that comment.
It may not be illegal to try and avoid a ticket, but imagine the sixteen year old who wants to give your kid a ride home from school says with a wink "Don't worry. I use Waze." That might make you think twice. If you're going to a lot of trouble to avoid law enforcement, doesn't that suggest you may be doing something illegal?
That powers are sometimes used for good does not imply the existence of those powers is a net positive.
This is a tough one. Lou Reed isn't the most accessible musician around.

If you're looking for a single song, "New York Conversation" provides a good luck at Reed. It's a fun little song on Transformer, which is likely my favourite Lou Reed album.

That said, Lou Reed is generally best served in entire albums. If you're willing to give an entire album a listen, Transformer is a good bet. But, I'll warn you, if you found Walk on the Wild Side a little too off key for your taste, Satellite of Love will flat out hurt.

If you're willing to go a little earlier, the Velvet Underground is an amazing album, though it veers into art rock territory.
Well, it's not business-as-usual, that's for sure.
It's better to have recourse. Either everybody waits a ton of time, or some people barely wait and some people wait a ton of time. Why drag everybody down to the lowest common denominator because of "fairness"?
It's really unfortunate you have to step down from a 1060 to a 965M but step up over $1k in price.