Better HN
topnewbestaskshowjobs
Log inSign up

akshat_h

290 karma · joined Jun 16, 2015 (11y ago) · 111 submissions

Submissions

comment 4y ago · link · parent

It is technically not the arch way to use aur helper, but I use paru instead of pacman which shows arch news before updating.

This makes sure I get any arch news before potential breaking updates.

comment 4y ago · link · parent

So why do we ask them? AFAIK, it is engineers asking these questions and also criticizing the same metric.

I think it is a case of this being the least worst option.

comment 5y ago · link · parent

I haven't personally used this, but does this work?

GC.TryStartNoGCRegion Method

Attempts to disallow garbage collection during the execution of a critical path.

https://docs.microsoft.com/en-us/dotnet/api/system.gc.trysta...

comment 6y ago · link · parent

If anyone is curious, it might be this talk.

Moishe Lettvin - What I Learned Doing 250 Interviews at Google. It is on Etsy Eng channel Youtube url with the relevant time frame https://youtu.be/r8RxkpUvxK0?t=532

comment 6y ago · link · parent

Thanks!

Yes it is for the same employer. It will be with extension of status, and not consular notification, AFAIK, so that clears up my situation.

comment 6y ago · link · parent

Thanks. I am in US and don't have any travel plans now.

Was wondering if I'll have to leave and come back to get valid I-94, which will be tricky due to the Executive Order on visas.

comment 6y ago · link · parent

Does an approved H1-B extension necessarily extends the i-94 date?

If not, is the only alternative to leave the country, get a new visa stamp(which is not possible till Dec 31, AFAIK) and reenter the country?

comment 6y ago · link · parent

H1-B has other issues but regarding H1-B working for 10+ years, it is mostly due to country caps for green cards.

H1-B do get sponsored green cards, at least for the non-startup companies. IIRC, any H1-B having more than one extension i.e. > 6 years has to have a green card application pending. H1-B doesn't have country caps.

The green card system however has per country caps, which impacts primarily people born in India, China, Mexico,El Salvador, Guatemala, Honduras, Vietnam and Philippines. If you are born in Greece and come to USA on H1-B where a company sponsors green card for you, you would get it in around 1-3 years.

Source: Was born in India and also had a roommate from Greece who got green card in about 14 months after being in USA.

EDIT: Added El Salvador, Guatemala, Honduras and Vietnam to list of countries impacted based on https://travel.state.gov/content/travel/en/legal/visa-law0/v...

comment 7y ago · link · parent

and you'll have to GTFO the US within (IIRC) 2 weeks.

I think there was a grace period of 60 days introduced in 2017 though I am not sure on the status of it now.

comment 8y ago · link · parent

I don't think r/the_donald is quarantined.

There was some issue with sticky threads not rising as much to the r/all that impacted r/the_donald, but otherwise, I can still see posts from that sub on the front page though I do have to scroll quite a bit.

comment 8y ago · link · parent

Discussion yesterday on a similar article titled: Cisco Said to Be Cited for Bias Against U.S. Workers (bloomberglaw.com)

https://news.ycombinator.com/item?id=17804755

comment 8y ago · link · parent

Does Steam take a cut for in game purchases? I think the major issue here is with companies having app stores inside app store. All the companies mentioned i.e Amazon, Steam seem to allow in-app purchases at a scale quite different than normal apps. It does seem weird that if I am purchasing an item through Steam's app store, Steam has to pay Apple.

I mean it would be like Amazon paying Apple a cut, if I buy a TV from amazon. AFAIK, it is only for digital goods that Apple charges, but I am not sure how the demarcation works.

On the flip side, if Apple/Google allow any app to use in-app purchases without a commission, then all apps will use in-app purchases for everything.

comment 8y ago · link · parent

As an H1B, while there is employer tie in at some level, I am free to change jobs. What I am not free to do is to stop working. That fear certainly does indirectly result in lesser job mobility.

For example, opportunities like say going to Recurse Center, or having the freedom to have a decently long sabbatical etc. even with a 6 month emergency fund are not available. The other thing is no freedom to pursue any other job, i.e working on a startup idea during the evenings or weekend, or writing a technical book etc. for money is not allowed.

There are certainly issues with the H1b system, i.e. the lottery, low salary cap, multiple applications per person to game the system etc, but employer stickiness is not one of them, at least for people who are qualified.

The major problem is due to long wait for green card for people from China, and almost impossible wait for people from India. My friends who were not born in these two countries have been able to get a green card within about a year, after getting an H1B, while I am looking at a more than 20-30 year wait.

comment 8y ago · link · parent

AFAIK, the number considered is salary, so the number is decently high, even for bay area. There are some exceptions like Netflix, but a lot of companies pay majority in equity, especially at higher salary levels.

I don't know how easy/difficult would it be for companies to move from equity based compensation to normal salary though, if something like that is implemented.

comment 8y ago · link · parent

It depends on the passion as well. Not all passions are equal and can be easily transferred into a successful career. Assuming you have multiple passions, my personal advice would be to maximize money/time ratio for your career that corroborate with one of your passions to have some job satisfaction as well as pursuing your other passions.

