skysight-inc/HackerNews huggingface dataset:
I bet saying the magic words "my phone is impounded by the police, please wipe my phone" would be. But, assuming the suspect is telling the truth and assuming an apple employee disassociated the suspect's phone from their icloud account, let's also assume the suspect lied to the apple employee.

"I lost my phone and need a new one." "Your phone is lost? Let me disassociate your old and and help you set your new one up. What's your icloud username, email or phone number?"

Assuming the suspect knew disassociation meant data deletion on their old phone, is it up to the suspect to prevent this from happening? It seems pretty close to invoking the magic words I started out with, especially if this was the suspect's intent going into the store.

Now assuming the suspect didn't know, and he did not intent to delete data from his old phone... Now what? Is it acceptable to accidentally destroy evidence? Spoliation of evidence suggests a guilty conscience, but in this case it was an accident.
A bunch of bull shit. Working on something truly groundbreaking requires none of it - it does however require super broad and deep knowledge of things outside of CS and ability to do things/program when you have an idea.
Why would you put your phone in a safe? Are the chances of it being stolen really that high?
If you meant how much genetics determines overall outcomes then I agree there isn’t a scientific consensus.

In your first paragraph you were clearly talking about traits and not outcomes:

> attribute sex-/gender-specific trait differences to culture/environmental

I missed where you changed to outcomes in your second paragraph.
Avoid dangerous IFs and use Objects

First of all, object-oriented programming is impractical because it creates a state machine which is difficult to follow and therefore a nightmare to debug, even with source code.

Second, avoiding if statements is terribly naive as the generated machine code will contain compare instructions, which are if's, which means that it's literally impossible to have code without if statements. And if you don't have the source code, or the compiler has a bug, you'll be forced to deal with cmp instructions debugging machine code anyway.

Believing one will be able to stay away from machine code forever is both silly and naive.
My own! For a university assignment we had to make a simple Excel clone as a group.

We divided the work and I ended up working on the formula parser. I spent a week thinking about it and couldn't figure it out (I wanted to work it out from scratch). Eventually I had a flash of insight: I know how to parse simple formulas, so I can use string replacement to recursively rewrite a formula until I can parse it.

By the time I had written all of it, I didn't understand how it worked anymore, but it did work!

FormulaParser ended up being longer than the rest of the codebase combined, and I eventually learned the other groups did it with a regex and ~50 LoC...
I recall a civil engineering suite of programs that had been converted from Basic into Fortran IV.

The basic was so old it only had two (yes two) character variables - the Fortran code made liberal uses of Arithmetic IF staements !!!!

An example of one is IF (S12 - 1.0) 13, 13, 12
I've never understood why that structure isn't more famous. It is a mind-bendingly enormous structure.
There's actually a great difference, because for binary distribution it simply suffices that the user verify the cryptographic hash of the binary they downloaded. Then they can be confident that they were served the correct publicly distributed binary, and not a subverted version.

JavaScript by its very nature can not be easily, if at all, verified. Even if you verify that you are being served the same code as other users and the code is not subverted at one point in time, it's very much expected that the code may change at any time at the web developer's discretion. This is also probably the very reason why Mozilla implemented it like this (so that they can update the Sync experience branding without updating the browser.)

Even if you hard-coded the signature of the JavaScript library file responsible for the cryptographic operations in the binary, browser DOM by itself would require modifications so that any other UI logic script in the page would not be able to sniff your password as you enter it..
The main reason why furnaces and cars have it on the incoming side is because the dust and particulate can damage the engine/blower. So you want to filter it out before it reaches there. In a system like this, the box fan will not be damaged by the particulate so you can instead push the air through the filter instead of pull it.
The username matches.
Were you even given substantial time to ask the interviewers questions? In most interviews I’ve done, even later round interviews whether it’s a finance company, start-up, FAANG, and companies of all sorts in between, I was given at most 5 minutes to ask questions after some dumb shit whiteboard algo trivia.
With how much money China has dumped into Africa and Nigeria it seems awfully suspicious that this would happen. From my understanding not only would the Nigerian ISP need to make a mistake, but the China and Russian ISPs would also have had to overlook the same mistake.
But then the state has access to my linux iso collection....
When I took over my current job a outsourcing company who employed developers based in Islamabad (Pakistan) wrote most of the code. It's C#, they didn't understand the concept of null, by ref or by value.

It was interesting. The database was Mongo and they had some horrible Entity Framework port that they forked on Github and used which wasn't maintained and at the time in 2015, 3 years old.

The data layer had business logic. Let's say they were getting a user record from the database but they didn't want to include the first and last name they'd write a method called

GetUserWithoutFirstAndLastName();

That would be in the User repository. Another requirement would come up to get the user but not include the user's language for instance and they'd create another method

