skysight-inc/HackerNews huggingface dataset:
First impression: The use of mac images and screenshots and including "App" in made me absolutely positive this was a mac only thing. Only by chance that I stayed long enough to realize it was multi-platform.

That was also the same time I realized, oh this is probably electron. Should state that somewhere as well.
A turtle–or a rifle? Hackers easily fool AIs into seeing the wrong thing
I've seen stray dogs patiently waiting by the side of roads, and cross only when the traffic dies down. It looks extremely human. As if there is a person trapped inside the body of a dog.
you're not going to tell them you're gonna fuck around, first you get the job, THEN you fuck around.
> it's a no-brainer to re-train an existing employee to use a new pressing tool than to lay them off, hire another employee, and then train them to use the new tool

If this was so self-evident, though, everyone would do it. In practice, a lot of companies don't even try to "teach new tricks to an old dog", preferring to go through the layoff/hiring churn instead. That's probably got more to do with the traditional link between pay and seniority, than to anything really related to skills: a relatively small disruption in productivity is handsomely offset by a big net cut in salary expenses, as the younger employee will likely command a much lower wage.
Which country is best for surrogacy for chinees people?
Welcome to the creative industry, it's not unusual for businesses with a design culture to operate like this. It would be pretty similar working for any big name architect anywhere. Likewise in graphic design, product design etc... If you come from a design background you will be used to having your work taken apart at a presentation because it will have been happening since the first day of architecture/art/design school. It's a key skill to learn to be able to let go of the work you have done, stand back and analyse it dispassionately then go back and re-do things. After all, the criticism is meant to make the work better and better work gives you more of a sense of achievement. Yes, it was done in a way which was a little bit cheeky, but it doesn't sound mean to me.

It can be drastically worse than this. When I was at architecture school in the 90's some tutors would actually compete to see if they could make students cry in presentations. Things like physically tearing up hand drawn plans in front of all the other students. I remember tutors going round the final year presentation at midnight and deciding the general standard wasn't good enough, phoning the people they thought needed to do more work, telling them they would fail and that they needed to get out of bed and work for another 24 hours. These were people that had been already been working super long hours for weeks to get their stuff done. Madness. It wasn't just my school that was like this either, it was much worse back then but there are still pockets of this culture in my industry. It is no wonder that back then architecture students in the UK had the highest rate of suicide.
I've read that book and disagree. I don't have a limited set of emotions, I just have a better emotional regulation system because emotions are blunted.

Emotions exist in me (I'm not a robot or a predator) and I can extract the information they contain to inform my decisions, but I'm mostly unaffected by them. I don't use this trait to destroy people - I think this is what only weak sociopaths do that are not content with themselves - I use it to be more successful and manage people properly (I'm an empathetic leader) and to be more assertive in negotiations.