For example, if you have a passion for say writing and computer science, I would recommend to get a job in CS, since money/time ratio is usually higher there.

16.

Rise of citizen developer: assessing security impact of online app generators(blog.acolyer.org ↗)

2 points · by akshat_h · 8y ago · discuss

comment 8y ago · link · parent

Yeah, I think op was joking/trolling as well and I fell for it. Honestly I expected something like Scratch as an answer.

comment 8y ago · link · parent

I can see it being 'fun' in something like Scratch. I expected op to reply with either some edutech or some domain I hadn't heard of. It does however seem that op is trolling, and I missed it.

comment 8y ago · link · parent

I am quite curious of the domain where you use emojis in function name? That sounds fun, and also from what I have seen of unicode support somewhat terrifying.

I work mostly in enterprise backend so variable names are typically boring, but I have never heard of emojis being used in var names.

20.

The most important study of the Mediterranean diet has been retracted(qz.com ↗)

2 points · by akshat_h · 8y ago · discuss

comment 8y ago · link · parent

I think this is also because no one really teaches you how to interview. Giving multiple interviews doesn't, at least IMHO make you knowledgeable to be on the other side.

It is kinda at a certain level in your career you are expected to just know how to do it. For other skills like management, you at least have your peers who are doing the work day in day out, who you can learn from. Interviews are closed room, usually, though I have had some where one person was shadowing the interviewer.

Also, if you take a terrible interview, its not gonna really impact you. There is no performance report that'll negatively impact you. There will be another candidate, who you'll have a rapport with. Or someone else will interview someone else.

As you said in your anecdote about the binary search problem, not everyone is best at being an interviewer.

But aside from there being a dedicated person for interviewing for big companies, or outsourcing interviews for startups, I don't really see a solution. And outsourcing, whether internally or externally comes up with its own set of problems.

comment 8y ago · link · parent

Aren't a lot of so called 'algorithmic problems' similar to brain teasers? If you have seen it before, you'll know it. But otherwise, there is not much chance of you cracking it without an 'Aha' moment, which may or may not come during the one hour allocated for an interview.

Weird tricks in bit manipulation, linked lists, array, hash problems etc. are all standard in interviewing and are still used, even at Google, at least 2 years ago, when I last interviewed there.

This works though as Google's, and the industry in general has a policy of rejecting candidates, rather than accepting them, because hiring is very risk-averse. Candidates switch jobs frequently at the beginning of their career and so there is a rotating pool of good candidates the companies can pick from.

comment 8y ago · link · parent

Interesting approach for optimization of an algorithm that I haven't seen in any books(as the author also mentions).

Is there any comprehensive resource for these, or does everyone kind of fiddle around and stumble on these independently. I have always been curious about 'hacks' such as the Fast inverse square root method. How does anyone figure these out in the first place?

24.

Greater speed in memory-bound graph algorithms with just straight C code(lemire.me ↗)

1 points · by akshat_h · 8y ago · 1 comment

comment 8y ago · link · parent

Thanks! I was getting confused between stack data structure, function stack and stack space and had gotten to a weird mix in my head. The example cleared it up.

comment 8y ago · link · parent

This is kinda similar problem to the advice given of "Build Something" given to new programmers. For a long time, I thought that meant "Build Something completely new and fascinating" and I would spend days trying to find something to build, see examples of it already present and give up. Recently I have realized it doesn't really matter. Sublime text had the first release in 2008, a time when I would have said Text Editor market is saturated. Visual Studio Code was released even more recently, and still gained sufficient market share. Now will you write the next Sublime text? Probably not, but that doesn't mean writing a new text editor, music player, heck even a todo app is a bad endeavor to learn. And it'll be really hard to write sublime without writing a notepad clone.

My main point here is, even if you are writing about the most mundane topic, in CS there is bound to be something, a different command line flag, a different point of view, something old rediscovered etc. just by the virtue of writing on it. Will it happen on your first attempt? Probably not.

You can start to write about the most mundane or the most esoteric thing. Only with practice would you find a niche, and there eventually will be some gems.

comment 8y ago · link · parent

Any examples of code for this approach? From what I guess, you are implementing some kind of assembly like approach with explicit saving of stack frame, but I am having a hard time imagining it as being easier.

28.

Validating UTF-8 strings using as little as 0.7 cycles per byte(lemire.me ↗)

20 points · by akshat_h · 8y ago · 1 comment

comment 8y ago · link · parent

It does seem similar to my experience when changing jobs or changing stacks, but I don't see this happening after the settling in period. I am not working in web dev though, so maybe the experience is different.

Another thing that stuck me was about the use of a semicolon, comma etc to get working. It is a common pet peave when searching for documentation.

For example for a command

$ program <file_name>

Is file name in quotes, <>, or something else? What to do if there are quotes in the filename? Single or double quote? Two examples in the documentation, one simple, and one as complex as possible would be great. This is one thing I end up going to stack overflow again and again.

30.

The Story of Me-A real programmer(hackernoon.com ↗)

1 points · by akshat_h · 8y ago · 1 comment

1234