GetUserWithoutFirstAndLastNameAndLanguage();

Ended up with about 70 or so methods which basically gave different levels of hydration for the User object.

The frontend was written in Extjs which took about 25 seconds to load.

They had no tests.
Fusion is notoriously underfunded.

More money means you can buy better gear, hire more workers, complete projects faster and run multiple parallel sites to complete various goals at the same time.

Of course there is some point where adding more funding will not advance the speed as much anymore but I doubt were even close to that point at the moment.
> It's difficult to make your own ketogenic meals solely via your own grocery shopping

You might need to just spend a little time researching recipes . I have 3-4 that I cycle through. Also, there's always just straight up meat + veggies to fall back on, for which there are many possible combinations and that's probably the easiest thing to make. Most nights I just bake some chicken or salmon and sautee some veggies. No hard thinking involved there. And I'll have leftovers for the next night.

For me the grocery store is by far the easiest way for me to get stuff I can eat. Restaurants / takeout / convenience stores are a minefield of hidden carbs and sugar.
The described intent is definitely to get in the way, but it's not to destroy anything. "Intent and a judge are involved" is not a magic answer.
Isn’t this a known feature of Twitter, usually called a soft block or forced unfollow? You block and unblock someone quickly and it forces them to unfollow you (and more importantly, does not signal them that it happened). I have heard of people fearing harassment to use this technique to get themselves out of a person’s timeline (out of sight, out of mind) without the pseudo-confrontation of a block.
That doesn't mean 1 trillion isn't a large amount of money. That means the US spends a trillion dollars servicing it's debt. As it so happens, the US will be spending a lot of money servicing debt.
Love the idea of this.

In my experience it's far easier to introduce testing by focusing on unit testing complicated, stateless business logic. The setup is less complex, the feedback cycle is quick, and the value is apparent ("oh gosh, now I understand all these edge cases and can change this complicated code with more confidence"). I think it also leads to better code at the class/module/function level.

In my experience once a test (of any kind) saves a developer from a regression, they become far more amenable to writing more tests.

That said I think starting with integration tests might be a good area of growth for me.
Fully self-directed replication
I wonder how diStorm compares; it's been around for a very long time, is known for being quite fast, and appears to still be updated recently: https://github.com/gdabah/distorm
Knowing when something isn't right is easier to knowing how to do it right. So I would be wary as to saying it is a lack of skill by your co-workers.

e.g.

I had to write a bespoke popup window launcher for a large gambling company in the UK. The games were mainly the awful slots games that you see in motorway service stations. These are basically one arm bandits on steroids.

There is a lot of logic that was in JavaScript that should have been in C# and I had to design it correctly to work with a third party Proprietary CMS system and I had to manage session tokens on 3 to 4 third party systems. Not easy.

It took me about 2 weeks of just reading the code and absorbing it, drawing lots of diagrams of how data flowed through the system and then porting that logic over to C# in a way that would work with the CMS system in a logical and OOP fashion and handling auth tokens effectively.
Was there a reason they did not use DBI to call the code ?
Absolutely.

Maybe, if we pitch the idea to Randall, he may prove it. :)
It's really awful, especially if you're sensitive. Some people aren't bothered by it too much, but it really affects me, so I try to get away. We have some pets, but it hasn't been too hard to find a house-sitter. (Although I always feel a bit guilty, and try to be honest about the smoke.)

These articles are concerning:

* https://www.theguardian.com/environment/2018/aug/27/air-poll...

* https://www.scientificamerican.com/article/air-pollution-a-l...

I think we'll move to a new city or country in the next 12 months. I don't think it's wise to go through burning seasons once a year for a few decades. (It's actually the only reason we want to move, otherwise Chiang Mai is an amazing place to live.)

Bali would be a good option, or even the south of Thailand if you have some more time on your visa. Koh Lanta is great.
legitimate forgetting will rarely arise: law enforcement just captures the defendant entering the password (e.g. surveillance video).

Face ID is also hard to "forget" :-)
That is not what the post says, thanks.
previously: https://news.ycombinator.com/item?id=18439924
Had to maintain a web code from the pre JSP era,i.e, servlets and writing UI code in Java classes (think writing html in s.o.p). The beauty of it all was that there were only two classes for the entire application: one was the servlet, and the other held all the UI code for all the pages. Requests bounced between the both of them, held together and dictated by a series of "if" conditions checking for "string equals" in a method with 50 variables, all strings, named s, s1, s2..s49. And no comments anywhere.
In the US you have the 5th amendment which means you cannot be compelled to testify against yourself witnesses that may incriminate themselves would get an immunity deal before taking the stand the only time where you cannot invoke the 5th is during cross when you agreed to testify.

Under certain cases in which your testimony cannot be used against you the court can compel you to testify if you refuse then you can be charged with contempt a common case for this would be a court ordering a reporter to disclose their source.