I read the word psychopath with a negative connotation i.e. a ruthless person who doesn't feel remorse. I agree, I mostly don't feel remorse, but I'm not doing the things many people think sociopaths/psychopaths do (like attacking people on a psychological basis, destroy lives, ...). I'm a good person and I think many sociopaths are - it depends on the values and on the motivation to hold those values up (although I agree that they feel optional. I'm not bound to societal expectations).

If you read about Hannah Arendt you can see that "normal" people are capable of evil things. I think circumstances are in most cases more important than defining brain-damaged psychopaths as the root of all evil. People kill and feel joy in the right circumstances. Sociopaths are more open about the dark nature of human beings.
It might make sense to remove systematic outliers if you know they are from non-statistical effects.
"When can a char be 16 bits?"

Whenever an implementation says so. There are now few machines where the addressable unit is not 8 bits though, which is why languages like D and Java can get away with not supporting them.

> I presume it'd still have a sizeof() of 1 though.

The language standard requires that.
Tips on How To Optimize React Apps Performance #1
I feel like most guitarists are so extra about equipment. Most good guitarists I know will sound fine playing mediocre guitars through cheap amps, while a bad guitarist is just not going to sound good on anything
I don't have much personal insight but CBD is appearing in the news lately and other people have said it lowers their ability to ""give a shit" about stuff.
In the Southwest it is common to use roof-top heat exchangers to warm backyard pools, but the same houses have A\C and may have solar as well (which incidentally shades a section of the roof), so I suspect “watering your roof” would not be terribly effective. Worth a try though.
Can you give an example of a situation where a company has laid off, hired, and trained, when re-training would have been equal or less effort?
Immersive Interview with Joe Connolly a Co-Founder of Sketchbox
In Haskell, typeclasses are language-level construct, not needing any implicits, and monadic code is easy to write using do-notation which is syntax sugar over binding ("comprehensions").

In Scala, typeclasses are a pattern, something achievable using a bunch of language features strung together, and implicits are likely an inevitable part of that mix. For-comprehensions is what "sequential computation" really is if you want to represent it as a function, and not forget to check intermediate results. It has numerous advantages, but again, on the language level it's a pattern, a contraption that makes monadic style possible, but not necessarily easy on the eyes.
While being a Navy SEAL would be interesting or cool by any standard, its not exactly a position with low barriers to entry.

The point of the article is questioning if its possible to have government jobs that are attainable by the everyman.
GitLab would love to hire from the places above but I guess taxes and government policies are a big barrier IIRC
Without an IDE, discoverability is not great even in implicitless code. In `x.y.z()`, you don't need to import the type of `y`, much less the method `z`. And an IDE's "go to definition" works fine on extension methods.

IMO the greater discoverability problem is knowing and remembering what to import in the first place.

Still, even with an IDE, extension methods do add complexity and should only be considered when they'd be called very frequently. In my current (Unity/C#) codebase, the ratio of static helper methods to extension methods is probably around 10:1 or more, and that seems alright.

Although it sounds very controversial, it might actually be good if libraries could by default add their implicits to the prelude. SBT (which is horrible in many other ways) lets its plugins do something similar, and that seems to be ok.
Learn a different script.

Right now you know one script: whatever scrawl you learned as a youth. Pick up something else, preferably a print hand rather than cursive.

There are a ton of options! Here are some examples: http://medievalwriting.50megs.com/scripts/scrindex.htm

A print hand lets you focus on correctness. Once you have some confidence, if you like, you can tackle another cursive hand, such as Spencer: https://en.wikipedia.org/wiki/Spencerian_script
Yep, it all ends up as heat. Energy is conserved, so if it didn't end up as heat, it would have to go somewhere, and there isn't really anywhere else it could go.

Related topic: reversible computing. You might wonder if a computation need take any energy at all: it turns out that an irreversible computation (e.g. NOR, XOR, AND etc) is physically guaranteed to waste energy, but if you make sure your compute steps are always reversible (i.e. each input maps to one and only one output) then you can theoretically compute for free (the Feynmann lectures on computation cover this well).

But these energies are negligible compared to the wattage that goes through a standard CPU.
I'd unfortunately like to inform you there's plenty of "traditional" anti-Semitism especially in the economically depressed areas of former East-Germany, Poland, etc.

It doesn't always stem from malice (sometimes just ignorance) but it very much exists.

And yes there are also some such issues in "Arab ghetto" neighbourhoods in Berlin and Paris but at least here I find it much easier to avoid by simpley not living in those neighbourhoods (& of course neither all muslims nor all working class europeans are anti-semitic, but you don't need a large % of the population to cause trouble/discomfort).
The length is better, since that's almost always what you want.

> There's probably an advantage in the two types being the same.

Not really.
Automatic responsive images using Client Hints on web
My Dell laptop doesn't have a way to activate it (Latitude) because Dell thought it was an paid feature. I am happy and safe.
Laravel vs. Yii PHP Framework – Who Is the Winner? (Part 2 of 2)
Disclaimer: Working for GitLab since March.

Several countries are on hiring stop currently, mainly those that you have listed. This is due to administrative reasons, as people from those countries work as contractors, as we have no entities there. In Europe we currently have an entity in NL, BE, UK and DE. Furthermore we have an Indian, Chinese and of course US entity.
I think this is the first time I've ever seen someone use Goldman as an example of a "cool" company.

When did that happen?
I'm not a fan of those either (and 3 arguments is insanely low indeed), but I see a way it can work: you always have a choice to suppress a linter finding if your case is "legitimate".

F.x. in our case the limit is 7. I think most people would agree that 7+ args constructor or method is worrying. But there are cases where it can be ok (with or without some stretch), f.x. if it's some sort of a glue code that does a very mechanical thing and breaking it down would be nothing short of gold-plating.

Edit: In general I find the signaling that linter gives useful. At the same time I agree that mature teams can do without it just fine.
My father also works in a furniture warehouse and it was the same, especially during the recession. Factory was basically shut down on fridays and everyone worked 4 hour weeks
>If you look at the numbers from SpaceX, 4 launches per rocket is where the reusability starts making sense.

Shotwell mentioned that SpaceX actually saved money even on their first reused booster which was broken down and inspected to pieces. So I think your number doesn't stand. The Falcon 9 has a unique cost structure compared to other rockets, completely aimed towards making reusability work out as quickly as possible.
Dude. Relax. Programming isn’t that hard. You don’t need to get a job with Netflix or google. The job market is absolutely desperate to hire anybody who knows how to write a for loop.

I’m making a six figure salary writing chef cookbooks and cloudformation templates and I don’t even have a degree.

Just slow your roll, dial back your expectations and apply for less high pressure jobs, man.
Yes it does. This isn't the stopgap healthcare you are accustomed to. We won't live longer if we aren't healthy.
Speculation Attacks Using the Return Stack Buffer
Why is this prefaced with a question of accuracy? Tesla verifies it in the article.
True, though "being able to" doesn't mean you should.

Also there's a frequent confusion between "working longer hours" and working more (might not be the case here)
The strategy seems easy to execute but the first two points are quite tricky.

I've been trying to figure out what I'd like to do and where for the past 12 months. I've been jumping from one continent to another, living in villages under 50 people and in multimillion metropolises - all this while working remotely for clients in Europe. They didn't care where am I as long as I replied to emails in a timely manner. In South America I had to wake up at 4am and in Asia I would go to sleep at that time, but that's the only inconvenience I had.

p.s. No, good internet isn't everywhere :)
This is relatable and makes a lot of sense! Can you direct us to the link or any list of companies which don't have whiteboard tests or competitive coding tests? It would be really useful for OP and most of us.
Same here. I used to work with a guy who was employed at the London HQ.

He had some great stories to tell but his experience there was anything but "cool".
5 Best IGTV tips to skyrocket your Business on Instagram's newest Video platform
"There is no such thing as an "array". That's a human construct."

There's also no such thing as a computer, or memory, or operating systems ... they're all just a bunch of molecules.

I too am from the generation before people understood the power of abstraction ... but I'm intellectually honest and so I managed to learn.

> Fix the software developer.

Which one?
Probably number one on my list of top favorite open source developers.
> Are there any career paths I can pivot to that are less cognitively demanding than software engineering where this degree would be an asset?

Yes. If you understand basically how computers work and what they are capable of the corporate world will find a use for you. Can you communicate well? Like giving presentations? Try going into sales, project management or documentation. Are you a real people-person? Try going into people management.

These are just general categories. The reality is that the world we've created for ourselves has a tremendous need for people who can be at the edges of complicated technology and act as an interface to some other world. Don't despair.
Wouldn't the AV1 Image Format be a much better option as "the next image format for the web"? Better compression than HEIC and the licencing issue seems much clearer.

https://www.techpowerup.com/240863/google-and-mozilla-push-f...
Pumpable Ice Technology
A top Engineer will go to a company which aligns with his personal and professional goals. With your example, no one would have created a startup and simply working for someone who pays more.
Their assumption of 64 bytes cacheline is unrealistic. Most CPU architecture use 64 bit cacheline (1/8 of 64 bytes), for good reasons. 512 bit cacheline is insane.

Also, good compression requires large corpus / large model - thus page-based compression is much more useful in real life. For example Google's ChromeOS uses zram by default since 2013 [1].

[1] https://en.wikipedia.org/wiki/Zram
Both Google and Goldman are “springboard” companies, 2-3 years at either and you are basically guaranteed an interview anywhere you want, possibly for the rest of your career. Cool might not be the right word, but there is a reason why people clamour to get in, not just the money
> feeling myself become more and more incompatible with the 'business world'

This one hit me like a well thrown punch. I know it's a somewhat common sentiment, but in conjunction with being more "emotionally aware" I found it striking.

Since I became more in touch with my own feelings, the quality of my daily experience with work (and the people there) matters far more to me than mere compensation. This is something I think a lot of workers go through, and I think managers who are aware of it will be more effective than those who aren't. Knowing what motivates others and what they value can be extremely useful.
> There is no such thing as undefined behavior.

Read the C Standard. (Do you even understand that it defines an abstract machine? Do you have any idea what an abstraction is?)
Same, and I've still to develop them - or keep them under wraps as they are now, seems to work fine for my career and such. It's I think a level of emotional maturity, or maybe even a fear of feeling - like, keeping them suppressed is doable, I can live with that, but what would happen if I stop suppressing them? I don't want to break down bawling at work for example, or get angry and start throwing shit. The emotional maturity there is to feel the feelings but be able to deal with them in a mature way. Like, you can be angry at your significant other, raise your voice if need be, but there has to be a lid on it, a reasoning. There's an area between suppressing / ignoring feelings and letting them control you.
No. They are moving incrementally.

Hybrid power trains are available up and down the product line. Both companies have an electric only vehicles that are real cars... not compliance cars.

They move in steps to get the process and supply chain built, and to maximize their capital investments. They also are giving customers what they want — few consumers want electric.
Discussion on Reddit: https://www.reddit.com/r/math/comments/910dlj/an_integer_for...
Show HN: Quire 3.0 – Agile bridge between nested tasks and Kanban board
So I'm not the only one. For me the solve was to delete my accounts on those services. Hasn't seen it happen to me since.
The page specifies that even contractors from these countries are excluded.
The article doesn't mention "coolness" at all. All that's mentioned is on-campus recruiting of graduating seniors at selective schools, which Goldman/Google/McKinsey certainly work hard at. In terms of the universal measure of coolness known as "tastiness of food provided at on-campus info sessions", I recall those companies rating highly.

And Betteridge's Law of Headlines applies here.
Yes and no. It's not that you're wrong, it's just incomplete.

I completely agree that eventually they wanted the entire pie, but that happened in a context based on European history for those people in-country. We can look at other areas, like Central and South America, and find that it didn't work out so well.

Religious freedom was a huge motivating factor for the initial wave of migration, and part of that freedom involved a heritage of things like the 30 Year's War. This was the basis and background of what played out later, even if what played out later was more commercial and deist in nature.

I think it's a mistake to look at the American Revolution in terms of what happened in 2-4 decades around 1776. There was a lot more going on.

ADD: You don't get the wording and reasoning of the DOI and the fact that multiple states had state religions at the founding of the country from purely commercial interests.
"And how much do you think a really good programmer should get paid? Around here we pay our best programmers around two thousand dollars per week. Do you think you should be paid more than that?"

"I don't know," I replied. I was finally beginning to see where he was coming from. Bill was trying to get me to brag that I could write the application switcher really quickly, so he could justify paying me a lower price for it.

"Well, I don't think that you could expect to get more than four thousand dollars per week, tops. Actually, I think that's too much, but let's go with that. If it takes ten weeks, and you get paid four thousand dollars per week, that means you should get paid $40,000 for writing it."

$40,000 didn't sound like very much to me, especially if it was as strategic to Microsoft as it seemed to be. I think Bill was expecting me to make a counteroffer, but I wasn't very enthusiastic about selling it to Microsoft regardless of compensation, since it really should eventually be part of the Mac OS.

http://www.folklore.org/StoryView.py?project=Macintosh&story...
It seems government has not issues attracting Goldman talent even most senior people :).
Lethal aggression in chimpanzees is better explained by adaptive strategies
Aw, I misread as Solar Wind is coming, got excited for some strange new form of electricity harvesting :(
Oh interesting. I believe I'd tried that extension for fun at one point, but switched to Yandex and was only using a handful of extensions at the time (M=>SP wasn't one of them).
It'd be damn tricky to implement, probably impossibly so. I can think of a few reasons:

- Modern lithography just isn't that precise to my understanding. The whole point of binning chips is that you aim for an entire wafer of Core i9s, but you accept that some flaws will occur and will require disabling features of the chip. Are the disabled features "non-essential"? Certainly seems like they are if they can be disabled.

- From a marketing perspective, you'd need to help customers decipher dozens of different models of the same chip. For n features, you'd need (2^n)-1 chips, right? So Model A would support everything; Model B would support everything except virtualization; Model C eould support everything except HDCP; and so on.

- And as a customer, does that mean I need to spend $500 and replace my CPU everytime I realize I need a new feature? How would that work for laptops, where chips are frequently soldered to the motherboard?

I'm sympathetic to the idea of requiring transparency in general, but unfortunately hardware is a helluva lot trickier than software.
Correct me if I'm wrong, but doesn't virtually every modern Intel and AMD chip use a 64-byte cache line?

If you were to use a 64-bit cache line you're just retrieving one word at a time.
Embrace Extend and Extinguish
Ernst Dickmanns, a German scientist who developed self-driving cars in the 1980s
The Netherlands relocation guide
They easy problems are usually really easy to solve. Including tinkering with the syntax of the language it should be possible in ~15 minutes.

Even if you don't find some quicker algorithm, bruteforcing usually still works.
I will cry as a response to their crying. This is natural.

I just don't need it. I would mostly cry to be empathetic.

I don't think this is wrong. Many people do it to help out e.g. that friend who cried on the funeral of your mother? He is crying to communicate his compassion, not because he feels grief. If you would know how many people do this, you would be astonished by the emotional coldness that many have inside their heads (involuntarily).

related SMBC: https://www.smbc-comics.com/comic/do-humans-have-feelings
Ask HN: Please help me recall a certain programmer horror story
I remember having read a story about a programmer that encountered a weird error - his program was spitting out racial slurs in its output. The issue turned out to be a malicious version of the compiler, but somehow after removing it it got back to the system, and what should take only a few minutes turned into days and days of trying to find the culprit.

I've been searching long and hard but cannot seem to find it. I hope that what little I remember from it is enough and some kind soul will help me find the original article online... :)
Hi there, glad to hear that you enjoy working at GitLab!

My impression was just based on some things I've been hearing about compensation, and a couple of negative comments and articles.

I think the best way to explain it is that GitLab sounds like a more traditional place to work. Similar to companies in the UK, Europe, Canada, Australia, and New Zealand. It's very unlikely that I would accept a job in one of these countries for the same reasons. Software engineers are typically not paid very well and are treated more like "code monkeys" who report to their managers and don't have any self-direction.

I guess I've just been spoiled by Silicon Valley, so the rest of the world doesn't feel very competitive compared to some of these SV startups.