skysight-inc/HackerNews huggingface dataset:
Go's not existent standard library is almost a deal breaker for me.

The lack of even a dynamic array (c++ vector, Java arraylist) means you write a lot of 2-3 lines of slice notation phrases that require stopping and thinking about indices you wouldn't need to in other languages (and creating a lot of zero length slices for boundary conditions that shouldn't be needed). Also no balanced tree is a big issue (googles side implemention sucks in that the comparator cannot be passed in).

I recently tried to write some small library functions using sqlx to do arbitrary sql queries and then some munging of the results before returning it. It was extremely difficult.

The language feels half done at times. I find it hard to believe that Google used it much internally before releasing it. So many unfinished corners.

Generics would go a long way to fixing some of these issues.

While the ahead of time compilation is nice and had lead to me using it for things that need fast startup (some shell like scripts and literally old school cgi), it often seems like a worse Java.

If you don't like Java's verbosity, go's from my small use is about twice as bad. 300 lines of go does surprisingly little - part of this is gofmt's fault though.

Also, does anybody know of good performance tests between Java and go? I mean like well written and optimised. Most tests over I've are very poorly written and do dumb things like include hotspot startup and compilation times. Hotspot can generate some very slick code, but it just takes 10k passes to get up that point.
If I understand correctly, the higher memory latency is a between-chiplet problem for the most part, with the highest latencies being between CCX's.

If you don't game, I see absolutely no reason not to buy Ryzen, but you might not need to buy an X570 mobo.
For the LuaJIT family to die all that's necessary is for people to stop selecting it for new projects. Time takes care of the rest.
... but still dog slow. Sorry, it matters.
"Land of the free" is propaganda, plain and simple.
I'm well aware of what undefined behavior is. I still know it's undefined behavior and can read my compiler manual to answer the question of how the code behaves. "I don't know" is simply wrong.
On iOS Safari, click the readability icon in the url bar. Usually works (not always).
Astronaut Drip Star War Shirt
As I mentioned in another comment[1], you can create a simple git alias which does this for you so you can do everything from git without needing a GitHub-specific client.

[alias]
pr = !"pr() { git fetch origin pull/$1/head:pr-$1; }; pr"

[1]: https://news.ycombinator.com/item?id=20374136
On the contrary. With idempotence you know the state after an action. rm -f will always delete the file (if possible). ln -sfn will always work, even for a directory.

With the default behaviour of rm, ln -s, etc you know neither the state before, nor after.
Did you know you can move macOS window by edges?
Drag an edge in a direction 90-degrees to how you would resize then keeping the mouse/trackpad down move the window in any direction.

e.g. click-hold middle of right vertical edge of window, then drag up (or down) then while still holding button drag to move window in any direction.
I don't know, it seems pretty clear to me.
It beats doing

let newScore = (await (await fetch(url)).json()).ID

and no, a myriad of intermediate variables is not always a nice alternative. This syntax gives a clear view of what happens to the data without having to untangle deeps expressions. I like it.
Yes, indeed. Thank you!

I tried spacing it a bit just not, it does look better this way.
Are these actually on sale yet? I don’t seem them listed an Amazon.

I’ll be using this soon to build a MAME arcade cabinet, probably along with the new GPU.

One thing Intel has the advantage is in the engineering desktop. I use a couple of programs that are compiled with Intel compilers. Also one that uses AVX 512. Will Intel compilers optimize for AMD?
The State of Voice Assistants: Where's the AI?
In that case it would make more sense to move the smaller cores to a PCI card a la Xeon Phi.

The programming paradigm to enable this exists, it's just pure functional programming. But people are intimidated by Haskell.

We need more investment in functional programming before the dream of a 1000 core computer can be realized.
I was trying to help by explaining it, instead of saying go read K&R, but I don’t get the feeling you really heard or understood me. There is no other story. There is no yes and no. There is only no. You cannot manage to do it. It does not work to return local memory from a function, ever, period. Once you return, it is 100% unsafe to try to use the memory from your previous stack. There is absolute zero comfort in recursive calls.

You are mistaking some luck in having it not crash once for thinking that it’s okay in some situations. It’s not okay under any circumstances. That’s what makes this even more dangerous. Your program could crash at any time. It might run a thousand times and then suddenly start crashing. It might always run for you, and then crash on other people. But just because it runs once without crashing doesn’t mean it’s working.

A signal is not the only way your function’s stack can get stomped on the very next instruction after you return. Other processes and other threads can do it, the memory system can relocate your program or another one into your previous memory space. Recursive calls are guaranteed to stomp on previous stack frames when your recursion depth decreases and then increases, the previous stack will be overwritten.

Returning a pointer to a local stack frame is always incorrect. It’s not risky, it’s wrong.

