skysight-inc/HackerNews huggingface dataset:
This used to be called "search history", and then "web history", and now "my activity". These controls for user data have been a best practice Google has been following for many years.

https://policies.google.com/technologies/retention
Excellent writing. The story, although real, has all elements to make a decent thriller movie.
Let's not forget that road contents and flow are at the best times unpredictable.
The whole point against it is that there are precedents being set regardless of what you think is 'right' it will start to apply to other things in the model that you agree with far less - especially when they go off of assumptions that turn out to be objectively wrong.

It is essentially a bill of rights thing - either you support universal rights for everyone or you support them being taken away whenever convenient a.k.a. no rights at all for anyone.

Just go back as shallowly historically speaking as AIDS in the 80s. "Only gays and drug users get AIDS so why should we pay to help those degenerates?" sounds downright satirically stupid but that was essentially a real viewpoint and sadly still is really. Judging the 'guilt' of patients is a very dangerous thing for a society to do and doesn't help the underlying health problem at all.
The key thing about complexity is that, you can move it around, but you can't make it go away.

The complexity has to be there, somehow. It's also highly subjective how one sees and grasps complexity.

Breaking code up for the purpose of reducing complexity is more often a symptom of clearing your mental space.

But IMO most often, complex code is much more well off being put in the same place, and with extensive comments too.

I also believe it's a true flaw to believe that a lot of comments are unnecessary when writing "important" code.

Comments are written in a human language, we interpret them as such. Computer language is different and it takes, more often than not, more mental power to understand and more important to change.
What happens if you buy something from the dark web and you receive nothing or some garbage, there is always a large risk of being scammed, some people have too much bitcoins and could afford losing some.
Yeah I only happened to know because of ancourse I took that taught some ML. I mentioned it because, later on, I even came across a situation where it would've been directly applicable, but for some reason the thought that it might solve the problem escaped me at that moment, so I asked and someone else had to remind me of that fact... so I feel it's probably not the easiest thing to recognize when it's happening.
Safe Numerics: C++ Boost library
Here’s a great practice:

1. Write some piece of code

2. Now write a comment about it

3. Is the comment adding more information, making the code more clear?

If Yes: Put that information into the code. Rename variables. Pull out code into subroutines.

If No: Delete the comment.

You’ll be amazed at how often this practice works. Doing it all the time will make your code more readable.

We have a second, enforced practice at work, thanks to code review. The question in your head is simply: “Am I gonna get a comment about this at review time?” If yes, you gotta make the code clearer/simpler/better. Because you’ll have to answer and address the comment, and that’s just gonna slow you down more than if you just fix the problem now.
Note that Microsoft Research is far above any other companies in the list (see last table on the page).
Sure, but I don't see why the tip in OP is "don't use CORS". To me that implies there is actually something insecure about using it.
Was getting this vibe myself. Had to ask myself at the end of it -- and even during -- why is this not a movie.
Read Alfie Kohn to understand how such a list is stupid.
I think it would become public and anyone would be able to see who you are, what you do. How are you gonna check if someone visiting is your family member?
The Restoration of Early Unix Artifacts (2009) [pdf]
In the US 2x or (100%) is the equivalent to a direct hire salary. Since the employer taxes, social contributions, and paperwork filing is directly managed by the contractor now. You’ll have to be your own HR or hire someone to do it for you.
Not the only problem.

They tend to pump CO2 into them to increase growth, that has the unfortunate effect of decreasing nutritional content.
https://www.bbc.com/news/science-environment-27308720

I'm sure I've seen research for other veg also, but my google fu is failing me at the mo.
Not being a rust programmer myself, my comment should be taken as that:

You commented in your code on some long functions needing to be decomposed, that might be a good start, your own todo. :-)

Other than this as a c programmer i see some opportunity in the _find_best_matching_filter_index function to perhaps apply a macro to the repeating syntax of

let words = tst_utils::_words_vector_from_string("aaa bbb ccc ddd");
assert_eq!(log_filters._find_best_matching_filter_index(&words), 0);

Where in C i would create something so i could type MACRO_NAME("aaa bbb ccc ddd") for example to make that part read more easily and make it easier to add or remove items there.

I see macros are supported, but am because of my lack of rust knowledge unaware if my suggestion is possible at all.

https://doc.rust-lang.org/book/ch19-06-macros.html might shed some light on that.

It's not really changing code but would make it much more readable. (macros are great for such things in C for sure if not overdone)
One-off passwords?
> In development atleast contracting is looked down upon

Would you mind elaborating on why you think contractors are looked down upon? In my experience – as a full-time and contract developer working in London – the opposite seems true.