But the prosecution classifying a defendant as a witness would not fly.
Thing is, most of the programming languages suffer from this problem in one form or another. There’s two ways to avoid it - either by using indentation (Python, Haskell) or by using the “concatenation” syntax (Forth, Joy, Factor).
New Sharing Economy App on the Blockchain Live in Germany
Or you find that the ground can't support the bridge and it collapses - If your lucky you find out before that happens and redesign the bridge.
Fainin, the new airbnb for everything else that you own, is now live in Germany. Users can make money from things they own while being insured and protected against theft or damage. Since it went live in Germany a few weeks ago it has been on fire with people lending and borrowing their stuff.
Look to the financial industry if you wish to see how this idea would develop
I think this validates my view that testing is important, but keeping the codebase clean, readable and modular is more important!
> As someone who doesn't do much C++, could `constexpr` actually do this all on its own?

yes, some people have written entire constexpr raytracers for instance : https://github.com/tcbrindle/raytracer.hpp
Huge ecommerce company. Code written from the 90s in .NET was ported into PHP using an auto-library... nothing else to say
In his defense he was commenting on the difference between Kelvin and KeV.
I suspect you’re both writing about different inches. For my own example I offer an experience from my teenage years where a bus passed me with only one inch to spare from scraping that handlebar while on my other side there was an uneven slatted wooden fence with 1-1.5 inches to spare before it hit that handlebar. (Bicycle, not motor).
To even write unit tests effectively you need to write your code in a certain differently.

In C# this normally means using IOC + DI.

Also almost nobody I know does proper TDD. I know it is very convincing when one of the TDD evangelists shows you how to write something like a method to work out the nth number in a fibonacci sequence using nothing but just writing tests.

In reality most 95% of developers that even write tests write the logic and write the test afterwards to check the logic does what it should.
That’s a very misleading figure as inflation both directly reduces the actual debt payment nessisary, and makes comparisons between spending 2003 – 2011 vs 2028 difficult to compare.
I respectfully disagree with you that Gary vee is selling the idea that everyone should become an entreprenuer.

His main message is to be self aware and to be patient. In fact, in many videos he clearly makes the case that entrepreneurship has become glamourous and he warns against the dangers of faking it till you make it mentality.
'written easier'?
I've quickly realized that there is never enough time.

If anyone feels that there is enough time then (depending on the position dev/manager/client/etc) he starts slacking, moving focus, moving deadlines, moving staff, demanding more features/support/documentation or new requirements analysis, start being pissed more about smaller bugs.
Fundamental rights generally override "you got yourself into this mess", don't they?
https://en.wikipedia.org/wiki/Plano,_Texas#Economy

That is just Plano. There are arguably more opportunities around each of North Dallas and Addison. The cost of living here is a third of the bay area and that isn't including the size of house. This is why California is bleeding 60k people a year to north Texas.
My food delivery service (Ocado) at some point added a "Here is a recipe, want to add the ingredients to your shop" button. For me that totally halted my desire to use services like Blue Apron.
Companies should get away from this as soon as possible. It is essentially the same strategy as off shoring your dev work except it is distributed.

I would be happy to have my salary based on the value I bring into the company rather than based on where I happen to leave.
Jitsi Meet also provides support for screen sharing.
Fundamentally it doesn't have to, because like a weight resting on the top of a ladder magnetic fields store energy and do not dissipate it. In practice it does because our ways of producing and maintaining strong magnetic fields require a lot of upkeep. This, like most things in fusion, is an example of where the realities of present day engineering are far cruler than the laws of physics.
IIRC this was because of a rather amusing behaviour of a Gentoo toolchain with some hardening patches, in this case doing a bit of fun on the stack to make sure it's safe.

A lot of the hardening patches come with disclaimers that some software might break, and as shown by this bug, for good reason.

I'd rather blame the compiler patches for this silly behaviour (and maybe the kernel for not documenting and limiting how much stack VDSO can use)
Or simply

node.left, node.right = map(invert, (node.right, node.left))
Taxes are kept in check by voters not electing politicians that support too high tax rates. In a democratic society, there is no need for that kind of competition.
A self-constructing "0E0P" Conway's Life metacell is finally in working order!

The structure behaves like a single cell, obeying the rules of Life or whatever CA rule it's programmed to emulate. Unlike previous metacells, if a new cell has to be born, one of its neighbor metacells has to construct it starting from empty space.
seems like it would beneficial to occasionally bring in fresh blood from different companies because they might bring ideas and strategies you hadn't thought of yourself
I've read and watched a lot of resources, thanks for more links :) Any pointers on companies that may hire for such jobs ?
Make Your Business Smarter with IBM Watson Studio
If I recall correctly, DARPA regularly hosts challenges where university teams try to solve problems that clearly have military applications.