BTW: you have the ability to see comments below the downvote limit, go to your profile settings and turn on showdead.

I didn’t downvote you, if that’s why you were trying to explain voting behavior to me, but you will find on HN that downvotes and upvotes both happen for a wide variety of reasons, and are not limited to either whether people agree, nor whether the comments are polite. Downvotes are often cast for comments that break site guidelines, for example just failing to assume good faith can get you downvoted. So can making blanket generalizations about a group of people, like the above “I guess C programmers do not know the difference...”. See the comments section here: https://news.ycombinator.com/newsguidelines.html

I sometimes upvote what appear to be unfairly downvoted comments to me. I usually upvote people who read and respond to me, regardless of whether I agree with them.
I read this a lot and am genuinely curious why java is considered to be so much more complex than go. From what I understand java is still a “fat binary” that runs in the jvm. The only difference I see is with go I don’t need to install a vm but the tradeoff is my java app would run anywhere whereas I have to compile a go app for my platform. Is there some element about java that I’m missing here?
I bought a $700 chair on Amazon and returned it after a week. Then I found this and it has been great for the past 3 years:

https://www.amazon.com/gp/product/B0049UCECE/ref=ppx_yo_dt_b...

It is $200, sturdy and adjustable. I am 6 foot and 200 pounds.
Usually, lack of insects near humans is because humans destroy or remove their habitat and food - mainly decaying plant matter (fallen trees especially). Insect populations then dwindle, which means bird populations do also. If birds start to reappear because of backyard bird feeding, I bet the insects were already gone (or the birds wouldn't have disappeared in the first place)
Spam was stopped by free market competition for email accounts. You still get tens of spam messages each day, but you don't see them because your spam filter is good. Telecom monopoly is the reason robocalls still exist. This problem's solution was found a century ago with the Sherman Antitrust Act, but the government refuses to enforce it.
If they manage to get SBSA support then they will need UEFI by default. Doesn't mean they couldn't use Coreboot as a first stage loader with an EDK2 payload for all the EFI bits.
>CNN, MSNBC, and other networks make it perfectly clear they are anti-Trump, in fact most of the media seems to be in agreement with that.

By focusing on how much they hate Trump, what are they not focusing on? What have they all decided has been solved off-screen that you shouldn't worry your head about?

>I mean almost everybody seems to agree that Trump is bad. YouTube and Fox seem to be the exception.

Why are those the positions? And if judging the president was about good governance, how did this split happen across brand lines? And you're saying this as a point _against_ the idea of oligarchs controlling the public discourse?
Why do you ask that?

I work partial remote and every day I go to the office I wish I was fully remote... not because I hate the office (I love it, and really enjoy my co-workers) but because I hate commuting.
> "In Norway, the punishment is just to take away someone's liberty. The other rights stay. Prisoners can vote, they can have access to school, to health care; they have the same rights as any Norwegian citizen. Because inmates are human beings. They have done wrong, they must be punished, but they are still human beings."
> "In Norway, all will be released - there are no life sentences," he reminds me.

Really? Even with this low recidivism rate, I find this hard to accept somehow.

I don't even think deranged people like serial killers and pedophile rapists can change.

Even if they could theoretically change, why would we accept them back in society and spend any resources on them after they did that?

That doesn't make us more human. We are redefining 'humanity' to match our politics. But we have evolved over millions of years. Those two things can't coexist.

(edit: removed a paragraph, it was kinda OT)
The mix of the old and the new seems to be quite the dominant paradigm these days: I'm mostly working on complex web development projects, and using Emacs to seamlessly navigate the sea of mostly text-based environments (JS, Python, PHP, bash, git, docker, multiple configuration environments, etc.) simply proves an invaluable asset. I've tried several times to "move on" (most recently to VSCode, which is really quite good), but I've always been gravitating back to Emacs.
Reposting this post from 2018. Most of the issues still remain unsolved in 2019. Looking forward to the comments from the HN community.
Having just gone through the interview process with a very well known tech company, as someone who is honestly pretty terrible at interviewing, I think some companies actually get it. It's really a matter of the interviewer at play. Two of the phases I went through really aligned with the company's needs. I was interviewing for a SRE position, and in one phase they gave me a broken EC2 instance that had been manually configured and asked me to get it back up and running. That's a legit task that I've had to do in daily work for years, because there's ALWAYS going to be someone that does a quick hack to get something working and forgets to productionize it. It was a completely contrived box that didn't actually serve customers, but still a good exercise. In another phase, they had me completely blind fire design some infrastructure (without a complete picture of what the current state of the application is) to lead toward a scalable solution for a real problem they're facing. While, yes, that's basically them getting me to do unpaid work, since I didn't put hands on a keyboard during it and really just talked it through with them, I feel like that was a great exercise in seeing how I thought and could work with a member of the team.

There's no truly bulletproof solution to interviewing, because the needs of every org are different, and the skills of interviewers are rarely nurtured to the point of usefulness. Sometimes you just have to luck out and get a good interview.
I am building a product/startup [1] to address some of the problems you mention, and as a result, I've been talking to hiring teams at several companies, so I can give you some reasons why the processes are bad.

* Hiring is a marketplace, and supply/demand is not always balanced, so most issues related to job search/hiring is due to this.

* When a company posts an ad for a job, they usually receive about 150-200 applicants within 2 weeks, thanks to job boards, LinkedIn etc. Unless it is for specific high-skilled jobs, in which case, they receive hardly any applicants at all.

* Most of the applicants are usually not a match for the job, but given the number of applicants, recruiters rely on resumes, social profiles etc to shortlist about 20 applicants.

* Tests and assignments are quick means to filter, hence their popularity.

* Not much of an incentive to keep applicants posted at every step, plus, managing communication with a few hundred applicants for multiple positions is hard - so you're most likely to receive only automated communication from the hiring team.

I believe that having a clear specification of the job, that can be checked/validated with applicants is critical to ensuring a smooth, fast interviewing process.

[1] - Shameless plug to my startup (in beta) - https://www.interviewpass.co. If any of you are interested in using InterviewPass in your hiring, drop me an email at suresh@interviewpass.co - happy to help set it up for you.
Take a deep breath and step back. I'd also give this advice to those you're arguing with.

I for one am receptive to what you're saying, but I'd prefer it without the put-downs.

This is a perfect example of an interesting debate that is being destroyed by personal attacks.

P.S. I've upvoted your comments to try and prevent them from being flagged / killed.
Right,the problem is that GDP is a bad metric that only counts dollar spend and doesn't count destruction of value via externalities.
That worked for me! Thanks!
People giving remote-specific response as if that is the only problem. It is probably a contributor as well but frankly I have had very similar experiences interviewing for non-remote jobs.
>opening their hardware has allowed open driver development to keep parity with the proprietary, negating the GPU vendor as middleman problem

Except until recently, AMD GPU performance was a bag of wet farts for both industry and gaming.
I really hope that there is a method in all this madness.
I'm not sure about it but my guess is that he is keeping dirty look on purpose to make it less appealing and lower risk of theft or robbery.

If this is not the case then I'm not sure what to think about it, all this clutter and dirt...
Intel's L3 is sharded out into 2mb chunks on a ring bus too so I would have expected more comparable numbers. Is Intel's QPI link and cache coherency implemention that much better?
Why would you use a build tool when you're not writing a build script?
It might be a data collection problem--the JMA has deployed a pretty dense network of sensors over their entire territory, which makes sense given how geologically active it is.

In fact the Earthquake Early Warning's "next steps" plan says "New sensors need to be added in California to shorten the CISN sensors spacing to approximately 12 miles to facilitate timely EEW. The shorter the station spacing, the smaller the blind zone will be because warnings can be issued faster."

Check out this map comparison of the two networks: https://earthquake.usgs.gov/research/earlywarning/images/sta...

https://earthquake.usgs.gov/research/earlywarning/nextsteps....
It is still important in compilation. That means it affect developers work many many times per day.
I can understand working towards having leadership positions reflecting more of the breakdown of society in terms of gender, race etc. It promotes diversity of ideas and inclusion.

However there is nothing I can see that dictates that simply having a vagina between your legs somehow makes you value and consider environmental impacts more. Sorry but no, just no!!!
I've used both vim and emacs in various incarnations over the course of 30 years. After all that time, I hate emacs, and I tolerate vim because sometimes I need a remote editor. Are they powerful? Yes. Are they useful for the things I do as a developer? Not really.

For everything not remote, there's sublime text or a real IDE.
Clickbait. Also not laundering as it starts with Bitcoin.

> Authorities were first tipped off in 2016, and inmates found success with their scam a total of 43 times.

> “Out of those 43 transactions, all deposits made onto commissary accounts, it was just over $8,009 in theft,” said Cardillo.
I am sympathetic to the situation. I bought my long awaited Amiga 500 about the time the 600/1200 came out. Went up going for the 500 since it had more after market support but the higher res and the 020 would have been nice in the 1200.

One really needs to ensure there will be supply and attainable bulk pricing when building a niche device like this. I understand the desire to use some esoteric part like the PA6T, and with the expectation that it was going into a mass market laptop, that it would be available.

Is there an effort to get Amiga running on RISCV? Custom silicon is also within reach starting at about 1k$ Machines are so damn fast now, you could run the whole thing in emulation, in Wasm inside of Firefox.
If we helped them grow, could they help reducing the co2 in the atmosphere?
Wow. Discussing medical records via email is a textbook HIPAA violation from the get-go.
There's also lem, which is a Common Lisp based Emacs clone
https://github.com/cxxxr/lem
All the Ways You Can Dispose of a Dead Body
Mine as well. We're standing up our new service in Core, and we've migrated about half of our old WebJobs.
Most were looking for exactly one type with one set of experiences. Anything outside of that and you are filtered out.

In my experience this rings true for senior roles and less so for new college grads.

Companies seem afraid to hire thinking there is a slightly better/cheaper option around the corner.

I can see why perhaps a candidate receiving a rejection may think this, but in the companies I’ve worked at this has never been the case. It’s always been “it’s really tough finding talent, not paying talent”.

The take home assignments with random marking standards. Tests can matter, ui could matter, api structure could matter, documentation/choice of framework, speed, style all could matter but you rarely know which matters to whom and rarely have time to do it all and even if you
did everything perfectly a lot of the time no one even looks or the reviewer expects the code to look like how they might write it.

A fair reviewer recognizes the limitations of these take home exercises. While there are many ways to perform a take-home successfully, there are more ways to show that you aren’t qualified for the role. Not all that pass will be right for the job, but most who fail aren’t.
Use Incognito Mode.
Ruby is reasonably fast now, but when it became popular it still was very slow. So while speed definitely matters, maybe its lack is not an insurmountable obstacle.
Do you work with such an extremely static stack that it requires no further learning?

I would say that one of the most important qualities a developer can have is the ability to learn.

Perhaps, you expect all the learning to be done outside of work?
E-residency program uses the same technology and infrastructure as "real" Estonian residents ID cards (on which all Estonian citizens and residents rely daily for banking/government services/voting, etc...).

So yes, it still works )