Contractors on a team are usually senior developers and when the best of them move contracts (or aren't extended), I've seen full-timers leave (or switch teams) shortly after. More junior developers lose the person they were most learning from. Teams looking after specific projects have died because of this.

I have heard snarky comments about pay though. If a contractor is talking about going out for lunch, it's often followed by an insinuation that they're more loaded.
Does anyone use OSSEC on their personal workstation or personal server? I have some MacOS machines with public IP addresses with ssh access enabled, and I'm wondering if I should use something like this. Presently I have the MacOS firewall configured but that's it.
Thanks for this idea! Will implement it next year into my website generator
This is precisely what the term floating point means. The decimal point "floats" right or left depending on magnitude due to the mantissa-exponent representation. The opposite is fixed point where you have a fixed number of bits reserved for the whole and fractional parts. A 32-bit floating point can represent a vastly greater range of magnitudes than a 32-bit fixed point, with a vastly greater precision for values near zero, but at the expense of absolute precision at large magnitudes.
Why is it so difficult to scale a software house, and what can you do about it
Sea level changes are not that much of a challenge. We have centuries of experience building infrastructure to manage that and decades more to leverage that. Much of the country is already below sea level and already well prepared for extreme water levels. Some of the infrastructure will need some upgrading of course. The reality of sea level changes is that they will be most devastating in places where they won't be able to pull together the economic resources to put infrastructure in place or where they are making the historic mistake of assuming it won't happen.
Uh,yes, apparently I've been very lucky. I've stopped now.
Man pages and other documentation are usually reference oriented. That means they are complete, verbose, detail-oriented and structured around functionality and options.

When learning, however, we often need goal directed material and examples. For multi-purpose tools - and most tools have more than one application, especially for higher level goals - that means there can be many different introductions for the same tool, depending on the learner's goal.

The best tools are compositional. Often it's hard to imagine all the ways a tool can be composed by looking at it in isolation. You need some examples to get the imagination working.
I left writing notes by hand since digital alternatives are easier to archive and search. But the remarkable has given me a useful tool that combines both.

Initially the software was lacking, but it seems to be the exception to the rule that electronic devices don't tend to improve over time without upgrading to the next model

I have a coupon code somewhere (that also benefits me) in case anyone is interested
A thank you letter to the JHipster Team
13 Tech Experts Predict the Industry's Biggest Challenges in 2019
Yeah - xid, ksuid are all smaller than that. Maybe I could pad with zeros and use the UUID type?
Make them authenticate with their Facebook account.
Or invitation links (with auth tokens).
Well it's incredibly difficult to quantify the risks associated with BTC storage, so it's very difficult to take appropriate action. The pro of storing your own coins is not particularly better security, but more control of your security. You can do physical backups, encrypted copies, securely store them and make decisions about the physical risk of your coins over time. With Coinbase you're putting your trust in their security and you really have no control. It may well be safer in reality, but the attack vectors are all things you can't have any influence over.
So its basically -psychological screen for workaholics? Good to know.
This is the same for me. I also just went back to using wired headphones with my laptop. I hope that some solution comes out.
Wouldn't it be better to import the data into an open social network like Mastodon?

What would be great is a tool that continuously does this (i.e. a one-way sync). This could help people convert away from FB.
> In the end I rushed to the rooftop, scared as f

I'm glad that you were ok. I would probably have over-reacted by diving under the bed. The lesson that I took from the footage of the Chelyabinsk meteor (1) is this:

When people see a sudden bright light in the sky, the usual reaction is for them to go to the window to see what it is. So then the blast wave arrives in time to give them a face full of flying glass shards. (2)

Don't do this! Doesn't matter if you're being nuked or if it's only a meteor, get down and stay away from the windows! Nothing good will come of having a look-see.

1) https://en.wikipedia.org/wiki/Chelyabinsk_meteor

2) https://en.wikipedia.org/wiki/Chelyabinsk_meteor#Injuries_an...
The zipfile you download from Facebook is already in the correct format. All you need to do it spin up a web server (apache nginx etc.) and unzip the files into the webroot.