I know this can be seen as whataboutism but I feel the Western world might have gotten desensitized to its own activities in the sector, while looking warily at possible geopolitical competitors.
Go uses the glibc for DNS resolution by default, if you set CGO_ENABLED=0 during compiling it should result in a static binary.
Yes, scientific disagreement. These are scientists who study gender and evolutionary psychology and say that Damore's scientific claims are unjustified.

If you follow through from the links in the article I posted, you'll find further links to comprehensive sources. I'll do some of the work for you:

> Lise Eliot, associate professor in the Department of Neuroscience at the Chicago Medical School, did an exhaustive review of the scientific literature on human brains from birth to adolescence. She concluded, in her book “Pink Brain, Blue Brain,”[0] that there is “surprisingly little solid evidence of sex differences in children’s brains.”

> Sex differences in cognitive abilities have been well-studied, so it’s intriguing that Damore chooses to ignore this vast literature to focus on personality[1]. The reason, however, quickly becomes clear when we look at the evidence: namely, there’s zero evidence that suggests women should make worse programmers.

> There is much literature that flat-out contradicts Baron-Cohen's study, providing evidence that male and female infants tend to respond equally to people and objects, notes Elizabeth Spelke, co-director of Harvard’s Mind Brain Behavior Interfaculty Initiative[2].

[0] https://www.amazon.com/Pink-Brain-Blue-Differences-Troubleso...

[1] https://sites.google.com/site/dianehalperncmc//books/sex-dif...

[2] https://www.ncbi.nlm.nih.gov/pubmed/16366817
Wedding Invitation Cards – Indian Wedding Cards – A2zWeddingCards
We are providing best Wedding Invitation cards at affordable price. A2zWedddingCards mesmerizing prints, colours and patterns. A2zWedddingCards is one of the best wedding cards seller in USA. If you want to purchase and customize our product please contact us and visit our website. https://www.a2zweddingcards.com/
no it isn't. The two events are linked by a effect, ie switching the order of events has a different effect. They are causally linked, but not in the a => b sense. It's not about sequential consistency because for many other sets of events, the order does not matter and thus doesn't have to be enforced.
Wedding Invitation Cards – Indian Wedding Cards – A2zWeddingCards
> RPG elements, which tend to be branded as masculine

It seems weird that RPGs tend to be branded as masculine, since, if I remember right, there's more female players (in proportion) than sport and FPS games
So Your Company Wants You to Start Interviewing
There is still a limit, very old software doesn't run anymore, largely because something in the kernel broke it. But it has been years and nobody complained so nobody will revert this or fix it.

Linus has stated as such and I think a few other maintainers agree there. If you don't find the problem until years later, chances are, too few people care.
I listen the audio book, some things that I learned and I did not know before:

- there are algorithms used in justice to determine some risks, so you getting a lower bail or a longer sentence is decided by an algorithm and some of this algorithms can be proprietary,racists and unfair.

- I do not recall all the details but a judge was identified and his web surfing was identified only by using the ad tacking systems, this was done by some reasearchers but some bad guys could potentially blackmail important people

- there were some interesting stories about people that used genetic test services, if your relative use those you are part indirectly in the data collection

- I forgot the details but in some case after some lawsuit the proprietary algorithm was revealed to be an Excel spreadsheat and it had some mistakes or unfair data in it

There were some good examples where AI strengths were combined with human strengths and the results were improved.

Large problems happen when the human blindly trusts the computer and almost drive over cliffs.
Could you please expand on how does the Ethereum blockchain get to know whether the goods arrived if the buyer and seller are saying conflicting things and no third parties are involved?
Direct Conversion Receivers: Some Amateur Radio History [pdf]
Introducing SourceKit-LSP
In earlier times they had to encourage people to move. By now, CF is so big that they can handle losing money on some customers with high traffic on a free plan. The gain from not dropping any customers outweighs the cost caused by that client.
You have a point but Snap took vc and went public at an enormous valuation. The only way they can support that valuation is through advertising.
Even one-time, comparing the hash of a git commit or an installer is annoying but practically doable. I'd have no idea how to safely do something like this for a website. And I for sure ain't able to audit those ~200kb js by myself.
Projects with unit tests are also riddled with bugs.

I have absolutely no respect for your attitude or your comment. Sanctimonious zealotry like yours should have no place in our industry.

It's disgusting that you think you can tell someone they're shit or trivialize their work because you disagree with their workflow.
LOL.

The long as short of it as a contractor I have to get it done. It will be probably me making the changes later and I make sure I put these things called comments in.

Also developers pretending code quality is an either or proposition is a false dichotomy. You can write 80% of it in a correct manner and the other 20% could be just hacks to get it done in time. You can't write the perfect system.

So I am sorry you are the one being fallacious.