As so the Gemalto vulnerability, it was promptly resolved with remote id card software updates (which most people did), and after that non-updated certificates/cards were suspended and replaced.

More info:
https://www.ria.ee/sites/default/files/content-editors/kuber...
What about gpt-2?
Scalability of state seems to be addressed by minimizing the need for nodes to retain the full state, and the main mechanism is shards. From whitepaper: “A further benefit is that any Atom that performs an inter-shard transfer is present in both the previous owner's and new owner's shards. This, in part, eliminates the need for a global state and mitigates any expensive inter-shard state verification operations needed to prevent "double spends".”

I’ve only skimmed the whitepaper and the consensus check against conflicts seems to be a series of methods with escalating computational cost. I think they assume Atoms (e.g., Transfer Atoms) won’t grow so big that they span massive numbers of shards.

I agree about the proliferation of buzzwords. Why not use Ledger instead of “Universe”?

Not sure how the eventual consistency model works in an economic context, although that’s how ATMs work.
I believe what makes humans powerful is written language. It can survive generations and can be copied and shared. That power leads to someone figuring something out halfway, and someone evolving it into a working piece. Then someone comes and evolves the technique to a blazing efficiency.

Plus writing allows trade to occur because we can keep verifiable accounts. This leads to specialization and trade where efficient tools propagate really fast.