For security, just add the usual webserver/*nix security.

EDIT: Just unzipped an old download from my (pre-purged) profile into an empty web folder, and it all works, mostly. FB specific icons are missing, and your private messages are all in a subfolder called 'messages' which has no security, and all the threads are folded into a long chronological list. So I guess the format would need tweaking a bit.
While not as "top tier" as siggraph, HPG (the merger/successor of Graphics Hardware and the Ray Tracing Symposium) has a reasonable best paper list: https://www.highperformancegraphics.org/2019/best-paper/

As a note, the first paper listed when it's 1. 2. 3. was the "best" paper (the others were runners up).
When you ask Facebook for your archive it's already pure HTML. All you need to do is to censor it somewhat (if appropriate, e.g. remove private messages) and host it somewhere with access control.
No, but I am curious too - that would be a nice idea to kick-start a distributed social network imho.
I agree with the direction of your opinion, but would say it isn't a matter of helpfulness. In some cases is it is a necessity.

It must be understood that complexity is an economic consideration and not either a financial or technology consideration. It is always already present. Complexity is not something that is created or destroy; but retained, absorbed, or transferred.

Abstractions become necessary when they separate different functional layers to perform different respective responsibilities. In this case complexity is transferred both in and out of a system at a given layer, but you don't care so long as you aren't doing the jobs of the other layers. That is referred to as separation of concerns which results in the hardening of a system (risk reduction) which is the side effect of reducing costs due to restricting requirements available.

Many abstractions exist solely to provide a layer of convenience. In the case where an abstraction does the same job as the code it abstracts risks increase and costs increase. This is because the system continues to simultaneously absorb and transfer complexity like described above, but the requirements between the various layers isn't clearly separated. That results in fulfilling requirements, the same requirements, simultaneously at various layers. This has various names like scope creep, technical debt, and so forth. This is bad because risks and costs increase directly to the correlation of increased code and increased requirements. This is what makes the law of leaky abstractions valid.

It is easy to tell the difference between a necessary abstraction and a wasteful abstraction by the forcefulness of separation. If you can perform the same job in a lower level the abstraction isn't necessary and you are probably better off without it. Most JavaScript frameworks are unnecessary abstractions.
200 miles / 33kWh is about 6 miles per kWh. A Tesla Model S does about 3 miles per kWh. It doesn't seem unreasonable to me that a much smaller car with a 35kW engine instead of a 580kW engine could be twice as efficient, but maybe my knowledge of engineering is not as good as yours. Care to elaborate why they're lying?
NTRS would be the best place to start I think.

https://ntrs.nasa.gov/

This query should give you articles that NASA themselves have tagged as related to skylab:

https://ntrs.nasa.gov/search.jsp?Ntx=mode%20matchall&Ntk=Sub...
Try mastodon, I think it has a fb import tool
Why people decide to freelance
Actually, I think that might be a bit of an odd perspective.

If the event was meant as a German event, there wouldn't be so many German speakers with English talks. For some German talks, they even provide simultaneous translated English audio tracks in the live stream portal.

So while I appreciate your 'I am just a visitor' attitude, I don't think it is fair to assume that they don't welcome English natives (think about how much courage it takes to give a talk in a foreign language). I think the event culture is more along the lines 'Most visitors understand English, so we like English talks. But since the event is in Germany, German is okay too'.
Another urban legend from C yearly days. There was plenty of research in system languages since the early 60's outside Bell Labs, with OSes being written in Algol, Pascal and PL/I variants.

"Oh, it was quite a while ago. I kind of stopped when C came out. That was a big blow. We were making so much good progress on optimizations and transformations. We were getting rid of just one nice problem after another. When C came out, at one of the SIGPLAN compiler conferences, there was a debate between Steve Johnson from Bell Labs, who was supporting C, and one of our people, Bill Harrison, who was working on a project that I had at that time supporting automatic optimization...The nubbin of the debate was Steve's defense of not having to build optimizers anymore because the programmer would take care of it. That it was really a programmer's issue....
Seibel: Do you think C is a reasonable language if they had restricted its use to operating-system kernels?
Allen: Oh, yeah. That would have been fine. And, in fact, you need to have something like that, something where experts can really fine-tune without big bottlenecks because those are key problems to solve. By 1960, we had a long list of amazing languages: Lisp, APL, Fortran, COBOL, Algol 60. These are higher-level than C. We have seriously regressed, since C developed. C has destroyed our ability to advance the state of the art in automatic optimization, automatic parallelization, automatic mapping of a high-level language to the machine. This is one of the reasons compilers are ... basically not taught much anymore in the colleges and universities."

-- Fran Allen interview, Excerpted from: Peter Seibel. Coders at Work: Reflections on the Craft of Programming
how did she get the exact keywords searched. When i look at the referral header it only shows https://google.com and same goes for my google analytics et al. Is she using some advanced tracking?
Even if that was true it doesn't necessarily map. Preventative medicine is known to reduce costs considerably for one. Paradoxically healthcare can be expensive because people aren't getting enough care.
No it doesn't. But it ought to have a line about its name.

And yes, I am assuming it is Japanese.
I wonder whether it would be possible to add aftermarket AVX-512 instruction handling? Not for performance necessarily, but for compatibility.
It's interesting to point out that you can compute with exact real numbers. But this is of course going to be less efficient than using something crude and fast like floating point numbers. There's also an argument that imprecision from your physical sensors is probably going to be more significant than the rounding errors that come with floating point.

Apart from greater speed, floating point numbers don't really have any advantages over exact real numbers. Problems like the inability to compute discontinuous functions over the real numbers manifest as even worse problems over the floating point numbers.

I'm also a believer that anything beautiful is probably going to end up useful. I think exact real computation (as described in Type Two Computability Theory) is one such thing. Automatic differentiation was another thing I found beautiful, before I found out about its applications to neural networks.
401K contributions are also pre-tax.
Pretty fun idea! My best was 6/150, maybe a good idea I don't hold any crypto atm. :)
I feel that the term "lambda function" is being misused lately ...
If that works for you then great, but I don't see the value in adding the comment only to remove it one way or another a moment later. What I do is 1. write some code 2. is code clear enough? If yes, stop. 3. clarify the code 4. goto 2.
Commit logs are also cheap to write, and it's easier for people to realize that whatever you read in "$vcs log" or "$vcs blame" might be severely outdated.
In the UK, supermarket tomatoes imported from The Netherlands are also common. The tomatoes are mostly tasteless, regardless of the variety. Even the premium-priced organic ones have little flavour.

That's what modern, mass-produced agriculture gives us: tasteless, low-cost produce all-year round because price mostly trumps other factors for many, if not most, consumers. But it seems that even expensive mass-produced varieties are just as tasteless as their cheaper counterparts.
Get early access2 months for free on new trading terminal
Hey guys!
Superorder is getting closer to the new Trading Terminal big release date. Our team is starting the pre-launch campaign on the Product Hunt, subscribe to keep updated.
Subscribe now to get early access2 months for free.

https://www.producthunt.com/upcoming/superorder-2
Fan-out is an anti-pattern because it introduces the complexity of concurrency to an asynchronous process where timing isn’t critical. And If you think a “stream” and a “queue” are somehow different I don’t know what to say.

95% of applications only need a queue for “do this thing asynchronously so the user doesn’t have to wait.” This is where a DB table queue is the best solution. Introducing RabbitMQ or any other service in such a common case is a terrible idea.

Every real-world message passing implementation I’ve encountered ends up with the complexity of a bespoke state database for each consumer to handle re-ordering and crashes, as well as poorly written code and more state in a database to handle message replay. Not all messages can be idempotent, and consumers never end up stateless in the real world.

All of these solutions lost events in production under various conditions.

My point is: think about if you really need the complexity of managing another service in production, when all you really need is “do this thing as soon as you can”.
I understand floating point representation, but beyond that, it is a bit murky. I find floating point arithmetic to be very hard to really implement. For example, a basic question I have involves scaling: suppose I want to perform an operation involving large numbers like 13000.01 + 13000.01 + 13000.01. Do I get better precision results if I do 0.01 + 0.01 + 0.01 in floating point, then do the 3*13000 in integer arithmetic, and add the results?
Work stoppage followed by collective bargaining. They were literally the only three persons who could do the work. Ground control had to negotiate.

OTOH, it could have been the commander's sole decision, which means it wasn't a strike. He may have decided that as the commander he needed a fit crew and this was the only way to attain that.
This could be the seed of a great movie. Hobbyist investigates "dark web" sites and find a hitman site that seems like a scam, only to find it's really much worse.
I disagree (although I think I understand that people might find it strange).

TDD is in a way a gamification of programming. You go back and forth between being rewarded with a green test suite, to challenging your implementation with another test, to "pinhole-surgery" for improving the implementation. Finally you get the relieve of being able to refactor your implementation without breaking the functionality.

So starting with stupid implementations delivers that first reward from the start and helps you find the rhythm of red-green-refactor.

Now of course TDD is also about making a correct implementation eventually, and usually you will get there after a handful of test cases.
The hubris in some of these comments is staggering. No, you wouldn't have more cleanly (and successfully) written this in $BETTER_LANGUAGE, even with your super power of perfect hindsight.
The Philippines (1898), Hawaii (also 1898), Cuba (1898, not annexed but Platt Amendment allowed US free reign to intervene in Cuban affairs. The Panama Canal Zone was an unincorporated territory of the US from 1903 to 1977 and it’s separation from Colombia was accomplished with US warships.

Also, the fact that the US settled the territory it conquered and integrated it into the metrople does not change the fact that it conquered it any more than the fact that Russia did that in Central Asia or Siberia does, or France in Algeria.
I have read an extreme counter-opinion in some J or APL article. It said that it is a bad pactice to name small and common functions:

The example was maybe the average function - and the reasoning was, if I recall correctly:

1. The defintion is shorter then the name average ;)

2. Every praticioning programmer will recognise the definition as a common idiom

3. From the definition it is immediately clear how corner cases are handled (e.g. zero length array)

I just leave this here as an example to show, that programming communities/cultures exists with completely different/alien? ideas about what clean code is ;)
How Twitter has been used to amplify the Yellow Vests movement
That's what escrows and reviews are for.
Surely the goal is to maximise output not effort?
Welp, you're right, that was hypocritical of me.
Unlikely, IIRC you only had someting in the order of 32 three-instruction slots of memory.
A secret is only a secret when only one person knows.
Securing the hardware supply chain