Seeing written language and trade in any other species would mean they’d evolve their technology real fast.
Thanks for the heads up, but my ill-disguised snark was not about the availability, but rather the suitability.
This is what I'm trying to achieve. Do you have any tips on how you managed to do it? Did you have to change your lifestyle to e.g. reduce living cost, etc.?
If you can do that, you can just do call blocking which is far simpler.

And your version creates a whole new abuse vector for tricking or hacki g people into making toll calls.
In a nutshell: they aren't.

The economics of it are that in many places in the world, it is extremely difficult to fire an employee. Getting rid of an underperformer can take time, effort, and exposes the company to liability if the termination can be construed as relating to the employee being in a protected class (e.g. can't fire someone because she's a woman). Let's assume that it's a SF startup willing to play a little fast and loose and they aren't concerned with severance packages or the legal issues. They still put time and effort into training a new engineer. That's months of work that is potentially wasted.

All of that means that companies are incredibly risk-averse when it comes to hiring, and will pass on someone who looks even slightly wrong to them. It also means that the process is inherently random as a company will pass on someone they aren't sure of _even if they would have been a good hire_ just because they aren't certain. However, this also means that a lot of companies rely on self-selection in their hiring pool. Look for people they already know, from the same backgrounds, or are willing to pass through a series of arbitrary tests.

In short, it's like democracy. It's the worst form of government, except for all the others we've tried.
Instead of "built tool" think "state machine". (What is the state of the .o file compared to the .c file? Newer or older?)
I love how reports that overstep reason bring attention to an issue and increase the rate of adoption of what the report was against. [written with Firefox and DoH]
See table 1 in his last link.